I have an image of a cross-section of soil where the main object of interest are the plant roots.
I would like to segment or extract the roots from the background noise of the soil itself and other obstructions such as spider webs. The goal is to form a clean image of the root network or end up with a result similar to what is shown in StackOverflow - Detect the vein pattern in leaves. In some cases, cracks in the soil itself are detected as interesting lines (structural artifacts) which is an unwanted result.
It seems I may have to apply a series of filters, does anyone have a suggestion what I could do to clean such image(s) or a pre-processing approach that would provide better results.