Hello,
I'm trying to improve ROI checkings in my application.
First of all, it seems that the specification changed in the latest SDK.
In ASI_SDK_v0.3.0727, the header comments said
int iWidth, the width of the ROI area. Make sure iWidth%4 = 0.
int iHeight, the height of the ROI area. Make sure iHeight%2 = 0,
further, for USB2.0 camera ASI120, please make sure that iWidth*iHeight%1024=0.
Now, the same header says:
int iWidth, the width of the ROI area. Make sure iWidth%8 = 0.
int iHeight, the height of the ROI area. Make sure iHeight%2 = 0,
I'm guessing the most reliable is the newest. but I'd like a confirmation.
My guess is that this is related to Bayer pattern, so my first question is: are these limits also valid for mono cameras?
And if this is really related to bayer pattern, shouldn't we also check for the startX and startY position of the ASISetStartPos function, so that it matches always the same pixel type in bayer pattern?
There is also this check that concerns me:
further, for USB2.0 camera ASI120, please make sure that iWidth*iHeight%1024=0.
Is this check requiring also the previous checks (so, iWidth%8 = 0, iHeight%2 = 0, and iWidth*iHeight%1024=0)?
Thanks
Marco