(Created page with "=Orientation des images FITS=")
(Created page with "La norme FITS est un conteneur qui décrit comment stocker les données et métadonnées de l'image. Des outils professionnels, dès les débuts du format FITS, comme ds9...")
Line 1: Line 1:
=Orientation des images FITS=
=Orientation des images FITS=


The FITS standard is a container that describes how to store image data and meta-data. Professional tools, from the early age of the FITS format, like [[ds9]] (Harvard Smithsonian Center for Astrophysics), [https://heasarc.gsfc.nasa.gov/docs/software/ftools/fv/ fv] (FITS viewer from NASA), store images '''bottom-up'''. We might be tempted to say that it does not really matter, but when demosaicing or astrometry is involved, problems arise. For example, the usual RGGB Bayer pattern becomes GBRG if the image is upside-down.
La norme FITS est un conteneur qui décrit comment stocker les données et métadonnées de l'image. Des outils professionnels, dès les débuts du format FITS, comme [[ds9]] (Harvard Smithsonian Center for Astrophysics), [https://heasarc.gsfc.nasa.gov/docs/software/ftools/fv/ fv] ( FITS viewer de la NASA), stockent les images '''de bas en haut'''. On pourrait être tenté de dire que cela n'a pas vraiment d'importance, mais lorsque le dématriçage ou l'astrométrie sont impliqués, des problèmes surviennent. Par exemple, le motif Bayer RGGB habituel devient GBRG si l'image est à l'envers.


Nowadays, despite this, most camera drivers are writing data in the top-down order and we have to cope with it.
Nowadays, despite this, most camera drivers are writing data in the top-down order and we have to cope with it.

Revision as of 21:08, 10 July 2020

Orientation des images FITS

La norme FITS est un conteneur qui décrit comment stocker les données et métadonnées de l'image. Des outils professionnels, dès les débuts du format FITS, comme ds9 (Harvard Smithsonian Center for Astrophysics), fv ( FITS viewer de la NASA), stockent les images de bas en haut. On pourrait être tenté de dire que cela n'a pas vraiment d'importance, mais lorsque le dématriçage ou l'astrométrie sont impliqués, des problèmes surviennent. Par exemple, le motif Bayer RGGB habituel devient GBRG si l'image est à l'envers.

Nowadays, despite this, most camera drivers are writing data in the top-down order and we have to cope with it.

For these reasons, we recently have introduced, together with P. Chevalley of CCDCiel, a new FITS keyword. We encourage all data producers, INDI and ASCOM developers, to use it in order to make things easier for everybody.


This keyword is ROWORDER of type TSTRING. It can take two values: BOTTOM-UP and TOP-DOWN.


Siril will always read and display images in the bottom-up order, however if the top-down information is specified in the keyword, then Siril will demosaic the image with the corrected pattern.


Why would some programs write images bottom-up in the first place? The reason is: mathematics do it that way.