Share:
Notifications
Clear all

2022-01-07:  APP 1.083 has been released !!!

1.083 Windows 64bits download

1.083 MacOS 64bits download

1.083 Linux DEB-64bits download

1.083 Linux RPM 64bits download

  • new Star Reducer Tool
  • 15-30% speed increase in processing
  • introducing Comet registration
  • support for new camera models like Canon EOS R5,R6
  • Greatly improved HSL Selective Color Tool
  • New Batch Tools
  • New File Saver Module with PNG support

Color spaces  

  RSS

(@svdwal)
White Dwarf Customer
Joined: 2 years ago
Posts: 27
October 10, 2021 20:23  

When you save an image in TIFF, PNG, JPEG format, you can specify a color space, such as sRGB. I am wondering how this is done. I expect APP just to set the chosen color space, and not do anything to the image itself. But it could be possible that the color space of the input files is used, eg, when you import DSRL RAW's.

Reason I am asking is because it appears to be possible to map emission line wavelengths to RGB colours in a color space, for instance: https://stackoverflow.com/questions/3407942/rgb-values-of-visible-spectrum/22681410#22681410.  


ReplyQuote
(@mabula-admin)
Quasar Admin
Joined: 5 years ago
Posts: 2893
October 10, 2021 22:11  

Hi Sander, @svdwal

If you save an image with a color profile, an ICC profile is attached to the metadata which holds information for other applications so they can present the data in that way while respecting that color space.

When the ICC profile is applied to the metadata, there is a color convert operation done on the data so the data does change. This is needed for color management to work properly.

The color space of an input images does not apply nor is used nor is it relevant. The RAW images have linear RGB data, the metadata that says it might be sRGB or Adobe1998 for instance is just for image viewers to be able to show it in that color space in it's non-linear representation. The RAW data is simply the non-converted data, so you could present it in any color space as you want or need to 😉

As you could read in the mentioned topic on stack overflow, it is not a simple task to convert a visual wavelength to a specific 8bit RGB color... but yes you can get there of course. But I must point out, this is something completely different than color management in which you try to maintain the colors that you have on your computer screen and save it with an ICC profile, so another application on your computer and monitor will show the data exactly the same...

Color management takes places on many levels and is not an easy subject. The software needs to be able to do it. Then your computer monitor needs to be able to show that color space. Most monitors can only show sRGB fully... so using a color space like Adobe 1998 is not very usefull for many because their monitor can't show it properly. And then you still need to make sure that the monitor is well calibrated... if it is not, things will probably not look correct...

Mabula


ReplyQuote
(@svdwal)
White Dwarf Customer
Joined: 2 years ago
Posts: 27
October 11, 2021 18:30  

Thanks, Mabula. I am aware of some of the issues, and will run into some of the other ones too. 

 

I have a better link, with a theory and accompanying Python code: http://www.markkness.net/colorpy/ColorPy.html

 

 


ReplyQuote
Share: