Machine Vision

cancel
Showing results for 
Search instead for 
Did you mean: 

How to extract a rectangle from a color image

Solved!
Go to solution

Want to extract a small portion from a large color image.  Can't find a function in IMAQ to do that.  

 

IMAQ Extract Tetragon doesn't work for color image.  Get error (invalid image type) when used on a color image.

 

LabVIEW 2014SP1

IMAQ 17.5

Windows 7 Pro

 

 

 

George Zou
0 Kudos
Message 1 of 2
(1,871 Views)
Solution
Accepted by topic author zou

George:

 

See here regarding a built in LabVIEW IMAQ Example. On the IMAQ create functions change the types to RGB (U32).

And use a file dialog or control on the filepath input for the IMAQ Readfile.

 

EDIT: Forgot Link:

https://forums.ni.com/t5/Example-Program-Drafts/Extract-a-Part-of-an-Image-Using-Vision-Development-...

 

-AK2DM

~~~~~~~~~~~~~~~~~~~~~~~~~~
"It’s the questions that drive us.”
~~~~~~~~~~~~~~~~~~~~~~~~~~
Message 2 of 2
(1,847 Views)