Jump to content

Recommended Posts

Hi everyone! I´m very new to Image editing, and I have been working with affinity photo for about 2 weeks, trying new things and tutorials around the web. Yesterday I decided to take a challenge, mask some girl´s hair, bute I can´t! Can someone help me do this? I don´t know what settings to use when refining edges around the hair and how to get some good selection. I put here the image to you so you can try it and if you are able to select and mask that hair pls let me know how you did it!!

 

Thanks everybody!!!

 

 

 

beautiful-girl-hair-face-cool-hd-wallpaper-favorites-pinterest-beautiful-girl-hair-face-cool-hd-wallpaper-favorites-pinterest-beautiful-girl-hair-and-hair.jpg

Share this post


Link to post
Share on other sites

Maybe that this video will help. In the end, it's a matter of practicing so that you can do it yourself.


Affinity Photo/Affinity Designer/Affinity Publisher | macOS 10.14 Catalina on MBP13 2013 | macOS 10.15 Mojave on MBP13 2017

Share this post


Link to post
Share on other sites

I have an idea seeing how the girl's hair is the darkest color on the image. In the Layers tab, click on the Blend Ranges icon (the gear). Then in the new window and under Source Layer Ranges, bring that second node all the way down and then to the left about 50% or just enough to isolate other elements that are not her hair. Close the window and then go to Select > Selection From Layer. You will now get a selection that is most of her hair. From there on, I would use the Selection Brush Tool. I know that the selection will not be perfect, but this should give you a good way to start off.


The website is still a work in progress. The "Comics" and "Shop" sections are not yet ready. Feel free to connect with me and let me know what you like or what can be improved. You can contact me here, on my contact page, YouTube channel, or Twitter account. Thanks and have a great day!

Share this post


Link to post
Share on other sites

Hi simgonzalo

 

Make use of the 'Selection Brush Tool'[Selection_Brush_Tool_Icon.png.59ae6b2aebc0c393015c3710267825ef.png] to roughly highlight the Hair and leave the strands of hairs outside,as they will be selected using 'Refine'[Refine_Button.png.6018f3c0faab874a298762eab7fdd98b.png] option on the toolbar. Now click the 'Refine' Button and use the brush selection to highlight strands of hairs outside to apply the edge refinement algorithm and switch to 'Black and White' overlay option in the 'preview' dropdown to see how much strands of hair are selected and repeat it to get the result you want. Here is a screenshot of the selection i was able to make using this. White Color Shows the selection you have made and black here indicates unselected areas.

 

Image_Selection.thumb.png.8d824580854579e5bd8e17345db7eb4a.png

 

I have also attached the editable affinity photo file[File Name = Perfect Hair Selection - Tip.afphoto ] with the selection saved as an Editable mask. Go ahead and open and experiment with this. I Hope this is helpful for you.

 

This is how the final selection mask looks like:

Image_with_editable_mask.png.34dbedbe1aba97b97d7ab04cf5cb80bb.png

Share this post


Link to post
Share on other sites

Thanks everybody for your help!!

So, what I did was using the contrast between the hair and the background in the blue channel to make a better selection. Then I saved it on a separate channel and redefined on the real image, with some tweaks using ramp and feather. I think i got some decent results!! Then i changed the background to see good it was made.

Here you have my work

difficult hair.png

difficult hair.afphoto

Share this post


Link to post
Share on other sites

Selection brush tool and refine to run over hair strands. One pass. I am impressed with how well the iPad version handles these sorts of tasks with ease.

 

Untitled.tif

D0396080-DB87-4A1B-9484-72EA91717EB5.png


IPad Pro 10.5/512GB lpadOS 13.1.1  Affinity Photo 1.7.3.155 Affinity Design 1.7.3.1 Publisher for iPad ?

Share this post


Link to post
Share on other sites
48 minutes ago, Benergizer said:

Thats interesting. Could you go into more detail about using the blue channel to refine your selection?

I didn´t refine the selection , I just use the  blend tool... It is very easy without make a selection

Share this post


Link to post
Share on other sites

These examples are nice, but the BACKGROUNDS are usually very simple... what happens when the background is complicate ? What are the trics tomanage to select only the HAIR, and no parts of the bkgr ??

 

Share this post


Link to post
Share on other sites

Most, if not all examples of background removal to retain hair are done with simple and plain backgrounds. No one (or videos) that I have seen have been prepared to explore more intricate operations where the background is multi-coloured because it's a nightmare. Plain backgrounds are easy so people will always post their work demonstrating it. It's not impossible to remove busy backgrounds, but man, it's certainly hard. 


Some scientists claim that hydrogen, because it is so plentiful, is the basic building block of the universe. I dispute that. I say there is more stupidity than hydrogen, and that is the basic building block of the universe.

These are not my own words but I sure like this quote.

Share this post


Link to post
Share on other sites

Create an account or sign in to comment

You need to be a member in order to leave a comment

Create an account

Sign up for a new account in our community. It's easy!

Register a new account

Sign in

Already have an account? Sign in here.

Sign In Now

×

Important Information

These are the Terms of Use you will be asked to agree to if you join the forum. | Privacy Policy | Guidelines | We have placed cookies on your device to help make this website better. You can adjust your cookie settings, otherwise we'll assume you're okay to continue.