Link to home
Start Free TrialLog in
Avatar of judekuipers
judekuipers

asked on

Make a mask layer from an object, remove pattern from an object and still keep original shading/highlights so you can insert a new pattern.

Say you have a picture of a man in a floral shirt. (I know, tacky, but just imagine for this question.)

I'm looking to remove the pattern (floral), while keeping the original highlights & shadows.

I would like to make this a new linked and/or mask layer so that I can insert a new pattern for the shirt, say plaid (not much better I know), and still have the realistic original shading/highlights.

The layer must be done in a way so that I can insert a regular jpg of the new fabric into the new layer as opposed to applying something from the pattern palate. I don't want to make the jpg a pattern and then do it that way because I will need to re-size and/or rotate the new fabric picture.

I've been trying this myself for a long time and can't figure it out.
Avatar of BongSoo
BongSoo
Flag of United States of America image

The reason you can't figure it out is because the information that is stored in the file that shows the highlights and shadows of the shirt is not separate from the information that shows the pattern. Its all the same information. That said, you MIGHT be able to tease some of that information out by looking at individual channels, or converting to grayscale and then playing with levels or retouching out the pattern, but my guess is its not worth the time and effort. Good luck, and let us know if you figure out a way that works!

BongSoo
Avatar of judekuipers
judekuipers

ASKER

I know it can be done because I have several of them that have been completed. I would like to learn how to do it myself instead of having someone do it for me.
OK, well I have some ideas then. What color space are your images starting out in?
JPEG, RGB.
That might make it a little easier then. I was thinking high resolution CMYK for printing. OK, here is what I would try first, and I am oversimplifying in some places, but you will get the gist and be able to determine if this works for you or not pretty quickly, I think.

a) Isolate the highlight shadows.
   1) Convert the file to grayscale and determine if this keeps the level of detail you want. If not, you can try converting to LAB color and looking at the individual Lightness channel and see if that gives you a better grayscale image. Either way, you will probably need to do some heavy retouching to remove the pattern from the cloth. (I am assuming you have used the cloning tool, if not let me know).

b) test the detail of combined images
  1) You can then test this against the new pattern by converting it back to RGB, and putting the pattern and grayscale (now RGB grayscale) image in a new document and playing with the Multiply (overprint) and Opacity settings to see if this will hold the detail you want.

You will then need to use a combination of masking of both layers and combining that with the above into your final layered file, (always keep a separate copy of your layered file, and your final flattened file), but lets see if this gets you close to what you want.

BongSoo
The pattern is really small and not really clone-able. ??
You could try to blur it - select the area and try Gausian Blur (filter).

BongSoo
Ok, tried that. Interesting. But I need to add the pattern at full opacity and when doing this, the shadows/highlights are gone.
Use Multiply. That should add them at full opacity.

BongSoo
I must be missing something then? I have one layer, masking into it...
I misunderstood. You will have to play with the blurring so that it doesn't do away with your shadow/highlight detail. You may even have to mask out different parts and do them separately using a density mask.
This is much more complicated than anticipated!
ASKER CERTIFIED SOLUTION
Avatar of BongSoo
BongSoo
Flag of United States of America image

Link to home
membership
This solution is only available to members.
To access this solution, you must be a member of Experts Exchange.
Start Free Trial
judekuipers, did this ever get resolved or work out for you?
I was able to figure out how to do the mask and multiply, but the blending made the shadows unreal...