FITS roworder suppo...
 
Share:
Notifications
Clear all

Apr 9 2026 APP 2.0.0-beta40 will be released in 24 hours !

It has a major performance boost of 30-50% over 2.0.0-beta39 from calibration to integration, for mosaics even faster! We extensively optimized many critical parts of APP. All has been tested to guarantee correct optimizations. Drizzle and image resampling is much faster for instance, those modules have been completely rewritten. Much less memory usage. LNC 2.0 will be released which works much better and faster than LNC in it's current state. Improved Outlier Rejection with LN 2.0 rejection. macOS CMD+A works now in file chooser ! And more, all will be added to the release notes in the coming hours...

Update on the 2.0.0 release & the full manual

We are getting close to the 2.0.0 stable release and the full manual. The manual will soon become available on the website and also in PDF format. Both versions will be identical and once released, will start to follow the APP release cycle and thus will stay up-to-date to the latest APP version.

Once 2.0.0 is released, the price for APP will increase. Owner's license holders will not need to pay an upgrade fee to use 2.0.0, neither do Renter's license holders.

 

FITS roworder support?

13 Posts
3 Users
4 Reactions
2,158 Views
(@raybellis)
White Dwarf
Joined: 3 years ago
Posts: 9
Topic starter  

Can I please get confirmation of the status of support for ROWORDER in FITS files?

The files generated by my Vespera are BOTTOM-UP.  They don't actually say so, so I've written code to add this keyword to my files (and fix some other minor non-conformities).  However when I load such a file it still appears flipped in the image viewer:

Screenshot 2023 01 27 at 00.14.21

M32 should appear on the bottom left of this image, but is in the top left instead.  I'm using a trial license, running 2.0.0-beta13 on Apple silicon.

Thanks! 



   
ReplyQuote
(@Anonymous 174)
Joined: 9 years ago
Posts: 5702
 

I'm not sure but is roworder a standard keyword for the Fits specification?



   
ReplyQuote
(@raybellis)
White Dwarf
Joined: 3 years ago
Posts: 9
Topic starter  

@vincent-mod It's not, but then again the FITS spec itself has very few keywords explicitly defined in it.  Many of the commonly used keywords (even ones like RA / DEC) are defined in agency-specific dictionaries and not in the core spec.

I have searched here and found release notes saying ROWORDER is supported in APP, but yet it doesn't appear to work, hence my puzzlement.



   
ReplyQuote
(@Anonymous 174)
Joined: 9 years ago
Posts: 5702
 

Right, I'll ask Mabula about it. Please note that we're away to Astrofest in London (Mabula from 29-01 and me from 02-02), I hope I can get an answer before that for you.



   
Ray Bellis reacted
ReplyQuote
(@raybellis)
White Dwarf
Joined: 3 years ago
Posts: 9
Topic starter  

Is there any news on this, please?



   
ReplyQuote
(@Anonymous 174)
Joined: 9 years ago
Posts: 5702
 

Not yet unfortunately, Mabula is unavailable at the moment. I'll make sure he gets to the posts when he is.



   
Ray Bellis reacted
ReplyQuote
(@mabula-admin)
Universe Admin
Joined: 9 years ago
Posts: 5056
 

Hi Ray @raybellis,

The Fits roworder keyword is fully supported in the latest APP version.

The keyword actually indicates how data with a Bayer Color Filter Array should be debayered. It does not indicate that the image should be shown upside down I think. Depending on the ROWORDER being bottom-up or top-down an inverse Bayer pattern should be use to correctly debayer the data.

https://free-astro.org/index.php?title=Siril:FITS_orientation

Mabula



   
ReplyQuote
(@raybellis)
White Dwarf
Joined: 3 years ago
Posts: 9
Topic starter  

Hi @mabula-admin  !

I believe it's strictly intended to address both.  It happens that Siril always (and IMHO incorrectly) assumes bottom-up for display purposes, but other applications (e.g. PI) do the "right" thing both for Debayer and for display in the presence of the keyword.

As written in the portion of the FITS specification that was quoted in the above link:

we recommend that FITS writers order the pixels so that the first pixel in the FITS file (for each image plane) be the one that would be displayed in the lower-left corner

yet APP always loads and displays the image data such that the first pixel is displayed at top-left.

Ray



   
ReplyQuote
(@mabula-admin)
Universe Admin
Joined: 9 years ago
Posts: 5056
 

Hi Ray @raybellis,

Okay, I will check this behaviour 😉 and fix it then.

It would help me if you can share 1 or 2 of your light frames with me, simply for testing purposes.

Can you upload a couple of frames here:

https://upload.astropixelprocessor.com/

username: upload

password: upload

Please make a folder with your name and issue like: RayBellis-FITS-ROWORDER

and let me know once uploaded 😉 then it will be easy to correct.

Mabula

 



   
Ray Bellis reacted
ReplyQuote
(@raybellis)
White Dwarf
Joined: 3 years ago
Posts: 9
Topic starter  

@mabula-admin I've uploaded two files into RayBellis-VesperaFITS

img-0001.fits is the file straight off the scope (a Vaonis Vespera smart scope).  It's bottom-up data (per FITS recommendations) but doesn't say so.

light-0001.fits is the same file with the FITS headers cleaned up for conformance.

thanks!

Ray


This post was modified 3 years ago by Ray Bellis

   
ReplyQuote
(@mabula-admin)
Universe Admin
Joined: 9 years ago
Posts: 5056
 

Thanks Ray @raybellis,

Willl keep you updated 😉 !

 



   
Ray Bellis reacted
ReplyQuote
(@mabula-admin)
Universe Admin
Joined: 9 years ago
Posts: 5056
 

Posted by: @raybellis

@mabula-admin I've uploaded two files into RayBellis-VesperaFITS

img-0001.fits is the file straight off the scope (a Vaonis Vespera smart scope).  It's bottom-up data (per FITS recommendations) but doesn't say so.

light-0001.fits is the same file with the FITS headers cleaned up for conformance.

thanks!

Ray

Hi @raybellis,

I have fixed this now. FITS images with the ROWORDER tag BOTTOM-UP will also be displayed BOTTOM-UP. I have made sure that calibration is not affected, old calibration masters will still work properly. 2.0.0-beta14 will have this fix and I will probably release it within a couple of days 😉

Mabula

 

 



   
ReplyQuote
(@raybellis)
White Dwarf
Joined: 3 years ago
Posts: 9
Topic starter  

Great, thanks!

Ray



   
ReplyQuote
Share: