remove the colored scratches from this image
24 vues (au cours des 30 derniers jours)
jmac le 11 Juin 2020
Try median filtering only on points segmented by color..
In a blunt quick pass, I was able to fade away the blue and the red lines, considerably, using:
% Read the image and make a copy
% Blunt color segmentation (can improve by working on the color space)
% Median filtering on the segmented pixels (can fine tune the right width)
% Result in B
With some fine tuning you might get it to work better. Could also think of a vector implementation to make it quicker.
The black line is harder to segment with color, so would have to use some directional filter (which could mess up the hair).
You can also start by smoothing out the halftone.