i've quantisized my image using this code :
But then i want to try to represent my image as example below. Thus, can differentiate between the BG and objects of the image. Could anyone please help me how to do it please ?
thank you so much :)