1 | initial version |
Seems like the scratches are a lot lighter than the wood. Maybe you could use a simple gray level threshold() or adaptiveThreshold() to detect candidate regions. Then you could try HoughLinesP() to detect lines in the resulting binary image.