[Top][All Lists]

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

[task #16273] Include non-linear warping in absence of WCS

From: Mohammad Akhlaghi
Subject: [task #16273] Include non-linear warping in absence of WCS
Date: Fri, 7 Oct 2022 08:05:36 -0400 (EDT)

Follow-up Comment #1, task #16273 (project gnuastro):

Thanks for adding the note here Raul.

Just to be more precise, during our suggestion, this suggestion came up:
having something like '--center' in the linear warping also. 

Basically, when the image has no WCS (or '--mode=img': we also need to add
'--mode' to Warp), Warp will internally calculate the necessary linear
translation so the given pixel coordinate of the input is in the center of the
output image. 

For example the 'centered.fits' file created below will be translated such
that the coordinate (1.2,8.9) of the input image will be in the center of the
central pixel of the output image.

$ astwarp img.fits --center=1.2,8.9 --mode=img --output=centered.fits

Combined with the '--width' and '--widthinpix' options, implementing this will
make a similar interface to Crop. But in Warp it shifts pixel values as
requested and will thus take longer. 


Reply to this item at:


Message sent via Savannah

reply via email to

[Prev in Thread] Current Thread [Next in Thread]