You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Please let me know if there is any straightforward way to get the full 4096 by 4096 array back after applying the register function. I checked that aia_prep.pro in SSWIDL is not doing this resizing. help needed.
The text was updated successfully, but these errors were encountered:
dinesh-hegde
changed the title
Request to add the feature get the exact image array size back after applying register.
Request to add the feature to get the exact image array size back after applying register.
Feb 21, 2024
This is known behavior with that function that we had to add a warning note to the function.
The affine transform has to cut off pixels to account for the de-rotation correctly.
If you do need to go back to the original size of 4096 by 4096, the current best method is to do something like (this is old code, you will have to adapt it):
Thank you. Do you think the resized output size is always 4094 by 4094? After looking at the warning on the documentation page,I was just thinking whether this manual padding of some constant value is ok or not.
Output array was 4094 by 4094.
Yes, I need it to be 4096 by 4096.
No, working on some ML project.
For everyone, I have spoken to about this issue, the array has always been 4094 by 4094 but I forget if it was wavelength dependent. I think a lot of the time the array was the same size? How has been in your case?
Padding the array by one each side, should be safe as you would be padding the edges and those are basically 0
Hi,
Please let me know if there is any straightforward way to get the full 4096 by 4096 array back after applying the register function. I checked that aia_prep.pro in SSWIDL is not doing this resizing. help needed.
The text was updated successfully, but these errors were encountered: