[Top][All Lists]

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

[bug #63171] Strange patterns on warped images

From: Raul Infante-Sainz
Subject: [bug #63171] Strange patterns on warped images
Date: Wed, 12 Oct 2022 02:59:02 -0400 (EDT)

Follow-up Comment #14, bug #63171 (project gnuastro):

Thanks a lot Pedram and Mohammad.

With the code you posted it is much easy to play with. I am still looking at
some points that come to my mind. Probably they have no sense but I found
something that is disturbing me. 

If you remember, in my first post of this thread I converted the original
image to 'uint8'. Why? just because I needed to upload the image and I wanted
to reduce the size. Then I realized some of the things we are investigating.

Now, I did something similar. I consider the input image as 'float64' instead
of the original 'float32' data type. So, basically I added to your code
'float64' in the lines where the ones and noise images are created:

astarithmetic m51.fits -h1 float64 set-i i i / -o ones.fits

astarithmetic m51.fits -h1 float64 set-i i i / 10 mknoise-sigma -o noise.fits

Before running it, my guess was that nothing should change significantly. I am
right? The result is that they are actually different. Of course, the final
results of swarping/resampling also differ. 


Reply to this item at:


Message sent via Savannah

reply via email to

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