11-03-2023, 03:22 PM
(24-02-2023, 04:20 PM)nablator wrote: You are not allowed to view links. Register or Login to view.There is a small mistake on f23v: qoteotor should be qotcoHtorYou are probably right
this was marked as suspicious and rendered in red.(Yes, post updates are very overlookable)
(11-03-2023, 10:07 AM)ReneZ wrote: You are not allowed to view links. Register or Login to view.I have been working in this area off and on, and it came as a bad surprise that a straightforward coordinates conversion between the old and new scans was not going to work.This issue was so serious, that I had create my own tool for finding subimage in image.
First, the geometry of old and new scans may differ significantly. Folios tend to be skewed near borders, so standard tools (like imagemagick) may be not very effective here. You may have perfect match in the center and complete disaster near edges (see for example right side of 104v).
Next are colors. Newer scans may be darker/lighter, so there can be perfect match in sense of coordinates, but no exact match when comparing pixel to pixel.
And finally, folios can be slightly rotated. Even several tenths of degree can notably improve matching index (no matter how you calculate it).
So my own approach for converting coordinates was the following:
1. Map the whole page to page. Thus get approximate coordinates
2. Map each word rectangle independently, trying coordinates from 1. +- some delta.

