Identifying only specific areas of image above a certain "threshold"
조회 수: 2 (최근 30일)
이전 댓글 표시
Now, here is an color image which i am converting it into grayscale inorder to identify only white bands that are above some threshold and represent the starting positions(column) of those white bands. How do i decide the threshold ? Also, is it possible to convert the image into black and white and then identify the white bands by putting a threshold condition ?
댓글 수: 0
답변 (1개)
Image Analyst
2013년 11월 21일
You can look at the histogram with imhist(). Then choose a threshold. Or you could use my thresholding app: http://www.mathworks.com/matlabcentral/fileexchange/29372-thresholding-an-image
Then you can segment your image, like shown in my Image Segmentation Tutorial: http://www.mathworks.com/matlabcentral/fileexchange/?term=authorid%3A31862
댓글 수: 0
참고 항목
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!