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?
Direct link to this answer:
Use imshow() to display, and imwrite() to write an image to a disk file.
Opportunities for recent engineering grads.