Global Threshold computation using Otsu's Method

버전 1.0.0.0 (1.65 KB) 작성자: Reza Ahmadzadeh
Global Threshold computation using Otsu's Method
다운로드 수: 308
업데이트 날짜: 2015/8/10

라이선스 보기

Computes the global image threshold using Otsu's method by minimizing the
inter-class variance.
Inputs:

histogramCounts : is the histogram data of the image, that can be calculated
using `imhist` function.

total: is the total number of pixels that can be counted using the
`numel` function.

Output:
ll : is the level of the global threshold in [0 1]

Example:

consider the grayscale image is Ig

>> otsu(imhist(Ig),numel(Ig))
>> 04414

인용 양식

Reza Ahmadzadeh (2024). Global Threshold computation using Otsu's Method (https://www.mathworks.com/matlabcentral/fileexchange/52437-global-threshold-computation-using-otsu-s-method), MATLAB Central File Exchange. 검색됨 .

MATLAB 릴리스 호환 정보
개발 환경: R2006b
모든 릴리스와 호환
플랫폼 호환성
Windows macOS Linux

Community Treasure Hunt

Find the treasures in MATLAB Central and discover how the community can help you!

Start Hunting!
버전 게시됨 릴리스 정보
1.0.0.0