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 comentarios

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.

Iniciar sesión para comentar.

Respuestas (1)

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

Categorías

Más información sobre Images en Centro de ayuda y File Exchange.

Etiquetas

Preguntada:

el 16 de Mzo. de 2013

Comentada:

el 24 de Nov. de 2021

Community Treasure Hunt

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

Start Hunting!

Translated by