I am working on borland delphi-7(pascal). Now I am working for detection of line scratches(ie verticle and horizontal lines defects) from the image. From one of paper I got information that Luminance value will be very high or very low for the scratch as compared to their neighborhood. Now how can I detect line scratches from the image.
Thanking you in advance.