Grave condition: macron suffers acute diaeresis...

So,

  I picked some page and using https://gist.github.com/2395307 - after I
stripped out the parts to merge the OCR data with other OCR data - I've
extracted all the shapes the Internet Archive software considers to be a
"ä" and compared all instances to each other. Actually I started with a
http://www.websitedev.de/temp/d-stddev-inverted.png computed image of ds
on the page, each pixel in the image is proportional to the standard de-
viation of all pixels at that position across all "d" shapes. Looking at
that and similar results I figured I have to account a little bit for
the minor differences among the monochrome shapes due to rounding errors
and similar issues. The dark parts in the image basically indicate that
there is a good bit of fluctuation at those points, while white parts
indicate stability, they are more or less always the same colour.

Now, aligning two images like the images here should be a solved problem
but apparently implementations for that are hard to come by, so I made a
simple brute force script that takes two images and compares them with
an offset of at most three pixels and among all the options pickes the
one that produces the least "white" difference image. For illustration I
also manually ordered the shapes according to what I find similar shapes
and the attached document shows the individual shapes in a comparison
matrix with the corresponding difference image after the slight adjust-
ment. The matrix should be relatively dark around the diagonal; it might
take some getting used to it, but generally at least the top left and
the bottom right corner should form fairly obvious clusters, depsite the
very primitive comparison logic involved here.

It should also be fairly clear that a cursive 'a with macron' is nothing
like a regular 'a with diaeresis'.
-- 
Björn Höhrmann · mailto:bjoern@hoehrmann.de · http://bjoern.hoehrmann.de
Am Badedeich 7 · Telefon: +49(0)160/4415681 · http://www.bjoernsworld.de
25899 Dagebüll · PGP Pub. KeyID: 0xA4357E78 · http://www.websitedev.de/ 

Received on Tuesday, 24 April 2012 23:33:09 UTC