Histogram for part of an image ?

Moderator: jsachs

Bernard
Posts: 43
Joined: April 25th, 2009, 2:44 pm

Histogram for part of an image ?

Post by Bernard »

When a mask is active, the brightness curve will influence the image according to the white and black amounts, that's ok, but (I think) the histogram displayed is always relative to the complete image with 100% amount.
I would like to work on a specific part of an image, and I need the histogram of that part only, ignoring (ie amount 0%) the rest.
How can I achieve that ?
Bernard
jsachs
Posts: 4225
Joined: January 22nd, 2009, 11:03 pm

Re: Histogram for part of an image ?

Post by jsachs »

There is no specific feature that does this, but you can make a copy of the image and use the mask with the Composite Transformation (and a solid overlay color) to make the masked area black and then ignore the spike in the histogram at zero.
Jonathan Sachs
Digital Light & Color
Bernard
Posts: 43
Joined: April 25th, 2009, 2:44 pm

Re: Histogram for part of an image ?

Post by Bernard »

Thanks Jonathan, I will try that.
What I want to do is to work brightness and contrast separately for the foreground and the background.
Of course I can do that with a mask (and the inverted mask) looking visually at the result, but without the help of the histogram.
Would it be possible to have a 'masked histogram' that would ignore the part where the amount is 0% ?
Bernard
jsachs
Posts: 4225
Joined: January 22nd, 2009, 11:03 pm

Re: Histogram for part of an image ?

Post by jsachs »

I am looking at implementing this feature - it is a little tricky.
Jonathan Sachs
Digital Light & Color
jsachs
Posts: 4225
Joined: January 22nd, 2009, 11:03 pm

Re: Histogram for part of an image ?

Post by jsachs »

It turns out I was able to add this feature to Brightness Curve, Color Curves, and Color Balance. I was not possible to add it to the histogram tool without a major rewrite. The new code should appear in the next regular update.
Jonathan Sachs
Digital Light & Color
Bernard
Posts: 43
Joined: April 25th, 2009, 2:44 pm

Re: Histogram for part of an image ?

Post by Bernard »

Jonathan,
That's absolutely fantastic !
Thank you so much for your support and such a quick answer !
I am waiting for the next update....

My best wishes for the new year to you and Kiril.
Bernard
jsachs
Posts: 4225
Joined: January 22nd, 2009, 11:03 pm

Re: Histogram for part of an image ?

Post by jsachs »

I just got the histogram tool to work also.
Jonathan Sachs
Digital Light & Color
Bob Walker
Posts: 78
Joined: April 25th, 2009, 9:08 am
What is the make/model of your primary camera?: Canon R5
Location: Los Alamos, New Mexico
Contact:

Re: Histogram for part of an image ?

Post by Bob Walker »

Jonathan,

Thanks a lot for working this out. It's a very useful enhancement, and I look forward to using it.

Bob W
couman
Posts: 82
Joined: April 25th, 2009, 8:44 am

Re: Histogram for part of an image ?

Post by couman »

Bob Walker wrote:Jonathan,

Thanks a lot for working this out. It's a very useful enhancement, and I look forward to using it.

Bob W
Yes, indeed. Thank you
Bob Coutant
Bernard
Posts: 43
Joined: April 25th, 2009, 2:44 pm

Re: Histogram for part of an image ?

Post by Bernard »

Thank you Jonathan !
Bernard
Post Reply