travisgoodspeed / maskromtool

A CAD tool for extracting bits from Mask ROM photographs.
Other
331 stars 20 forks source link

Rotation Matrix for Alignment #120

Open travisgoodspeed opened 1 month ago

travisgoodspeed commented 1 month ago

RomAlignerReliable now reliably aligns bits when the image is straight or reasonably tilted, but it becomes confused when a large gap exists between two sides of the ROM.

image

One method would be to calculate the tilt of the image from the 1st and n'th bits, then to do all comparisons from coordinates tilted in the same way.

travisgoodspeed commented 1 month ago

This aligner is now supported. See Edit / Alignment Constraints / Strategy.

travisgoodspeed commented 3 weeks ago

All integration tests pass when making this the default and removing RomAlignerReliable, but at the cost of ~10% of execution time. For now, I'm holding off on making it the default.