Author Topic: How to set default channel depth for XISF files with image container?  (Read 1695 times)

Offline Can Poyrazoğlu

  • Newcomer
  • Posts: 9
Hello,

I'm trying to apply a process to a set of files in batch, and I'm using Image Container for it as seen in the screenshot (I drag the instance of container to my process to apply it to all images).

I've set the extension as .XISF to save them as PixInsight files.

However, when my images are saved as UInt16 depth per pixel per channel. I want to save them Float32 by default. Since I don't get the save dialog to choose pixel depth, I don't know how to change it.

How do I make PixInsight save XISF files as Float32?

Thanks,
Can.

Offline Juan Conejero

  • PTeam Member
  • PixInsight Jedi Grand Master
  • ********
  • Posts: 7111
    • http://pixinsight.com/
Hi Can,

Use the SampleFormatConversion process to convert your images to 32-bit floating point format before saving them as XISF files.

However, by doing this you'll gain absolutely nothing, besides wasting a considerable amount of hard disk space. Your .CR2 files contain 16-bit raw data. You cannot improve the data or 'make it more precise' by saving these files as 32-bit images. You should write them just as they are, that is as unsigned 16-bit integer images.
Juan Conejero
PixInsight Development Team
http://pixinsight.com/

Offline Juan Conejero

  • PTeam Member
  • PixInsight Jedi Grand Master
  • ********
  • Posts: 7111
    • http://pixinsight.com/
Oops!

Quote
I'm trying to apply a process to a set of files in batch

Sorry, I interpreted your post as if you were simply trying to save your .CR2 files in XISF format. If you are processing the images before saving them, then the 32-bit floating point format may make sense. In such case, use the SampleFormatConversion process at the beginning of your processing sequence (for example, as the first process of a ProcessContainer) to convert each image to Float32 before processing it.
Juan Conejero
PixInsight Development Team
http://pixinsight.com/