When in Photoshop:
- Add a duplication layer
- Choose the dodge tool and set it to >=50% for the highlights
- Apply it all across the area that needs increased local contrast
- Double click on the duplication layer and set the blend mode to “luminosity” with “blend if = gray”
- For the underlying layer pull the “dark handles” to the right to limit the effect to the lighter parts
- Then split the “light handles” while pressing “alt” to “feather the effect on the lighter parts.
- Repeat reversed with the “burn-tool” for adding local contrast with the dark areas
- Adjust the opacity of the duplication layer for finetuning
Note: Depending on the initial contrast in your picture you might want to also affect the mid-tones with the dodge- or the burn tool
Adapted to Photoshop based on a Video Tutorial for Lightroom shared by Serge Ramelli