Color coherence vector in C #

My friend and I are starting to create a machine that compares images for sorting. I know about comparing the histograms and, as a rule, I’m sure that a small grid of histograms per image, previously calculated and stored in columns in the database table, usually gives us pretty good matches on the first pass, because we compare such things.

The second comparison that we want to perform is to use the color coherence vector (CCV) of images that pass the histogram test from our image object to candidate images. I know this comparison is more accurate.

My friend is confident that he can develop CCV in C # using C # wrapper for OpenCV . I'm sure he can too. However, I would like to know:

  • Has anyone already done this in C # and released the source code? Or a c # shell?
  • Are we barking the wrong tree? (Should I use CCV and refuse to compare histograms at the database level? Or too many CCVs?)
+4
source share
2 answers

The OpenCV site mentions VB compatibility, so I won’t be surprised if it provides a COM interface. If so, just add a link to it and let Visual Studio build a PIA (shell) for you.

Unfortunately, I do not know the details of the image processing algorithms that you mentioned, so I can not offer advice on your second question.

+1
source

Well, I think that using only the color coherence vector will achieve a good result in your application. I tried and it works very well. (This link provides a phased implementation of Color Coherence Vector , you may find that it uses

I also found a matlab implementation that you can see ( github link )

+1
source

Source: https://habr.com/ru/post/1277626/


All Articles