Image color filtering
버전 1.1.0.0 (2.71 KB) 작성자:
Víctor Martínez-Cagigal
This function provides a color filtering of a given image.
This function modifies a given image in order to keep a specific hue (given too) and to desaturate the rest of the image. This procedure originates an image with black and white colormap, excluding the parts colored with that hue. Input and output parameters are specificated in the function header.
Example of use extracting the blue hue (H: 150º - 270º):
I = imread('myimage.jpg');
I = im2double(I);
I_m = colorfilter(I,[150 270]);
imshow(I_m,[]);
인용 양식
Víctor Martínez-Cagigal (2025). Image color filtering (https://www.mathworks.com/matlabcentral/fileexchange/49898-image-color-filtering), MATLAB Central File Exchange. 검색 날짜: .
MATLAB 릴리스 호환 정보
개발 환경:
R2014a
모든 릴리스와 호환
플랫폼 호환성
Windows macOS Linux카테고리
- MATLAB > Graphics > Images > Modify Image Colors >
- Image Processing and Computer Vision > Computer Vision Toolbox > Recognition, Object Detection, and Semantic Segmentation > Image Category Classification >
Help Center 및 MATLAB Answers에서 Modify Image Colors에 대해 자세히 알아보기
태그
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!