The algorithm calculates the mean value in a window and if the pixel's intensity is above the mean the pixel is set to white colour, otherwise the pixel is set to black colour. To increase the resistance to noise the threshold value can be shifted by a constant c. The pseudocode:
if (pixel >= mean-c)
pixel = 1;
else
pixel = 0;
end
인용 양식
Jan Motl (2024). Meanthresh local image thresholding (https://www.mathworks.com/matlabcentral/fileexchange/41787-meanthresh-local-image-thresholding), MATLAB Central File Exchange. 검색됨 .
MATLAB 릴리스 호환 정보
개발 환경:
R13
모든 릴리스와 호환
플랫폼 호환성
Windows macOS Linux카테고리
- Image Processing and Computer Vision > Image Processing Toolbox > Import, Export, and Conversion > Image Type Conversion >
- Image Processing and Computer Vision > Image Processing Toolbox > Image Segmentation and Analysis > Image Segmentation > Image Thresholding >
Help Center 및 MATLAB Answers에서 Image Type Conversion에 대해 자세히 알아보기
태그
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!버전 | 게시됨 | 릴리스 정보 | |
---|---|---|---|
1.0.0.0 |