08-12-2009 12:22 AM
There are 3 planes involved in a color image. Each plane having values 0-255. By extracting any single plane you can convert the image to a grey scale one.
Try extracting the luminance plane (in color plane extraction).
Use vision assistant initially to get an idea.....
08-12-2009 12:24 AM
If the crack in really nicely different from the object then applying a proper threshold and removing small particles and going with a particle analysis will be enough.
But we need details.If you can post some images then I can suggest you a method
08-12-2009 04:34 AM
08-12-2009 05:22 AM
What muks suggested is a very practical approach. I personally implemented it with object filtering to detect cracks in an online ceramic plates inspection.
08-12-2009 04:47 PM - edited 08-12-2009 04:48 PM
to convert a color image to gray scale you can average all three planes or you use different weights for the color planes. Typical weights are
30% red + 59% green + 11% blue
08-21-2009 11:56 AM