number of pixels versus y-axis of an image
조회 수: 2 (최근 30일)
이전 댓글 표시
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?
![](https://www.mathworks.com/matlabcentral/answers/uploaded_files/159996/image.jpeg)
댓글 수: 2
답변 (1개)
Image Analyst
2017년 1월 20일
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);
댓글 수: 0
참고 항목
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!