Skip to main content
StrongBeaver
Legend
February 11, 2021
Answered

Remove all Shadows and Highlights ?

  • February 11, 2021
  • 6 replies
  • 7306 views

How can I remove even the smallest of highlights and shadows in an image ? I have an image which I suspect has some highlights and I want to remove all of the highlights in the image, including shadows.

Correct answer davescm

If you removed all shadows and highlights then you would end up with a 50% greycard, so it may be better to explain what you are after by using an example image.

 

That said for use in 3D applications there are tools to de- light an image so that all lighting effects are removed and the basic surface colour information can be extracted to use in the Base Color of a 3D material. I am not aware of tools to do that in Photoshop but Adobe Substance Designer and Adobe Substance Alchemist can both do it.

 

Dave

6 replies

davescm
Community Expert
Community Expert
February 16, 2021

"You want to keep the info of the image but if there are highlights or shadows from when the image was taken, you want those removed."

I'm sorry but that still does not make sense to me. If you remove the highlights and shadows then you are removing the detail. You showed us a "before" image but I don't understand your explanation of what you want the "after" image to look like. Just repeating the same thing is not helping our understanding so that we can help you. Just removing the range of luminosity to leave the colour does this, which I am sure is not what you want :

 

 

I mentioned 3D software early - such as Substance Designer and Alchemist, which you told me was the wrong answer, but in way of an explanation this is what Adobe Alchemist does to your image with it's conversion to a Base Color map : 

 

 

It also uses the information in the original to build roughness, normal and height maps :

 

so that the material can be reconstructed in 3D

 

 

It would be helpful if you can show us with a simpler example a before and after of what you want to achieve so that we can apply that example to the image you posted earlier

 

Dave

 

StrongBeaver
Legend
February 17, 2021

I found my solution using content aware and the clone stamp to acheive what I want.

Dave Creamer of IDEAS
Community Expert
Community Expert
February 26, 2021

Can you post your edited image so we can see what you really wanted to do? If it can be shown and explained, it would help when other users search the archives.

David Creamer: Community Expert (ACI and ACE 1995-2023)
Norman Sanders
Legend
February 16, 2021

Perhaps the confusion is caused by the terminology involved.  From the start, you used the verb  “remove” which I, for one, assumed meant “modify” -- make a part of the tone range lighter or darker by some specific amount.  (See my previous post.)

 

If by “remove” we should assume “take out” that can be done. The highlight area and the shadow area could each be identified, selected and removed by using Threshold as an adjustment layer for identification and isolation, followed by some other familiar tools to accomplish the extraction.

 

Once removed, the question then becomes: what would you like to replace the vacant areas with? If you can specify that, we would have a more clearly defined objective and perhaps an acceptable solution.

StrongBeaver
Legend
February 16, 2021

I assume clone those areas that are removed.  Although what about using a Luminosity mask to do the task ?

floramc
Community Expert
Community Expert
March 2, 2021

I would like to suggest this video on luminosity masks, I know the resource comes from YouTube, but just to add some more

 

https://youtu.be/tiNCB3s6gt0

 

good take on color grading here

 

https://youtu.be/zTuCTYbvxac

 

but I see nowhere that you erase shadows and highlights. Right now I wonder if it is not High Dynamic Range you are asking for.

 

Semaphoric
Community Expert
Community Expert
February 12, 2021

Here's a possibility: slightly blur the image, and run the Custom filter. Specify a convolution kernel that would emphasize lighter pixels surrounded by darker ones.

 

I've played around with this filter to do something else; I found it tends to leave artifacts. In your situation, it might not matter. You can often see the type of artifacts in generated normal maps.

StrongBeaver
Legend
February 15, 2021

Acctually, mostly everyone was wrong, including davescm.  

What I wanted is not to use another program, instead; within Photoshop take a image and completely remove any and all highlights and shadows from an image, that means make the image completely flat looking.  

I was informed this can be done with done with a luminsity mask and equalization to get the foundation ? Basically color grading textures if that is the correct term ?

davescm
Community Expert
Community Expert
February 15, 2021

As requested previously, please show an example image showing what you are starting with and what you are trying to do.

Dave

Norman Sanders
Legend
February 12, 2021

When I read the inquiry I thought the OP was inquiring about creating a Ghost (also called Phantom) image that is often used as a background design element…usually as a duotone as shown above or with a flat color over a ghost. In it the highlights are toned down a bit and the shadow end of the scale is lightened considerably. In the film days, we were provided with a normal-range photograph and the designer’s instruction to the lithographer was “Ghost to 70%” or “Ghost to 50%" to specify the maximum shadow value of the final image.  Today it is a simple Curve adjustment.

 

 

 

davescm
Community Expert
davescmCommunity ExpertCorrect answer
Community Expert
February 11, 2021

If you removed all shadows and highlights then you would end up with a 50% greycard, so it may be better to explain what you are after by using an example image.

 

That said for use in 3D applications there are tools to de- light an image so that all lighting effects are removed and the basic surface colour information can be extracted to use in the Base Color of a 3D material. I am not aware of tools to do that in Photoshop but Adobe Substance Designer and Adobe Substance Alchemist can both do it.

 

Dave

StrongBeaver
Legend
February 11, 2021

You can't do this in Photoshop, oh well.

Nancy OShea
Community Expert
Community Expert
February 11, 2021

If you do that, you'll ruin the image.  All images contain highlights, shadows and midtones.   Otherwise, there would be nothing to visualize.

 

Can you show us the image?

 

Maybe we can offer some ideas on what settings to use in an adjustment layer.

 

Nancy O'Shea— Product User & Community Expert