Image Cropping #94
scriptorron
started this conversation in
General
Replies: 0 comments
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Uh oh!
There was an error while loading. Please reload this page.
Uh oh!
There was an error while loading. Please reload this page.
-
Versions >2.9.0 will support image cropping. With this feature you can
At the day of writing these lines the cropping implementation has some limitations:
indi_simulator_ccd
and I spend hours to find out how things are implemented there. It seems, thatindi_simulator_ccd
relates image size and origin to the un-binned sensor and applies the binning after cropping. For instance when you set size W=600 H=400 and binning=2 theindi_simulator_ccd
will deliver an image of size 300x200. Doesn't that complicates the calculation on client side? Anyway, it is the established behavior and I have to follow it. The problem inindi_pylibcamera
is, that the camera hardware does the binning and the driver needs to do the cropping afterwards. Off course, the driver knows the binning setting, but some cameras (like IMX477) do automatically an additional cropping on binned images. The cropping done byindi_pylibcamera
must consider this additional cropping done by the camera. Unfortunately this is difficult to find out from the information provided by the camera. The current implementation inindi_pylibcamera
applies the cropping on the image comming from the camera and ignores if the camera does binning or not.I hope the cropping feature is useful for you.
Beta Was this translation helpful? Give feedback.
All reactions