Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

MagickColor comparison to FindBest Matching(finding similar colors) #577

Open
2 tasks done
msx752 opened this issue Feb 20, 2020 · 2 comments
Open
2 tasks done

MagickColor comparison to FindBest Matching(finding similar colors) #577

msx752 opened this issue Feb 20, 2020 · 2 comments

Comments

@msx752
Copy link

msx752 commented Feb 20, 2020

Prerequisites

  • I have written a descriptive issue title
  • I have verified that I am using the latest version of Magick.NET

System Configuration

  • Magick.NET version: latest
  • Environment (Windows 10, Ubuntu 18.04):

Question

In my project i have computed average color of selected any IMagickImage, and i am trying to match that Average color with another random color. The purpose of my idea to find similar color.

it is generally working with simple RBG colors such as RED GREEN etc, but some times it gives me not appropriate result such as. avg color: Cyan , comparised color: nearly brown etc. it says %95 percen same but not.

i have used simple rgb to hsv comparison but i seems doesn't work

@dlemstra
Copy link
Owner

I am not sure what the question is that you are asking me. I suspect that this is happening because there is a difference in colorspace. Maybe you could first use TransformColorSpace to change the colorspace of the image.

@msx752
Copy link
Author

msx752 commented Feb 20, 2020

@dlemstra i am trying on my project to match similar colors, assume i have two different red colors(tone or shades etc..) again assume they are not exactly the same, so i need to compute these colors to get how much they are look similar. that is all i need, is there a way to do that with MagickImage?

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants