Machine Vision

cancel
Showing results for 
Search instead for 
Did you mean: 

detecting lines in RGB 32 Image

Hi I am trying to detect lines in an RGB 32 schematic line drawing. I try detect lines,vi, but it does not find the endpoints of the lines when they are near "busy or conngested" areas of the schematic.  When I go to Vision Asst, it gives me an error saying that the detect lines.vi (P/O detect shapes) is only for use in a binary image.  Should I convert the image to a binary one, I may lose image quality...and I do not know how to convert the RGB 32 to a binary one...What should I do

0 Kudos
Message 1 of 2
(3,209 Views)

@id wrote:

When I go to Vision Asst, it gives me an error saying that the detect lines.vi (P/O detect shapes) is only for use in a binary image. 


Normally the occurs because detect shapes function only works in the binary image.


@id wrote:

I may lose image quality


No, you dont lose much of image information. It's basically how best you choose your segmentation (binary conversion) method.


@id wrote:

.and I do not know how to convert the RGB 32 to a binary one...What should I do


see the attached example for simple image conversion in vision asst.

 

 

---
Silver_Shaper | CLD
0 Kudos
Message 2 of 2
(3,193 Views)