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 Commenti

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.

Accedi per commentare.

Risposte (1)

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

Categorie

Scopri di più su Images in Centro assistenza e File Exchange

Richiesto:

il 16 Mar 2013

Commentato:

il 24 Nov 2021

Community Treasure Hunt

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

Start Hunting!

Translated by