Discover MakerZone

MATLAB and Simulink resources for Arduino, LEGO, and Raspberry Pi

Learn more

Discover what MATLAB® can do for your career.

Opportunities for recent engineering grads.

Apply Today

New to MATLAB?

how to write an color image by using 5 dominant colors

Asked by preet

preet (view profile)

on 16 Mar 2013

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?

0 Comments

preet

preet (view profile)

1 Answer

Answer by Image Analyst

Image Analyst (view profile)

on 16 Mar 2013

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

0 Comments

Image Analyst

Image Analyst (view profile)

Contact us