Color Frequency Image

version 1.0.0.0 (3.13 KB) by Mark Hayworth
The frequency image is where the pixel intensity represents the frequency of the same color pixels.

1.8K Downloads

Updated Fri, 09 Jul 2010 10:47:28 +0000

View License

This is a MATLAB implementation of the Color Frequency concept introduced by T. Kashiwagi & S. Oe.

With this script, you pick a color image and then it computes the color frequency image. The color frequency image is an image where the pixel intensity represents the frequency of pixels in the original image that have that same pixel color as that pixel location. For example, in the screen shot, the blue sky looks bright because there are a lot of similarly colored blue pixels in the image. Everywhere there is a blue pixel in the original image, it will have a high value in the frequency image because the frequency of blue pixels is high.

(If you replace imshow() with image(), and comment out the imwrite() function then you won't need the Image Processing Toolbox.)

Cite As

Mark Hayworth (2022). Color Frequency Image (https://www.mathworks.com/matlabcentral/fileexchange/28164-color-frequency-image), MATLAB Central File Exchange. Retrieved .

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

Community Treasure Hunt

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

Start Hunting!