File Exchange

image thumbnail

Color Frequency Image

version 1.0 (3.13 KB) by

The frequency image is where the pixel intensity represents the frequency of the same color pixels.

16 Downloads

Updated

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

Comments and Ratings (0)

MATLAB Release
MATLAB 7.10 (R2010a)

Download apps, toolboxes, and other File Exchange content using Add-On Explorer in MATLAB.

» Watch video