This is a task I often have to do, and I would like to see a better solution than mine is. Until then, it is here:
1. Select the upper part of the entire area (lasso) and create a new layer. This is to exlude areas, which should not be touched at all.
2. On the new layer select the background raoughly with lasso.
3. Extend the selection to the edge of the berry with magic wand.
4. Create a new layer from that selection.
5. Add a curve adjustment layer to the selected background (the new layer, not the "PS backgroung"). Make the selected layer as clipping for the curves, so that the histogram shows only the selction.
6. Pick the point of darkness, from where you want to darken the background. Put a point at that level on the curve, so that the lower range remains unchanged. Turn down the upper range to your liking. This way you can change even the color of the too bright spots.
I put this in a layered TIFF:
DemoAddendumAfter re-reading my post, I noticed that my
I would like to see a better solution than mine is may easily be misunderstood. I meant it literally: I am looking for a less laborous solution.