Hysteresis Thresholding

버전 1.0.0.0 (2.13 KB) 작성자: Massimo Fierro
C implementation of Hysteresis Thresholding
다운로드 수: 6.2K
업데이트 날짜: 2008/5/27

라이선스 보기

This function takes as parameters a grayscale image (real valued matrix of size x*w*1) and two thresholds (low and high), and returns the hysteresis thresholded version.

Hysteresis thresholding performs the following:
- every value below tLo is set to 0
- every value above tHi is set to 1
- the rest of the pixels are set to 1 if they are 4-way connected to any other 1-valued blob (area), 0 otherwise

It should be pretty straightforward to implement an 8-way connection check, if you want.

To compile and use perform the following:
mex hysteresis.c

인용 양식

Massimo Fierro (2024). Hysteresis Thresholding (https://www.mathworks.com/matlabcentral/fileexchange/20009-hysteresis-thresholding), MATLAB Central File Exchange. 검색됨 .

MATLAB 릴리스 호환 정보
개발 환경: R13
모든 릴리스와 호환
플랫폼 호환성
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

Corrected a type in the title