Higgins wrote:
> I'm trying to figure out a way to compare two fairly simple images
> and generate a metric which reflects the similarity of the shapes
> within those images. The images are monochrome, so colour isn't
> relevant.
>
> Any ideas?
Never used IM to do anything other than convert from one format to
another, but if I were doing this I would:
Easy: If they're filled in shapes, xor the pictures, count the
resulting set pixels.
Medium: If they're straight line drawings, measure the length angle,
and intersection of the lines.
Hard: If they're line & curve drawings, add curve radius & intersection
to the above.
Very hard: build a set of weak, democratic, neural nets trained to
measure various kinds of similarity.
>> Stay informed about: FOAK: Any ImageMagick expertise in the house?