GNU Astronomy Utilities - Bugs: bug #50072, ImageWarp 'align' does not align...
You are not allowed to post comments on this tracker with your current authentication level.
bug #50072: ImageWarp 'align' does not align previously warped (rotated) images
Submitter: | Lee Kelvin <leeskelvin> | ||
Submitted: | Tue 17 Jan 2017 10:48:48 PM UTC | ||
Category: | Warp | Severity: | 4 - Important |
Item Group: | Output not reasonable | Status: | Fixed |
Privacy: | Public | Assigned to: | makhlaghi |
Open/Closed: | Closed |
Tue 17 Jan 2017 11:26:15 PM UTC, comment #2: |
Mohammad Akhlaghi <makhlaghi>![]() ![]() |
Tue 17 Jan 2017 10:48:48 PM UTC, comment #1: This item has been reassigned from the project GNU Astronomy Utilities support tracker to your tracker. |
Mohammad Akhlaghi <makhlaghi>![]() ![]() |
Tue 17 Jan 2017 10:48:48 PM UTC, original submission:
A FITS image which has been previously rotated via ImageWarp does not align back to N/E = Y/-X as expected.
|
Lee Kelvin <leeskelvin> |
Depends on the following items: None found
Items that depend on this one: None found
There are 0 votes so far. Votes easily highlight which items people would like to see resolved in priority, independently of the priority of the item set by tracker managers.
Follow 7 latest changes.
Date | Changed by | Updated Field | Previous Value | => | Replaced by |
---|---|---|---|---|---|
2017-01-17 | makhlaghi | Category | None | ![]() |
Warp |
Severity | 3 - Normal | ![]() |
4 - Important | ||
Item Group | None | ![]() |
Output not reasonable | ||
Status | None | ![]() |
Fixed | ||
Assigned to | None | ![]() |
makhlaghi | ||
Open/Closed | Open | ![]() |
Closed | ||
2017-01-17 | makhlaghi | Reassign item | GNU Astronomy Utilities, sr #109221 | ![]() |
GNU Astronomy Utilities, bug #50072 |
Thank you very much Lee, for the great bug description and the attached images.
I was able to reproduce the bug and find its solution, it has been pushed to the main repo.
The fix to this bug was a simple correction, but after doing it, I noticed another fundamental bug (as fully described in the commit message) which has also been fixed with this commit.
In short, while the image would be aligned back to its original orientation, the pixel scale would be different! It was very confusing for me at first, but after digging into the code, I found the problem and was able to fix it.
The procedure to get the most recent version of Gnuastro is fully described in the Version controlled source section of the book. In short, you just have to clone it as described there, then bootstrap it. Bootstrapping just has a few extra dependencies, but once you do it, you can always stay synchronized with the latest commits.
However, if the bootstrapping is not possible for you now, I would be happy to send you the updated tarball (version 0.2.56-6184) for you to check. It should be fixed, but in the unlikely case that it isn't, please let us know on sr #109221 (on the support tracker).
Thanks again for the great bug report, it was a very interesting test, very productive report and a challenging/educative solution (for me!).