ImageEn for Delphi and C++ Builder ImageEn for Delphi and C++ Builder

 

ImageEn Forum
Profile    Join    Active Topics    Forum FAQ    Search this forumSearch
Forum membership is Free!  Click Join to sign-up
Username:
Password:
Save Password
Forgot your Password?

 All Forums
 ImageEn Library for Delphi, C++ and .Net
 ImageEn and IEvolution Support Forum
 Merge similar colors?
 New Topic  Reply to Topic
Author Previous Topic Topic Next Topic  

PeterPanino

913 Posts

Posted - Jun 02 2024 :  17:37:01  Show Profile  Reply
These are the 16 most frequent colors in a specific image:



You can see that there are a lot of SIMILAR colors!

Is there an ImageEn method to merge the colors of pixels with a similar color to the same color? All similar colors should be merged into exactly ONE color!

So, with the above example, the only remaining colors would result as: White, Lavender, Yellow.

PeterPanino

913 Posts

Posted - Jun 03 2024 :  03:58:32  Show Profile  Reply
I have solved the problem with a custom k-means clustering solution.
This will be demonstrated in my upcoming major demo program on my Blog. Stay tuned.
Go to Top of Page
  Previous Topic Topic Next Topic  
 New Topic  Reply to Topic
Jump To: