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)

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

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>

 

No files currently attached

 

Depends on the following items: None found

Items that depend on this one: None found

 

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

    Do you think this task is very important?
    If so, you can add your encouragement to it.
    This task has 0 encouragements so far.

    Only logged-in users can vote.

     

     

     

    No changes have been made to this item

    Back to the top


    Powered by Savane 3.7