multi level image segmentation
조회 수: 1 (최근 30일)
이전 댓글 표시
I need a code or procedure to segment or convert gray image to binary image by using more values of thresholding not one as using(im2bw) to get multilevel segmentation and get more accuracy of segment can any body help me ,I need it to complet my project I'm very late,I dont have more time,please
댓글 수: 0
답변 (1개)
Image Analyst
2020년 12월 29일
binaryImage = grayImage > someValue1 & grayImage < someValue2;
You can combine as many of those as you want:
binaryImage2 = grayImage > someValue3 & grayImage < someValue4;
binaryImageFinal = binaryImage & binaryImage2;
댓글 수: 0
참고 항목
카테고리
Help Center 및 File Exchange에서 Simulation, Tuning, and Visualization에 대해 자세히 알아보기
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!