Color Frequency Image
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 (2024). Color Frequency Image (https://www.mathworks.com/matlabcentral/fileexchange/28164-color-frequency-image), MATLAB Central File Exchange. Retrieved .
MATLAB Release Compatibility
Platform Compatibility
Windows macOS LinuxCategories
- Image Processing and Computer Vision > Image Processing Toolbox > Image Filtering and Enhancement > Contrast Adjustment >
Tags
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!Discover Live Editor
Create scripts with code, output, and formatted text in a single executable document.
Version | Published | Release Notes | |
---|---|---|---|
1.0.0.0 |