number of pixels versus y-axis of an image

1 view (last 30 days)
I have a binary image and want to plot the graph like this and find out the standard deviation of the image. how can i do this?
  2 Comments
Image Analyst
Image Analyst on 20 Jan 2017
You need to explain what those profiles/plots represent.
Jorge Mario Guerra González
Yes, try to explain in a better way what your question is.

Sign in to comment.

Answers (1)

Image Analyst
Image Analyst on 20 Jan 2017
I have no idea what your plots mean or what pixels they are counting, but to get the standard deviation of a gray scale image, do this.
stDev = std2(grayImage);

Categories

Find more on Images in Help Center and File Exchange

Community Treasure Hunt

Find the treasures in MATLAB Central and discover how the community can help you!

Start Hunting!