Thresholding an image
Version 1.3.0.0 (101 ko) par
Image Analyst
Interactively threshold an image. Make a binary image.
This program takes a color or monochrome image and lets the user interactively/manually threshold the monochrome image, or a single color band of a color image, via sliders to set the maximum and minimum thresholds. The thresholded image is a binary image that can be used as a mask image for other images. The pixels in the thresholded range are shown in the middle image as a binary image (black/white), and the original image pixels are shown masked in the left image (gray scale or color). Inputs are the low and high thresholds to start with and the image file name or image matrix. The program returns the threshold values and the last color band that was used to select the threshold. The image can be of type integer (uint8, uint16, etc.) or floating point (single, double).
Citation pour cette source
Image Analyst (2025). Thresholding an image (https://www.mathworks.com/matlabcentral/fileexchange/29372-thresholding-an-image), MATLAB Central File Exchange. Extrait(e) le .
Compatibilité avec les versions de MATLAB
Créé avec
R2021b
Compatible avec les versions R2014b à R2021b
Plateformes compatibles
Windows macOS LinuxCatégories
- Image Processing and Computer Vision > Image Processing Toolbox >
- Image Processing and Computer Vision > Image Processing Toolbox > Image Segmentation and Analysis >
- Image Processing and Computer Vision > Image Processing Toolbox > Image Segmentation and Analysis > Image Segmentation > Image Thresholding >
- MATLAB > Graphics > Images > Modify Image Colors >
En savoir plus sur Image Processing Toolbox dans Help Center et MATLAB Answers
Tags
Remerciements
A inspiré : Parametric Mapping Scripts for MRI data
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!Découvrir Live Editor
Créez des scripts avec du code, des résultats et du texte formaté dans un même document exécutable.
Thresholding
Version | Publié le | Notes de version | |
---|---|---|---|
1.3.0.0 | Added option to set thresholds to Triangle or Otsu values. Updated graphics. Updated properties from set() to OOP style. Tested in R2021b. |
||
1.2.0.0 | Changed description slightly
|
||
1.1.0.0 | Updated to work with R2015a. |
||
1.0.0.0 |