how to calculate the total white dots/ white region in this image
이전 댓글 표시
hi, i'm beginner of matlab. Please show me the ways to calculate the total white pixel/regions that appear on this image..thanks http://imageshack.us/photo/my-images/841/result2cars.jpg/ http://img841.imageshack.us/img841/810/result2cars.jpg
채택된 답변
추가 답변 (1개)
Image Analyst
2013년 2월 24일
편집: Image Analyst
2013년 2월 24일
0 개 추천
See my image segmentation tutorial "BlobsDemo": http://www.mathworks.com/matlabcentral/fileexchange/?term=authorid%3A31862 It will work for you.
Of course if you just want to count the white pixels, you can sum them like Jeppe said. But if you want measurements, like a count of the number of cars, their sizes, etc. then you'll have to use regionprops().
카테고리
도움말 센터 및 File Exchange에서 Region and Image Properties에 대해 자세히 알아보기
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!