aravis
aravis copied to clipboard
Support increment size in ROI test script
Is your feature request related to a problem? Please describe.
arv-roi-test will report that the image size is incorrect when image size is actually not supported.
Describe the solution you'd like Use valid image sizes to test the ROI functionality.
Describe alternatives you've considered
Detect that the camera does not support a given height or width and test if the image size is kept the same. I don't know if this is the behavior of all cameras, though. (It is for Basler acA1300-75gm, version 106755-13, and probably other Basler Ace cameras). However, it would test the device itself not the interface we are manipulating and what we are interested in.
Additional context For instance, if I use Basler acA1300-75gm, several tested ROI dimensions will fail, since the width dimension has increment size of 16.