have a micrograph with different features with different sizes. I used the following code, to detect and remove regions with certain properties like area.
Now, I want to change the color of regions with specific values of area. But I couldn't find a way to do that.
I need to change the bw image to RGB but for example with regions having area less than 1000 to be displayed in red.