Author Topic: Color space confusion...need help  (Read 950 times)

Offline aworonow

  • PixInsight Addict
  • ***
  • Posts: 258
    • Faint Light Photography
Color space confusion...need help
« on: 2019 April 19 13:46:37 »
Hi, I have a problem. Normally I work in ProPhoto, and convert to sRGB for final output. However, I did something wrong at the wrong time and now have a fully processed image-that looks just like I want it to,...but I cannot save and recover that image (say as a jpg).-I think I at some point change the tag from ProPhoto to sRGB without actually transforming the profile, then continued processing. Now, if I save the image, as is, then re-open it, it is too dark and has a color shift (just like opening a ProPhoto image in a pgm that expects sRGB). If I change the tag (no transform applied) to sRGB and save it. When reopened, again it is wrong.
Is there some way to keep the image I see in PI, and assign a color space to the image (or apply some other magic or program) so that it reopens looking just like the image I saved?

Thanks, Alex

Offline johnpane

  • PixInsight Enthusiast
  • **
  • Posts: 93
Re: Color space confusion...need help
« Reply #1 on: 2019 April 19 14:11:02 »
I think I at some point change the tag from ProPhoto to sRGB without actually transforming the profile, then continued processing. Now, if I save the image, as is, then re-open it, it is too dark and has a color shift (just like opening a ProPhoto image in a pgm that expects sRGB). If I change the tag (no transform applied) to sRGB and save it. When reopened, again it is wrong.

Based on your hypothesized problem, you should change the tag back to ProPhoto.

Offline aworonow

  • PixInsight Addict
  • ***
  • Posts: 258
    • Faint Light Photography
Re: Color space confusion...need help
« Reply #2 on: 2019 April 19 15:00:18 »
John,
I tried that...changing the profile tag alone (to PhoPhoto) leaves the image unchanged in PI. But saving-reopening it leads to a dark image that has the ProPhoto tag. Changing that tag to sRGB does not change the inmage.

If I assign the image a ProPhoto profile, it immediately has major color shifts.
Alex

Offline Juan Conejero

  • PTeam Member
  • PixInsight Jedi Grand Master
  • ********
  • Posts: 7111
    • http://pixinsight.com/
Re: Color space confusion...need help
« Reply #3 on: 2019 April 20 05:06:47 »
Hi Alex,

To troubleshoot this color management problem, I have a few questions first:

- I assume you have (or can have) the image open in PixInsight and you like what you see, correct?

- Right-click on the image and select Load View Explorer. On the View Explorer window, right panel, look for the color-management tree item (usually near the bottom of the tree). Tell me the values of the following sub-items:

      icc-profile
      enabled
      proofing
      gamut-check

- Select Edit > Color Management Setup from the main menu. Let me know the monitor profile and the rendering intent selected in the Monitor Profile section. Let me know also the currently selected RGB default profile.
Juan Conejero
PixInsight Development Team
http://pixinsight.com/

Offline aworonow

  • PixInsight Addict
  • ***
  • Posts: 258
    • Faint Light Photography
Re: Color space confusion...need help
« Reply #4 on: 2019 April 20 05:56:59 »
Juan,
Thanks for take this on!

Yes, I have the image open in PI, and when I save the project and re-open it, again the image opens in the colors I want to retain.

icc-profile: sRGB IEC61966-2.1
enable: true
proofing: false
gamut-check: false

monitor profile: Calib 02262019 (which is from a calib device and I've been using it for several months now.)
rendering intent: Preceptual
RGB default profile: keep embedded profile

That's the story. Thanks again for helping.

Alex

Offline Juan Conejero

  • PTeam Member
  • PixInsight Jedi Grand Master
  • ********
  • Posts: 7111
    • http://pixinsight.com/
Re: Color space confusion...need help
« Reply #5 on: 2019 April 22 02:39:58 »
Hi Alex,

Sorry for the delay in getting back to you here. Your image is tagged with the standard sRGB profile. Since you like what you see, we can affirm that the image is effectively in the sRGB space (a nice advantage of deep-sky astrophotography: we are not constrained by daylight color rules). So the correct procedure to export the image is embedding the standard sRGB profile—or, if the image is going to be deployed to the web, you can alternatively leave it untagged, since sRGB is the default color space of the web; however this is not recommended nowadays, in general.

You can also convert the image to ProPhoto, if you wish (and obviously, assign the corresponding profile). However, you'll gain nothing by doing this because ProPhoto is much larger than sRGB, and probably much larger also than your monitor's color space. In other words, what you already have restricted by sRGB cannot be improved by spreading it into a larger room such as ProPhoto.

Quote
If I assign the image a ProPhoto profile, it immediately has major color shifts.

You have to convert pixel values to the ProPhoto space, i.e., use the ICCProfileTransformation process instead of AssignICCProfile. If you simply assign the profile, you are cheating the color management system... and it always wins! :)

Quote
monitor profile: Calib 02262019 (which is from a calib device and I've been using it for several months now.)

If you use other applications to browse or view images, including your desktop files manager, make sure that the same profile is being associated with your monitor, either on each application, or at the global system level.

Let me know if you get the desired results by embedding the sRGB profile when you save the image.


Juan Conejero
PixInsight Development Team
http://pixinsight.com/

Offline aworonow

  • PixInsight Addict
  • ***
  • Posts: 258
    • Faint Light Photography
Re: Color space confusion...need help
« Reply #6 on: 2019 April 22 06:24:50 »
What you say: "do the conversion, not just the assignment" is my protocol...however, I think I slipped up this one time. That's where the trouble began. Thanks for looking at my setup.
Alex