MATLAB Answers


how to write an color image by using 5 dominant colors

Asked by preet
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?


1 Answer

Answer by Image Analyst
on 16 Mar 2013

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


Discover what MATLAB® can do for your career.

Opportunities for recent engineering grads.

Apply today