how to write an color image by using 5 dominant colors

1 view (last 30 days)
after extracting 5 dominant color in r, g ,b component from an image . i want to display that image with these dominant color.
hw will do it?
  2 Comments
Image Analyst
Image Analyst on 24 Nov 2021
@Shiv srikakolum, what would you consider to be the dominant color in this image (ignoring the white background of course):
plotChromaticity
Please share your definition of it.

Sign in to comment.

Answers (1)

Image Analyst
Image Analyst on 16 Mar 2013
Use imshow() to display, and imwrite() to write an image to a disk file.

Categories

Find more on Images in Help Center and File Exchange

Community Treasure Hunt

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

Start Hunting!