Hysteresis Thresholding

C implementation of Hysteresis Thresholding
6,2K Descargas
Actualizado 27 may 2008

Ver licencia

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

Citar como

Massimo Fierro (2026). Hysteresis Thresholding (https://es.mathworks.com/matlabcentral/fileexchange/20009-hysteresis-thresholding), MATLAB Central File Exchange. Recuperado .

Compatibilidad con la versión de MATLAB
Se creó con R13
Compatible con cualquier versión
Compatibilidad con las plataformas
Windows macOS Linux
Agradecimientos

Inspiración para: Circular Matrix computation

Versión Publicado Notas de la versión
1.0.0.0

Corrected a type in the title