I’m using your great skin detection filter in GMIC quite extensively because it offers quick and easy way to isolate skin parts from photo for further processing.
In most of the cases it works very well but sometimes I need to use manual estimation and apply it on different parts of the skin (for example to select light and shadow areas or if I need to select skin from group of the people with slightly different skin tones). In that case I need to repeat that process for each part and merge all skin detection layers together.
Is it possible to enhance skin detection filter to have that multiple selection option as f.e. multiple manual estimations or - similar to extract foreground filter - with green and red points as help to differentiate skin tones from background?
Your post made think about implementing a new interactive filter for color masking, and I’m happy to say that a first version is available for testing, maybe you could tell me if that is working well for skin masking ?
OMG! First , I watched your video, then I made coffee and watched your video again 20 times because it was pure joy!
And I asked myself, how did you know what I was dreaming about colour selection tool? Yes, yes yes! That’s it!
Only one suggestion - it would be good to have possibility to select one or more areas of photo first and than apply colour masking on that area(s) to avoid selection of colours from objects with same or similar colours that you don’t need (f.e. if I only want to select colours from the door of your car in video and leave the rest of the car transparent).
But that is not so important. Your new filter works great!
And you have one big hot chocolate from me!
Thanks a lot, David!
Thanks Boris for the kind words and the hot chocolate.
(I’ve sent you a mail on your gmail address).
About the improvement of the selection : I guess I could do some more work to add a criterion about the fact the image pixels are far or near pixels that have been clicked, and use this information to create spatial/color masking at the same time. I’ll think about it tonight
If the filter is too slow on your machine, just try to reduce the window size, it helps having a faster estimation of the color mask. I’ll try to optimize that filter, but I can’t promise anything at this point.
Adding spatial constraints has took me a lot of my (low) brain power last night, but I think I’ve finally found an acceptable solution. I’ve thus updated the filter to make it sensible also to the region clicked by the user.
I’ve recorded a new video (see below), where the role of the spatial constraint is clearly visible (at least at the beginning of the process).
Let me know if that works for you !
Now, I have to think of a way to optimize the whole stuff, as it seems it’s a bit slow on computer with less than 8 cores
I have some ideas to make it even more robust and useful in the future (multi-color selection for instance).
I’ll probably work on it in the next days, I’ll give you news if there are new features appearing.