I actually like your method much more than using the Edge Finder.
Just in case you find yourself using the Edge Finder, I would try to adjust the threshold for the Derivative according to the Standard Deviation in the Region of Interest if the lines are the brightest spots in the image. This tends to reduce the issues caused by contrast differences, in most cases I should add. also you can adjust the kernel size and width in order to eliminate false possitives caused by small defects and shadows.
Hope it all works out,
Good luck,
Dan,