how can i remove object bigger than x pixel
이전 댓글 표시
i know that bwareaopen remove small elements , but how can i remove object bigger than x pixels???
i want to just the letter to stay so how can i remove that 2 big objects???
채택된 답변
추가 답변 (1개)
William Kemp
2017년 8월 1일
Its a little more compact if you use the built in function for it:
BW2 = bwpropfilt(BW,'Area',[0 x_pixels])
Where x_pixels is the maximum desired number of pixels in a BW object
카테고리
도움말 센터 및 File Exchange에서 High Dynamic Range Images에 대해 자세히 알아보기
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!