Thanks. Mesh warp looks like something worth trying out. But again, to make it work, I'll need to know the position of control points after the perspective distortion.fmw42 wrote:I do not know if this will help, but you could do a mesh warp. see my script at http://www.fmwconcepts.com/imagemagick/ ... /index.php for an example.
My program can draw a map of any fragment of the sky in any rotation. First, it calculates the positions of stars after a spherical projection, then it uses the positions of some stars as target control points in perspective distortions of constellation images. If a perspective distortion has more than four control points, I don't know their target positions without knowing the coeffcients of the distortion.