How to brighten only (dark) parts of a JPG photo?
Moderator: Kathy_9
-
pstein
- Posts: 110
- Joined: Wed Dec 28, 2011 7:09 pm
- System_Drive: C
- 32bit or 64bit: 64 Bit
- Corel programs: PSP X2
- Location: Germany/Canada
How to brighten only (dark) parts of a JPG photo?
Lets start with an example (see attached photo jpg file).
As you can see large parts of the photo are visible, clear and with natural colors.
But in the lower part the scenery is rather dark because its is in the shadow.
How can I automatically let PSP increase the brightness of ONLY this part of the photo?
"Automatically" means with only some steps.
I don't want to draw manually a lasso/freehand selection around this part and increase the brightness for this selection.
PSP should somehow recognized and select the dark part automatically.
Peter
As you can see large parts of the photo are visible, clear and with natural colors.
But in the lower part the scenery is rather dark because its is in the shadow.
How can I automatically let PSP increase the brightness of ONLY this part of the photo?
"Automatically" means with only some steps.
I don't want to draw manually a lasso/freehand selection around this part and increase the brightness for this selection.
PSP should somehow recognized and select the dark part automatically.
Peter
- hartpaul
- Advisor
- Posts: 2893
- Joined: Tue Mar 20, 2012 3:38 pm
- System_Drive: C
- 32bit or 64bit: 64 Bit
- motherboard: ASUSTeK P7P55D STRIX B240F GAMING
- processor: IntelCore i7 7700 3.60 Ghz
- ram: 8 Gb
- Video Card: Nvidia GeForce GTX 1050
- sound_card: Nvidia High Definition Audio
- Hard_Drive_Capacity: 1000 Gb
- Monitor/Display Make & Model: AOC
- Corel programs: PSP8,X2 to X9,2018,2019,2020
- Location: Australia
Re: How to brighten only (dark) parts of a JPG photo?
Have you tried Adjust > Brightness and Contrast > Highlight/Midtone/Shadow
You can do it twice and play with the shadows. You will not get full color in the shadoows as there is little information to start with.
You can do it twice and play with the shadows. You will not get full color in the shadoows as there is little information to start with.
Systems available Win7, Win 8.1,Win 10 Version 1607 Build 14393.2007 & version 20H2 Build 19042.867
- ehume
- Posts: 940
- Joined: Tue Sep 18, 2012 2:05 am
- System_Drive: C
- 32bit or 64bit: 64 Bit
- motherboard: Gigabyte GA-Z87X-UD4H
- processor: i7 4770k
- ram: 16GB
- Video Card: Intel HD4600 [iGPU]
- sound_card: no_sound_card
- Hard_Drive_Capacity: 512GB+4TB
- Monitor/Display Make & Model: Acer KN242HYL
- Corel programs: PSP 2018 32b & 64b, AS3 64b, PE5 64b
Re: How to brighten only (dark) parts of a JPG photo?
On my toolbar I have placed an icon for Adjust Fill Light/Clarity. Amazing how often that is useful.
On the Menu bar, we have Adjust > Fill Flash... and Adjust > Brightness and Contrast > Fill Light/Clarity.
Usually, though, brightening shadows is best handled in raw.
On the Menu bar, we have Adjust > Fill Flash... and Adjust > Brightness and Contrast > Fill Light/Clarity.
Usually, though, brightening shadows is best handled in raw.
Had PS3, PSP3; Installed: PSP-4.12, 5.03, 6.02, 7.04 (liked it a lot & used it for years), 8.00, XI, x4.3.0.3, x6.2.0.20, x7.4.0.11, x8.3.0.13, x9.2.0.7; now using PSPx10 (PSP 2018; version 20.2.0.1 x64) on Win 10-64 b2004.
-
JoeB
- Posts: 2778
- Joined: Fri Mar 28, 2008 10:04 pm
- System_Drive: C
- 32bit or 64bit: 64 Bit
- motherboard: LENOVO 4524PE4 ThinkCentre M91p
- processor: 3.10 gigahertz Intel Quad Core i5-2400
- ram: 8 GB
- Hard_Drive_Capacity: 4.6 TB
- Corel programs: PSP 9, X7 to 2019, 32 & 64-bit
- Location: Canada
Re: How to brighten only (dark) parts of a JPG photo?
How does this look?
EDIT: Brief info: I just used Rusty's New Dynamic Range script aggressively on a duplicate of the image about 3 times to open up the shadow area (which changed the colors, brightness and contrast of the areas of the image that were already sufficiently lit) and then changed the blend mode of that duplicate layer to Lighten, which then restored the colors, brightness and contrast to those already properly lit areas to the original ones. Then I merged the duplicate layer with the original. Took only a few minutes. If it had been my image I would have also then removed the telephone line or whatever it is in the upper right hand corner and then used the Clarity filter at between 30 and 50 to give the whole thing a bit more edge contrast, making it look sharper.
EDIT: Brief info: I just used Rusty's New Dynamic Range script aggressively on a duplicate of the image about 3 times to open up the shadow area (which changed the colors, brightness and contrast of the areas of the image that were already sufficiently lit) and then changed the blend mode of that duplicate layer to Lighten, which then restored the colors, brightness and contrast to those already properly lit areas to the original ones. Then I merged the duplicate layer with the original. Took only a few minutes. If it had been my image I would have also then removed the telephone line or whatever it is in the upper right hand corner and then used the Clarity filter at between 30 and 50 to give the whole thing a bit more edge contrast, making it look sharper.
Last edited by JoeB on Thu Jun 27, 2019 2:10 am, edited 2 times in total.
Regards,
JoeB
Using PSP 2019 64bit
JoeB
Using PSP 2019 64bit
-
bruce1951
- Posts: 176
- Joined: Sun Dec 31, 2017 2:39 am
- System_Drive: C
- 32bit or 64bit: 64 Bit
- ram: 8gb
- Location: Australia
- Contact:
Re: How to brighten only (dark) parts of a JPG photo?
Try Adjust/Brightness and Contrast/Curves.
Make sure you do a reset.
Then lock the centre and top right, 1/4 of the line. Click on the line 3/4 the way down and slowly drag is up.
Then 'play' until you get something that suits your goal.
bruce
Make sure you do a reset.
Then lock the centre and top right, 1/4 of the line. Click on the line 3/4 the way down and slowly drag is up.
Then 'play' until you get something that suits your goal.
bruce
-
JoeB
- Posts: 2778
- Joined: Fri Mar 28, 2008 10:04 pm
- System_Drive: C
- 32bit or 64bit: 64 Bit
- motherboard: LENOVO 4524PE4 ThinkCentre M91p
- processor: 3.10 gigahertz Intel Quad Core i5-2400
- ram: 8 GB
- Hard_Drive_Capacity: 4.6 TB
- Corel programs: PSP 9, X7 to 2019, 32 & 64-bit
- Location: Canada
Re: How to brighten only (dark) parts of a JPG photo?
I can't quite interpret exactly what you are saying with regard to the settings of the curve. Could you please provide a screenshot showing those positions you outlined, as well as showing how far you dragged the line at the end to achieve at least something reasonable to start with? And perhaps another that results in the lit parts of the buildings retaining their original colors, brightness, etc while illuminating the dark areas? I can't figure it out. TIA!bruce1951 wrote:Try Adjust/Brightness and Contrast/Curves.
Make sure you do a reset.
Then lock the centre and top right, 1/4 of the line. Click on the line 3/4 the way down and slowly drag is up.
Then 'play' until you get something that suits your goal.
bruce
Regards,
JoeB
Using PSP 2019 64bit
JoeB
Using PSP 2019 64bit
-
bruce1951
- Posts: 176
- Joined: Sun Dec 31, 2017 2:39 am
- System_Drive: C
- 32bit or 64bit: 64 Bit
- ram: 8gb
- Location: Australia
- Contact:
Re: How to brighten only (dark) parts of a JPG photo?
JoeB I was simply pointing out another option. Besides this poor old fella has difficulty with screen captures!!
Take any image. Open Curves. Put three points along the diagonal line. (I previously said 3/4 and 1/4 of the way. But that can be variable). The centre and upper right points will lock the line. Click on and hold the bottom left point and slowly drag it up. The shadows will open up.
Yes the image will/may look somewhat flat, or at least the shadows will. It should be possible to then open the image again in Curves and tune it as a whole.
Caveat - I use Photoline as my main editor and use LAB Curves so maybe I'm missing the mark a bit in PSP.
There are a number of ways to do the same task. A simple copy layer and erase brush could also be used.
bruce
Take any image. Open Curves. Put three points along the diagonal line. (I previously said 3/4 and 1/4 of the way. But that can be variable). The centre and upper right points will lock the line. Click on and hold the bottom left point and slowly drag it up. The shadows will open up.
Yes the image will/may look somewhat flat, or at least the shadows will. It should be possible to then open the image again in Curves and tune it as a whole.
Caveat - I use Photoline as my main editor and use LAB Curves so maybe I'm missing the mark a bit in PSP.
There are a number of ways to do the same task. A simple copy layer and erase brush could also be used.
bruce
-
JoeB
- Posts: 2778
- Joined: Fri Mar 28, 2008 10:04 pm
- System_Drive: C
- 32bit or 64bit: 64 Bit
- motherboard: LENOVO 4524PE4 ThinkCentre M91p
- processor: 3.10 gigahertz Intel Quad Core i5-2400
- ram: 8 GB
- Hard_Drive_Capacity: 4.6 TB
- Corel programs: PSP 9, X7 to 2019, 32 & 64-bit
- Location: Canada
Re: How to brighten only (dark) parts of a JPG photo?
OK, got it. Tried is also, with playing around with the different points and dragging them around, etc. Yes, the shadow area that opens up is definitely flat no matter what you do, and without using selections to isolate it (or subsequently having to use the eraser, which can be as tedious around the edges as starting with an isolating selection) I can't come close in PSP to keeping the areas that are already lit at the same brightness and with the same colors as the original image. But thanks for the info.
As for screen captures - particularly if you want to be able to easily capture any specific area of the any screen on your computer and paste it into PSP, the most convenient, versatile and configurable program I have found for that purpose is the free Greenshot screen capture program. You can also create shortcut keys for the various types of captures (selected part of an image, whole screen - which will automatically capture the hidden parts of a scrollable screen in IE), of auto capture different panels of an application (like the Layers palette, Materials palette, etc in PSP). No ads, no extra unwanted stuff installed with it either. If interested in checking it out you can do so and get more info here:
https://getgreenshot.org/
As for screen captures - particularly if you want to be able to easily capture any specific area of the any screen on your computer and paste it into PSP, the most convenient, versatile and configurable program I have found for that purpose is the free Greenshot screen capture program. You can also create shortcut keys for the various types of captures (selected part of an image, whole screen - which will automatically capture the hidden parts of a scrollable screen in IE), of auto capture different panels of an application (like the Layers palette, Materials palette, etc in PSP). No ads, no extra unwanted stuff installed with it either. If interested in checking it out you can do so and get more info here:
https://getgreenshot.org/
Regards,
JoeB
Using PSP 2019 64bit
JoeB
Using PSP 2019 64bit
-
bruce1951
- Posts: 176
- Joined: Sun Dec 31, 2017 2:39 am
- System_Drive: C
- 32bit or 64bit: 64 Bit
- ram: 8gb
- Location: Australia
- Contact:
Re: How to brighten only (dark) parts of a JPG photo?
Using Curves isn't the way I would do it but the OP wanted a 'simple' method.
If I was doing it I would create a second layer. Open the shadows in that layer, at the expense of the highlights. Then using the eraser erase all the unwanted highlights. (Assuming the 'shadows layer is on the top)' It maybe be tedious but sometimes it just takes time! Adjusting the eraser opacity will help.
LAB curves makes adjusting much easier. Hint Corel.
bruce
If I was doing it I would create a second layer. Open the shadows in that layer, at the expense of the highlights. Then using the eraser erase all the unwanted highlights. (Assuming the 'shadows layer is on the top)' It maybe be tedious but sometimes it just takes time! Adjusting the eraser opacity will help.
LAB curves makes adjusting much easier. Hint Corel.
bruce
-
JoeB
- Posts: 2778
- Joined: Fri Mar 28, 2008 10:04 pm
- System_Drive: C
- 32bit or 64bit: 64 Bit
- motherboard: LENOVO 4524PE4 ThinkCentre M91p
- processor: 3.10 gigahertz Intel Quad Core i5-2400
- ram: 8 GB
- Hard_Drive_Capacity: 4.6 TB
- Corel programs: PSP 9, X7 to 2019, 32 & 64-bit
- Location: Canada
Re: How to brighten only (dark) parts of a JPG photo?
Understood. And as I asked you for more details, I have now added an edit to my post with the image I posted explaining basically how I did it.bruce1951 wrote:Using Curves isn't the way I would do it but the OP wanted a 'simple' method.
If I was doing it I would create a second layer. Open the shadows in that layer, at the expense of the highlights. Then using the eraser erase all the unwanted highlights. (Assuming the 'shadows layer is on the top)' It maybe be tedious but sometimes it just takes time! Adjusting the eraser opacity will help.
LAB curves makes adjusting much easier. Hint Corel.
bruce
Regards,
JoeB
Using PSP 2019 64bit
JoeB
Using PSP 2019 64bit
-
Corelius
- Posts: 21
- Joined: Mon May 13, 2019 6:18 pm
- System_Drive: C
- 32bit or 64bit: 64 Bit
- Corel programs: Paintshop Pro X9
Re: How to brighten only (dark) parts of a JPG photo?
I couldn't resist giving it a quick shot.
I did a freehand selection along the shadow line and applied Curves and HSL (just saturation) to the bottom of the pic, then a 2nd freehand selection lower down (canopy tops) and applied Brightness/Contrast and Clarity to the bottom of the pic.
I did a freehand selection along the shadow line and applied Curves and HSL (just saturation) to the bottom of the pic, then a 2nd freehand selection lower down (canopy tops) and applied Brightness/Contrast and Clarity to the bottom of the pic.
Last edited by Corelius on Sat Jun 29, 2019 10:33 pm, edited 1 time in total.
-
JoeB
- Posts: 2778
- Joined: Fri Mar 28, 2008 10:04 pm
- System_Drive: C
- 32bit or 64bit: 64 Bit
- motherboard: LENOVO 4524PE4 ThinkCentre M91p
- processor: 3.10 gigahertz Intel Quad Core i5-2400
- ram: 8 GB
- Hard_Drive_Capacity: 4.6 TB
- Corel programs: PSP 9, X7 to 2019, 32 & 64-bit
- Location: Canada
Re: How to brighten only (dark) parts of a JPG photo?
I think the issue is that the original poster said that doing a freehand or lassoo selection is something he did not want to have to do.
Regards,
JoeB
Using PSP 2019 64bit
JoeB
Using PSP 2019 64bit
-
Corelius
- Posts: 21
- Joined: Mon May 13, 2019 6:18 pm
- System_Drive: C
- 32bit or 64bit: 64 Bit
- Corel programs: Paintshop Pro X9
Re: How to brighten only (dark) parts of a JPG photo?
Gotcha. I read the OP too quickly.JoeB wrote:I think the issue is that the original poster said that doing a freehand or lassoo selection is something he did not want to have to do.
But on the other hand, I would add that, having done two separate "lassos" as part of my quick & dirty tweaks, and although those two steps took longer than the other tweaks, they didn't take very long (zooming in and doing them in multiple chunks is key). And my (admittedly limited) experience with PSP tweaking suggests to me that it's often the case (and I suspect this is one of those cases) that you'll end up with a significantly better result with a freehand selection or two -- and you won't necessarily spend more time on the freehand selections than you would on the more complicated tweaking you'll need to do if you aren't willing to select by hand.
And I realize the OP may know that, but still have been curious about PSP's abilities to, in effect, select those kinds of areas automatically.
-
JoeB
- Posts: 2778
- Joined: Fri Mar 28, 2008 10:04 pm
- System_Drive: C
- 32bit or 64bit: 64 Bit
- motherboard: LENOVO 4524PE4 ThinkCentre M91p
- processor: 3.10 gigahertz Intel Quad Core i5-2400
- ram: 8 GB
- Hard_Drive_Capacity: 4.6 TB
- Corel programs: PSP 9, X7 to 2019, 32 & 64-bit
- Location: Canada
Re: How to brighten only (dark) parts of a JPG photo?
Well, this is obviously a good image to do those experiments with, and experimenting with the tools as you did is always a great way to become even more proficient with PSP.Corelius wrote:Gotcha. I read the OP too quickly.JoeB wrote:I think the issue is that the original poster said that doing a freehand or lassoo selection is something he did not want to have to do.
But on the other hand, I would add that, having done two separate "lassos" as part of my quick & dirty tweaks, and although those two steps took longer than the other tweaks, they didn't take very long (zooming in and doing them in multiple chunks is key). And my (admittedly limited) experience with PSP tweaking suggests to me that it's often the case (and I suspect this is one of those cases) that you'll end up with a significantly better result with a freehand selection or two -- and you won't necessarily spend more time on the freehand selections than you would on the more complicated tweaking you'll need to do if you aren't willing to select by hand.
And I realize the OP may know that, but still have been curious about PSP's abilities to, in effect, select those kinds of areas automatically.
Regards,
JoeB
Using PSP 2019 64bit
JoeB
Using PSP 2019 64bit
-
pstein
- Posts: 110
- Joined: Wed Dec 28, 2011 7:09 pm
- System_Drive: C
- 32bit or 64bit: 64 Bit
- Corel programs: PSP X2
- Location: Germany/Canada
Re: How to brighten only (dark) parts of a JPG photo?
Thank you so far for the suggestions.
However all together your solutions try to modify the images completely.
I want to avoid this.
What I am searching for is a way to select only a contiguous area whose pixels are darker than a certain degree of "blackness".
This found selection should not contain small areas at the top of the sample pictures but start from a (clicked ?) point at the bottom of the image.
Once I have this selection I can apply brightness (and other modifications) independently from the remaining part.
How can I achieve this selection?
Thank you
However all together your solutions try to modify the images completely.
I want to avoid this.
What I am searching for is a way to select only a contiguous area whose pixels are darker than a certain degree of "blackness".
This found selection should not contain small areas at the top of the sample pictures but start from a (clicked ?) point at the bottom of the image.
Once I have this selection I can apply brightness (and other modifications) independently from the remaining part.
How can I achieve this selection?
Thank you
