08-01-2008 02:46 AM
08-01-2008 03:29 AM
08-03-2008 11:59 PM
Hi...
I have to check the parellelity of lines ...i tried edge detection also....some time due to cotrast difference it is not able to locate lower line..
Warm Regards
Orooj ahmed
08-04-2008 02:17 AM
Well there is no rule that u need to use a single edge dection line.Use multiple lines and vary the contrast accordingly(If u r not able to acheive uniform illumination).
What is the illumination u r using?
08-04-2008 06:21 AM
Hi..
I am using high frequency CFL....
Warm Regards
Orooj Ahmed
08-04-2008 06:23 AM
Hi..
I am using high frequency CFL....
Warm Regards
Orooj Ahmed
08-04-2008 08:51 AM
Try filtering with a differencing filter. It would be a vertical array that looks like -1 -1 -1 -1 0 1 1 1 1. You could adjust the number of elements. This should give you a fairly bright line where the edge of each line is. You may have to reverse the signs to get the highlighting.
After that, peak detection would work well to find the center of each bright line.
Bruce
08-08-2008 12:32 PM
One efficent way to simultaneously test for the presence and orientation of lines in an image is called the hough line transform. You'll likely want to run an edge detector over the image first, then use the hough transform. You can find good information on it through google. here is a decent one: http://en.wikipedia.org/wiki/Hough_transform. It might seem confusing at first, but it is actually very simple and it is easy to implement, and it works like a charm. Just reply if you need additional help.
08-08-2008 12:37 PM
08-09-2008 05:30 AM