I am doing a project on 'moment preserving thresholding'.. in that after doing certain operations we get certain values for p(p0,p1,p2,p3...) and the output(threshold value) is found from the histogram of the image, choosing threshold as the P0-tile.. the values of p(p0,p1,p2...) are fractions less than one(say 0.34,0.46) my problem is how can i find the value of such fraction value-tiles from the histogram..
PS:I am doing this in MAT lab
I'm new to stack overflow so i cannot post the image.. can anybody help me..