11-13-2012 08:26 PM
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
11-14-2012 10:24 PM
@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.