File Exchange

image thumbnail

Color Filtering

version 1.0.0.0 (552 KB) by Kannan Keizer
This function can be used for separating or segment Red components, Green components and Blue Compon

3 Downloads

Updated 15 Jul 2008

No License

This function can be used for separate or segment Red components, Green components and Blue Components of colors from the color images.

Cite As

Kannan Keizer (2019). Color Filtering (https://www.mathworks.com/matlabcentral/fileexchange/20477-color-filtering), MATLAB Central File Exchange. Retrieved .

Comments and Ratings (5)

can you please give the same program without using the matlab toolbox?

donny jason

how can i use this program to filter during live cam?

donny jason

Hello, I get this error:
Reference to a cleared variable color.
what do I need to do?

angie velez

ok

John D'Errico

A truly trivial operation, here performed using nested loops to do something that should be done with a single test on the entire array.

This code lacks an H1 line. It has a single error check, that fails to trip over 3-d arrays that are clearly NOT RGB image arrays. What happens in this code if (size(img,3)==2)?

Updates

1.0.0.0

improperly uploaded

not properly uploaded

not properly uploaded

not properly uploaded

improperly uploaded

based on the reviewer comments.

MATLAB Release Compatibility
Created with R2006a
Compatible with any release
Platform Compatibility
Windows macOS Linux