Thanks pior for the nice idea . it's a bit more straight forward over that bezier curves approach i do but requires more precise vertex placement. Even in your example the upper one is not perfectly straight having some points off . I sometimes need to straighten big chunk of a racing track Ariel image from a drone to map…
Something like this? This is a mesh transformed into curves then filled and passed through a triangle tessellation group, all with Blender's geonodes. Corners are preserved in the conversion to curves by being marked with a Boolean x Point attribute so they get temporarily split. You may need to tweak the Corner Angle…
I often need to make straight a piece of photogrammetry or just a photo I want to project onto certain regular geometry . With "straightening" I mean something irregular and slightly deformed to become something having equal intervals and X/Y alignment typical for a texture. A baroque building facade for example or a road…