- 1,789

- 4

## Main Question or Discussion Point

Hi

For a project (described https://www.physicsforums.com/showthread.php?t=227684"), I have to do the following for N images:

1. plot the histogram of each image, using

2. plot a curvilinear approximation to the histogram, using

3. determine the area under the plot generated in step 2

4. Plot a curve of area value versus image number (index) and determine the image number for which the area value is a minimum.

I am not sure how to do step 3 and also whether steps 1 and 2 are correct.

Can someone please help?

Thanks and cheers

vivek

For a project (described https://www.physicsforums.com/showthread.php?t=227684"), I have to do the following for N images:

1. plot the histogram of each image, using

**imhist(x)**2. plot a curvilinear approximation to the histogram, using

**plot(imhist(x))**3. determine the area under the plot generated in step 2

4. Plot a curve of area value versus image number (index) and determine the image number for which the area value is a minimum.

I am not sure how to do step 3 and also whether steps 1 and 2 are correct.

Can someone please help?

Thanks and cheers

vivek

Last edited by a moderator: