-
Notifications
You must be signed in to change notification settings - Fork 22
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
Improve Science Camera Image Quality #81
Comments
Programmatically, the camera supports the following formats:
More information on formats can be found here The only size supported by RAW10 is the full size images. |
Further Trey thoughts: My initial thought is it would be good to:
Here’s some context logic:
|
I decide to try RAW10 since it seemed like an easy change. However, when I ran it, an exception occurred when creating the capture builder. I didn't look into the error but my theory is Android needs a surface to display the image on and it is probably unable to display the raw image. |
seems like this is not an easy change. closing this issue for now and possibly re-opening this later in the future |
Copying over Trey's initial email/thoughts:
I was thinking again about how SciCam image quality is one of the key issues for our close-up inspections ... Something that might be easier is avoiding JPEG compression artifacts. We could almost certainly save the color image as lossless PNG (modulo PNG compression would take longer and result in higher data volume saved on the HLP, would need to assess if we could handle that). I’ve spent a lot of time staring at zoomed-in-too-far SciCam images and can confirm there are a lot of JPEG artifacts.
A more intriguing possibility is saving RAW format images. It looks like the Android Camera2 API supports saving RAW images in DNG format, if the camera supports it. I tried to find more information about the SciCam’s Sony IMX 230 sensor… one spec sheet I found suggested it might be natively producing images with 10 bits per pixel. If so, having access to that extra bit depth could be especially helpful if we are trying to both zoom way in and contrast stretch images with poor illumination. Note that it might not be possible to save RAW at other than full resolution, in which case we would definitely need to double-check we could handle the data volume.
The text was updated successfully, but these errors were encountered: