determine quantity of pixel in one image
이전 댓글 표시
HI ALLS!
i am working an square's grayscale image 252*252, now i just wanna to focus on smaller area in this image and count how many pixels this area have in there.
hope you guys help me! thanks so much!
채택된 답변
추가 답변 (2개)
José-Luis
2014년 4월 24일
Well, that would depend on the area, wouldn't it?
number_of_pixels = width * height;
cuong nguyen
2014년 5월 5일
0 개 추천
댓글 수: 1
Image Analyst
2014년 5월 5일
I don't think so, but you can pass the pixels into hist().
카테고리
도움말 센터 및 File Exchange에서 Image Segmentation에 대해 자세히 알아보기
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!