LabVIEW

cancel
Showing results for 
Search instead for 
Did you mean: 

contour tracing

Hello, I am new user of LabVIEW 8.5.

I have task to produce screen silk for t-shirt printing. So, i have to separate solid colors of an image and then trace the contours which are in the same color.

Could anyone please help me for this? Thank you very much for your help..

Attached is example of image, and contours which are in the same color after color separation process.

 

0 Kudos
Message 1 of 2
(2,429 Views)

The NI Vision Development module has an "Extract Contour" VI.

 

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

Without the Vision Development module, you may be better off trying to implement an edge-detection algorithm than perform contour extraction.  A 2-D high-pass filter (I've always been pleased with the results yielded by the Sobel kernels) convolved with the luminance portion of the jpeg, and then subsequently inverted, would accomplish something along the lines of what you're trying to accomplish.

On the other hand, Vision and Motion also has an edge detection function.

 

I don't know how much background you have in image processing, but your task will be much simpler if you have the NI Vision Development Module.
http://zone.ni.com/reference/en-XX/help/370281M-01/imaqvision/image_processing_pal/

 

A much older forum post demonstrates fairly simple ways to extract an image into separate RGB components:

http://forums.ni.com/t5/LabVIEW/image-to-RGB-color-separation/td-p/596038

Matthew H.
Applications Engineer
National Instruments
0 Kudos
Message 2 of 2
(2,407 Views)