Save as 16bit Fits ...
 
Share:

Save as 16bit Fits instead of 32?  

  RSS

(@skestergmail-com)
White Dwarf Customer
Joined: 10 months ago
Posts: 20
19/06/2019 9:09 pm  

Hello, I'm working with another program that only supports 16bit Fits rather than 32bit. Currently APP is saving as 32bit, and I can't seem to find an option to change this to 16.  Is there a way to change the bit depth APP saves for fits files to 16?

This topic was modified 3 weeks ago by Mabula Haverkamp - Admin

ReplyQuote
(@vincent-mod)
Black Hole Moderator
Joined: 2 years ago
Posts: 417
20/06/2019 11:19 am  

Mmmmmm, good question. I think it'll be 16-bit if the masters are 16-bit, but it would be nice to have a conversion for fits saving indeed. With saving to tif (you can select 8, 16 and 32-bit) and jpg it works. Let's tag Mabula (@Mabula-admin).


ReplyQuote
(@skestergmail-com)
White Dwarf Customer
Joined: 10 months ago
Posts: 20
20/06/2019 6:02 pm  

Vincent, my source files are all 16 bit fits.  If I calibrate my lights and save the resulting data as fits, the files are 32bit.  I thought perhaps the ability do change the output to 16bit fits was already present in APP and I was overlooking it. It's not something I would need to do on a regular basis, so not a big priority by any means.  Thanks

 


ReplyQuote
(@vincent-mod)
Black Hole Moderator
Joined: 2 years ago
Posts: 417
27/06/2019 8:06 pm  

Does this also happen when the (create 32-bit masters) option is unselected? If so, I have to say I don't think it does output to 16-bit in another way. Not that I'm aware of at least, never used photoshop to process further so never encountered it as a problem, but I certainly think it should be an option (@mabula-admin).

This post was modified 3 weeks ago by Vincent Groenewold - Moderator

ReplyQuote
(@mabula-admin)
Quasar Admin
Joined: 2 years ago
Posts: 2091
28/06/2019 4:04 pm  

Dear Scott  @skestergmail-com & Vincent @vincent-mod,

Let me explain in detail what APP does:

In 2) Calibrate, if you let APP create 32bits Masters, then the calibrated data will always be 32bits. If you disable the creation of 32bits masters, then the calibrated data will still be 16bits IF the light frames are 16bits. If the light frames are 32bits, then the calibrated frames will be 32bits as well.

Now if you create an integration, the result will always be 32bits in APP. The data normalization in 5) Normalize will convert all 8bit & 16bit data to 32bits. This is required for good data normalization and also ensures that APP, as an application, has no issue with normalizing data of different bit depths of different sources (different camera's/captures software).

So the integration will always be 32bits. However if you load the integration into the image viewer by double clicking on it, you can save it to another data format and/or depth with the save button below the histogram. You will be able to save it with or without a stretch applied. So if you just want the 32bits integration converted to 16bits then:

  1. double click on the integration in the frame list, this will load the integration into the image viewer.
  2. disable the stretch box next to the save button
  3. click on save
  4. save as FITS
  5. choose 16bits

Now, I would always recommed to not do this. You will be throwing away data which is very important to get a good processed result after stretching the data. So if you want to save the 32bits integration as 16bits, at least apply some stretch on it before saving it to 16bits.

Let me know if this is clear and makes sense 😉

Kind regards,

Mabula

Main developer of Astro Pixel Processor and owner of Aries Productions


ReplyQuote
(@vincent-mod)
Black Hole Moderator
Joined: 2 years ago
Posts: 417
28/06/2019 4:20 pm  

Mmm, I just tried on a 32-bit integrated result, but I don't see an option to change the amount of bits. So step 5 doesn't show up for me. It only shows up for tiff and jpeg.

This post was modified 3 weeks ago by Vincent Groenewold - Moderator

ReplyQuote
(@skestergmail-com)
White Dwarf Customer
Joined: 10 months ago
Posts: 20
28/06/2019 4:35 pm  
Posted by: Vincent Groenewold - Moderator

Mmm, I just tried on a 32-bit integrated result, but I don't see an option to change the amount of bits. So step 5 doesn't show up for me. It only shows up for tiff and jpeg.

Yes, same for me.  If saving as tiff I am prompted to choose bit depth, but not for fits files.  


ReplyQuote
(@mabula-admin)
Quasar Admin
Joined: 2 years ago
Posts: 2091
29/06/2019 1:29 pm  

Hi Vincent @vincent-mod and Scott @skestergmail-com,

Okay, yes indeed, I will make sure that this is possible in the next release 😉

Mabula

Main developer of Astro Pixel Processor and owner of Aries Productions


Share: