Image color filtering

This function provides a color filtering of a given image.
1.6K 次下载
更新时间 2015/3/3

查看许可证

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 (2024). Image color filtering (https://www.mathworks.com/matlabcentral/fileexchange/49898-image-color-filtering), MATLAB Central File Exchange. 检索来源 .

MATLAB 版本兼容性
创建方式 R2014a
兼容任何版本
平台兼容性
Windows macOS Linux

Community Treasure Hunt

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

Start Hunting!
版本 已发布 发行说明
1.1.0.0

Grammar error in description.

1.0.0.0