-
Notifications
You must be signed in to change notification settings - Fork 47
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Grey / Blank Images Returned from Camera #1696
Comments
Sorry, I had upped the min exposure to that 0.005 value and it was the same. The camera is now (randomly - no explanation) taking photos properly again - so I'm running the darks. Some other observations:-
|
The grey image issue is something that can be caused by the data scaling when the image data is converted to 8-bit data. The challenge is when indi-allsky ingests RAW data, it is not known what scale the data is presented. Lets say you have a 12-bit camera. Some cameras will output the 12-bit data in a 12-bit space (in a 16-bit value) where the max value is 4095. Other cameras/drivers will upscale the 12-bit data to the full 16-bit space where the max value is 65535. indi-allsky tries to auto-detect the space by sampling the maximum value in the image. At very low exposures, with these low noise cameras, there is a very low ceiling. This can trick indi-allsky to think 12-bit data is actually 10-bits, so when the data is bit-shifted to 8-bits for the image export, this will result in a grey image. indi-allsky thinks the exposure is at the expected level because the average brightness is at the correct point. The fix for this is to explicitly set the bit depth of the image on the Image tab in the config. You will have to review the log to see what the proper setting is for your camera. |
Brilliant, thank you @aaronwmorris I'll take a look and get this fixed. Any ideas re: temp sensor seeming to disappear? |
For the temperature, I would suggest trying to update your libcamera system packages. An update might have some fixes.
|
Had this issue intermittently before and a restart seemed to fix it - @aaronwmorris at the time I believe we both put this down to minimum exposure being too low?
But, now I have minimum exposures set (0.0005) and getting the same result.
You can see below the ** ADU average: 224.8 ** is completely wrong - simply wouldn't happen with an exposure like this.
For context, I took down my camera this morning to give it a clean, update and fresh darks.
It updated successfully, then I flushed my darks and ran the tempsigmaclip method - but it failed.
I then restarted indi-allsky to take a look and all images are coming back like this.
I've power cycled and sudo reboot-ed the device repeatedly with the same result.
Raw export (compressed to JPG so I can upload here):
![raw_ccd1_20241204_111442](https://private-user-images.githubusercontent.com/94135145/392352343-69d6983e-9f40-46a7-a1f1-8d4e0a749d8f.jpg?jwt=eyJhbGciOiJIUzI1NiIsInR5cCI6IkpXVCJ9.eyJpc3MiOiJnaXRodWIuY29tIiwiYXVkIjoicmF3LmdpdGh1YnVzZXJjb250ZW50LmNvbSIsImtleSI6ImtleTUiLCJleHAiOjE3Mzg5MjY5NjQsIm5iZiI6MTczODkyNjY2NCwicGF0aCI6Ii85NDEzNTE0NS8zOTIzNTIzNDMtNjlkNjk4M2UtOWY0MC00NmE3LWExZjEtOGQ0ZTBhNzQ5ZDhmLmpwZz9YLUFtei1BbGdvcml0aG09QVdTNC1ITUFDLVNIQTI1NiZYLUFtei1DcmVkZW50aWFsPUFLSUFWQ09EWUxTQTUzUFFLNFpBJTJGMjAyNTAyMDclMkZ1cy1lYXN0LTElMkZzMyUyRmF3czRfcmVxdWVzdCZYLUFtei1EYXRlPTIwMjUwMjA3VDExMTEwNFomWC1BbXotRXhwaXJlcz0zMDAmWC1BbXotU2lnbmF0dXJlPTU4ZTBlN2M1OTVhN2EzYzA0ZDc5YzIyNzMzYzdiNTRkMzM2ZDkzOTFiMjZiZDI4ZTU3ZmFiYjUxZDIxYTk2NDgmWC1BbXotU2lnbmVkSGVhZGVycz1ob3N0In0.H_xKYdYMjypybrGLppTlY5WiRjFea-DTZs8bXWsT9J4)
Log:
The text was updated successfully, but these errors were encountered: