Machine Vision

cancel
Showing results for 
Search instead for 
Did you mean: 

For an IMAQ image, how is the size of the left and right alignment area calculated?

Solved!
Go to solution

For an IMAQ image, how is the size of the left and right alignment area calculated? My initial assumption from the diagram

 

http://zone.ni.com/reference/en-XX/help/370281M-01/imaqvision/imaq_getimagepixelptr/

 

is that the left and right sides are equal. But that does not seem to be the case. Can anyone tell me the magic formula? Some combination of border width and image width?

 

Thanks...

Andrew

0 Kudos
Message 1 of 3
(3,020 Views)

This all became clear when I relalized that the Pixel Pointer mapss the 0,0 point of the image, not the 0,0 point of the larger container with the alignment areas and borders. It would be nice if the drawing in the documentation hightlighted this.

0 Kudos
Message 2 of 3
(3,015 Views)
Solution
Accepted by topic author Andrew_Scott_SPCi.ca

@Andrew_Scott_SPCi.ca wrote:

This all became clear when I relalized that the Pixel Pointer mapss the 0,0 point of the image, not the 0,0 point of the larger container with the alignment areas and borders. It would be nice if the drawing in the documentation hightlighted this.


This described in help, isn't?

 

h.png

 

Andrey.

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