Machine Vision

cancel
Showing results for 
Search instead for 
Did you mean: 

IMAQ Extract - missing pixels in ROI

I am running some code that uses IMAQ Extract to extract an ROI from an image.
I seem to get one less pixel than I expect in each direction.
Is this to be expected, i.e. does it calculate the number of pixels based on the
difference of each ROI extent rather than the differerence + 1?
If so, is it the first or last pixels that I lose?
Many thanks.
0 Kudos
Message 1 of 3
(3,351 Views)
Hi
 
Yes it's like that. You lose the last pixel in each direction.
 
Vladimir

View my profile on LinkedIn
0 Kudos
Message 2 of 3
(3,331 Views)

Dear Vladimir,

Thank you very much for your help - that's very useful to know. I couldn't seem to find it documented anywhere!

Best wishes,

John

0 Kudos
Message 3 of 3
(3,327 Views)