08-11-2009 01:30 PM
Solved! Go to Solution.
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
Saillesh,
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
See also http://forums.ni.com/ni/board/message?board.id=170&message.id=422864#M422864
08-17-2009 08:26 AM
08-17-2009 08:28 AM
08-17-2009 08:31 AM
08-21-2009 11:56 AM
im posting my pictures here (with and without cracks),could u help me with the algorithms.i have taken fft for this, is there any option to get the strength of fft to compare the images?