This PR adds selective colorization effect by replacing the commented-out implementation. Please note that the new implementation mixes the colors of matched pixels rather than the reference color compared to the old implementation. Mixing with the reference color produces hard transitions around matched area boundaries whatever fraction value is provided. The new implementation helps smooth transitions around matched areas with low fraction values.
This PR adds selective colorization effect by replacing the commented-out implementation. Please note that the new implementation mixes the colors of matched pixels rather than the reference color compared to the old implementation. Mixing with the reference color produces hard transitions around matched area boundaries whatever
fraction
value is provided. The new implementation helps smooth transitions around matched areas with lowfraction
values.