gnuastro-devel
[Top][All Lists]
Advanced

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

[bug #63026] Warp translation adds one extra pixel even if it is not req


From: Raul Infante-Sainz
Subject: [bug #63026] Warp translation adds one extra pixel even if it is not requested
Date: Wed, 7 Sep 2022 09:46:41 -0400 (EDT)

URL:
  <https://savannah.gnu.org/bugs/?63026>

                 Summary: Warp translation adds one extra pixel even if it is
not requested 
                 Project: GNU Astronomy Utilities
               Submitter: infantesainz
               Submitted: Wed 07 Sep 2022 01:46:40 PM UTC
                Category: Warp
                Severity: 3 - Normal
              Item Group: Output not reasonable
                  Status: None
                 Privacy: Public
             Assigned to: None
             Open/Closed: Open
         Discussion Lock: Any


    _______________________________________________________

Follow-up Comments:


-------------------------------------------------------
Date: Wed 07 Sep 2022 01:46:40 PM UTC By: Raul Infante-Sainz <infantesainz>
The option '--translate' of Warp does not do what the user expect. When asked
to translate only in the x-axis, it also translates the y-axis. To easily
reproduce the problem consider the lines below:

Create an image to play with.

astmkprof --kernel gaussian,1,2 --output img.fits


Translate along the x-axis 1 pixel (tx=1), and check the dimensions. The
result shows that also the y-axis has changed

tx=1
ty=0
astwarp img.fits --translate $tx,$ty --output warped_$tx-$ty.fits
astfits warped_$tx-$ty.fits 


By modifying tx and ty other options can be explored. Interestingly, when
using tx=ty=0, the result is correct.









    _______________________________________________________

Reply to this item at:

  <https://savannah.gnu.org/bugs/?63026>

_______________________________________________
Message sent via Savannah
https://savannah.gnu.org/




reply via email to

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