What's new
Photoshop Gurus Forum

Welcome to Photoshop Gurus forum. Register a free account today to become a member! It's completely free. Once signed in, you'll enjoy an ad-free experience and be able to participate on this site by adding your own topics and posts, as well as connect with other members through your own private inbox!

Cutting out part of an image using anoter image of the same size with a mask


agnes_rib

New Member
Messages
1
Likes
0
Hi,

Could anyone help me cut out part of an image by using second image of the same size as the mask?

sss.jpgsss.jpg
I think it'll be best if I illustrate this - the first picture is a hat that I want to cut out and the second is the cut-out selection(green colour) that I want to use - do you know how to put one over the other and cut out the blue background but from the first picture, so that the only thing left is the hat without the white background?
Do you know if I could somehow do it in bulk for other pictures - I'm using an openCV algorithm in Python sript to produce these masks and this algorithm is sometimes much better and faster than photoshop selection tools ;-)
I'll appreciate any help.
 
I think it'll be best if I illustrate this - the first picture is a hat that I want to cut out and the second is the cut-out selection(green colour) that I want to use - do you know how to put one over the other and cut out the blue background but from the first picture, so that the only thing left is the hat without the white background?

Open both images into the same Ps document.
Place the "cut-out selection layer" below the "Hat layer"

Highlight or select the "cut-out selection layer"
Make a selection of the green area using the Quick Selection Tool.
Turn off the "cut-out selection layer" by clicking on the eye icon.

Highlight or select the "hat layer"
Click on the Add layer mask icon located at the bottom of the layers panel.
Done.
Screen Shot 2018-04-15 at 5.46.47 AM.png
Screen Shot 2018-04-15 at 6.01.58 AM.png

Do you know if I could somehow do it in bulk for other pictures - I'm using an openCV algorithm in Python sript to produce these masks and this algorithm is sometimes much better and faster than photoshop selection tools ;-)
Sorry, no help here!
 

Back
Top