LabVIEW

cancel
Showing results for 
Search instead for 
Did you mean: 

polygon/trapesium roi within a rgb image

Hi i am trying to extract an area out of a rgb image, the area is square when the angle to the plane is zero, but will turn more trapesium like, with inclination.
Whati would like to know from the corner points being known 4points (x,y) is if it is possible to extract the information from just that area without fist cropping and then masking the bits cut off?
basically is there an easy way to make a virtual mask that you can temporerally make to extract a roi's pixel information??

Many thanks.
John P.

LV V8.2

sample picture attatched
area of intrest: (390,345), (593,340), (617,474), (370,479) orientation: top left clockwise to bottom left.

cannot attatch picture, bmp format not accepted, jpg put in place of it,
0 Kudos
Message 1 of 3
(2,953 Views)
essentially can you make a trapesidol area of intrest in labview,
is it possible to use a square within it then build the rest of the geometry from triangles and from the area??

please help.
0 Kudos
Message 2 of 3
(2,945 Views)
I think there is a polygon selection in the IMAQ ROI Cluster, you should be able to use the coordinates to construct the ROI cluster and then use the roi to mask function to create a mask to apply to your image.
Paul Falkenstein
Coleman Technologies Inc.
CLA, CPI, AIA-Vision
Labview 4.0- 2013, RT, Vision, FPGA
0 Kudos
Message 3 of 3
(2,943 Views)