How to set Histogram ranges (X1 and X2)

(Originally posted by Geeda on 6/29/2006)

I would like to set the X1 and X2 values from the Range/Area option of a histogram. I can get the start range and the end range by calling IpHstGet(GETRANGE, Param, OutVal), but I would like to be able to set those values. Are there any ways to do this?

 

Comments

  • (Originally posted by YuriG on 7/5/2006)

    Geeda,

    If you need to get sum of histogram inside the range or % of it, you can do it in a macro using IpHstGet(GETVALUES,...) and then counting number of pixels in bins between X1 and X2. Check help page of IpHstGet for examples.

Sign In or Register to comment.