how to write an color image by using 5 dominant colors

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 Kommentare

how did you seperated dominant colour?
@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.

Melden Sie sich an, um zu kommentieren.

Antworten (1)

Image Analyst
Image Analyst am 16 Mär. 2013

0 Stimmen

Use imshow() to display, and imwrite() to write an image to a disk file.

Kategorien

Mehr zu Images finden Sie in Hilfe-Center und File Exchange

Gefragt:

am 16 Mär. 2013

Kommentiert:

am 24 Nov. 2021

Community Treasure Hunt

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

Start Hunting!

Translated by