Skip to main content
Participant
May 24, 2023
Question

Comparing vector graphics with one another

  • May 24, 2023
  • 2 replies
  • 398 views

Dear all, I need to compare simple vector graphics with one another (e.g. vectors match "90%"). Is there a way to do that?

This topic has been closed for replies.

2 replies

Mylenium
Legend
May 25, 2023

What is "vectors match 90%" or whatever even meant to be? Area covered? Maximum amount of deviaton? Exact topology? Realtive fitting? Does it need to be a certain probability or an exact number? I'm afraid unless you can provide a clearer picture what the actual purpose of the whole exercise is supposed to be this won't be going anywhere. What you're asking is basically to create an OCR/ shape recognition algorithm in a script and aside from potentially being slow the complexity could be enormous depending on which criteria need to be checked. At the end of the day, unless you need to do this for hundreds and thousands of shapes just sorting them visually yourself may be much simpler. Otherwise I'm pretty sure this is more of a case of creating an actual plug-in or using existing libraries for Python, Java or C++ to implement such functions.

 

Mylenium

pixxxelschubser
Community Expert
Community Expert
May 24, 2023

Explain a bit more in detail, please. Perhaps with a few examples?

Participant
May 24, 2023

Thank you so much! 

I would like to quantitatively compare curves with each-other, an example would be taking the left curve as a reference to find out whether the middle or right curve match better.

 

 

 

 

 

 

Jacob Bugge
Community Expert
Community Expert
May 24, 2023

Johanna,

 

I am afraid those curves are to complicated to quantitatively compare: you have differences in total height, differences in the left and right parts, and even differences in width.