Thresholding an image

버전 (101 KB) 작성자: Image Analyst
Interactively threshold an image. Make a binary image.
다운로드 수: 19.7K
업데이트 날짜: 2022/3/4

라이선스 보기

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).

인용 양식

Image Analyst (2024). Thresholding an image (, MATLAB Central File Exchange. 검색됨 .

MATLAB 릴리스 호환 정보
개발 환경: R2021b
R2014b에서 R2021b까지의 릴리스와 호환
플랫폼 호환성
Windows macOS Linux

Community Treasure Hunt

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

Start Hunting!


버전 게시됨 릴리스 정보

Added option to set thresholds to Triangle or Otsu values. Updated graphics. Updated properties from set() to OOP style. Tested in R2021b.

Changed description slightly
Fixed bug about typing in a value for a floating point image.

Updated to work with R2015a.