Here is a scan image that I am processing original image. The idea is to only extract the wood grain as dark lines while everything else would become the white background in the