scriptorron / indi_pylibcamera

INDI libcamera driver made in Python
MIT License
13 stars 4 forks source link

right allign raw data in 16bit #9

Closed scriptorron closed 1 year ago

scriptorron commented 1 year ago

The raw image data has 10bit (V1 camera) or 12bit (HQ camera) for each pixel. This data is left-aligned in the uint16_t FITS data array. By theory this should not make a difference to the image quality. But it seems common practice to right align data in FITS. At least the images created by the INDI CCD simulator is doing it this way. Just to avoid doing things different the driver should also right align the data.