This can be generalized to: How do I remove regions that look similar to another region from an image?
The big Image is in grayscale. I have a lot of sand in it and I need to detect features.
The Sand particles are multiple pixels big. I know where the sand in the pictures is.
It looks something like this:
I have this kind of sand (not yet in grayscale):
What I want to achieve is that all the sand becomes a single value from 0.0 to 1.0 or one with very little variation;
That way I will be able to detect the features with ease.
So basically: Take everything that looks similar to some region in the image and remove that noisy aspect from the image.
I thought maybe one could do something like:
noise + noise = noise; it looks just as noise as before.
noise + features = noise; looks more noisy than before
(that might actually be the solution, though i still wanna ask you people)
What kind of algorithms are suitable and what do you suggest?