bugGNU Astronomy Utilities - Bugs: bug #57024, Bad stich, full of NaNs, when...

 
 

You are not allowed to post comments on this tracker with your current authentication level.

bug #57024: Bad stich, full of NaNs, when using crop (version 0.8.36-9e13)

Submitter:  Roberto Baena Gallé <rbaena>
Submitted:  Wed 09 Oct 2019 11:32:56 AM UTC
   
 
Category:  Crop Severity:  3 - Normal
Priority:  5 - Normal Item Group:  Output not reasonable
Status:  None Privacy:  Public
Assigned to:  None Open/Closed:  Open

Discussion

Wed 09 Oct 2019 11:39:08 AM UTC, comment #1: 


envío original:

> A bright star covers positions in two different images. I am trying to create one single image centered around the star from the first two.
>
> The following line gives a correct result
>
> $> astcrop --mode=wcs --zeroisnotblank --center=150.43153,2.2918385 --width=1200/3600,600/3600 -h1 calexp-HSC-I-9813-3,?-dud-align.fits --output=output_good.fits
>
>
> However, if I reverse the orientation of the rectangle box, pixels corresponding to the lower image are full of NaN, when they should appear in the final image since they lie within the box
>
> $> astcrop --mode=wcs --zeroisnotblank --center=150.43153,2.2918385 --width=600/3600,1200/3600 -h1 calexp-HSC-I-9813-3,?-dud-align.fits --output=output_bad.fits
>
>
> P.S.: original images were aligned using warp
>
> $> astwarp --align calexp-HSC-I-9813-3,5-dud.fits --output=calexp-HSC-I-9813-3,5-dud-align.fits
> $> astwarp --align calexp-HSC-I-9813-3,4-dud.fits --output=calexp-HSC-I-9813-3,4-dud-align.fits
>
> P.S.: it would be nice to be able to use the option --noblank option in wcs mode to remove NaN values.

Roberto Baena Gallé <rbaena>
Wed 09 Oct 2019 11:32:56 AM UTC, original submission:  

A bright star covers positions in two different images. I am trying to create one single image centered around the star from the first two.

The following line gives a correct result

$> astcrop --mode=wcs --zeroisnotblank --center=150.43153,2.2918385 --width=1200/3600,600/3600 -h1 calexp-HSC-I-9813-3,?-dud-align.fits --output=output_good.fits


However, if I reverse the orientation of the rectangle box, pixels corresponding to the lower image are full of NaN, when they should appear in the final image since they lie within the box

$> astcrop --mode=wcs --zeroisnotblank --center=150.43153,2.2918385 --width=600/3600,1200/3600 -h1 calexp-HSC-I-9813-3,?-dud-align.fits --output=output_bad.fits


P.S.: original images were aligned using warp

$> astwarp --align calexp-HSC-I-9813-3,5-dud.fits --output=calexp-HSC-I-9813-3,5-dud-align.fits
$> astwarp --align calexp-HSC-I-9813-3,4-dud.fits --output=calexp-HSC-I-9813-3,4-dud-align.fits

P.S.: it would be nice to be able to use the option --noblank option in wcs mode to remove NaN values.

Roberto Baena Gallé <rbaena>

 

Attached Files

This item currently has no attached files.

 

Dependencies

This item does not depend on any other items.

No items depend on this one.

 

Mail Notification Carbon-Copy List

Carbon-Copy List
  • -email is unavailable- added by rbaena (Submitted the item)
  •  

    Votes

    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.

     

    History

    No changes have been made to this item

    Back to the top

    Powered by Savane 3.16-598c.
    Corresponding source code