PixInsight ColorMask Script: Confusion and Analysis

Поделиться
HTML-код
  • Опубликовано: 17 янв 2025

Комментарии • 22

  • @SteveKennedy2902
    @SteveKennedy2902 2 года назад +1

    Thank you for doing this Adam -- excellent analysis.

  • @starsips
    @starsips 2 года назад

    This video was very much needed! Thank you Adam!

    • @AdamBlock
      @AdamBlock  2 года назад +1

      Thanks for watching

  • @paths1111
    @paths1111 2 года назад

    Very interesting, it would definitely explain some of the odd results I've gotten from the script periodically. Replacing the CIEh() with H() in the script does indeed produce results more in line with expectations from the color wheel, as well as the hue angles specified by the buttons. Thanks for pointing this out!

  • @Bonsajist
    @Bonsajist 2 года назад

    Amazing find! Thanks for this video!!

    • @AdamBlock
      @AdamBlock  2 года назад

      Thank you for watching!

  • @0to100Art
    @0to100Art 2 года назад

    Interesting to watch how you make this painting, the technique you use is fascinating. 🙂👍

  • @Calzune
    @Calzune 2 года назад

    Thank you Adam! These videos are gold! I wonder if he still wants to update the script...?

  • @billblanshan3021
    @billblanshan3021 2 года назад

    Excellent find Adam!!! Looking into the math now 🙂

    • @AdamBlock
      @AdamBlock  2 года назад

      It is probably a 5 minute fix really. :)

  • @niccoc1603
    @niccoc1603 2 года назад

    Interesting. I went ahead and did some tests. The h (hue) angle in CIE Lab color space is defined as the angle between the +a axis (red) and the Crominance point. Coordinate conversions between color spaces can be calculated on the EasyRGB website. I created a pure RGB red image in Pixinsight (255,0,0) and measured it with the probe. RGB and HSV values match with EasyRGB and Photoshop pure red but CIE values (both Lab and LCh) in Pixinsight differ from EasyRGB and PS. I am wondering how the CIE color space is implemented in PI?

  • @davidleejenkins
    @davidleejenkins 2 года назад

    Thank you Adam. Now I know why I struggled to get this script to work properly.

    • @AdamBlock
      @AdamBlock  2 года назад

      Thanks for watching.

  • @BennyColyn
    @BennyColyn 2 года назад +1

    The Colormask script seems to be untouched since 2017 if you open the JS file. I'd say it could use some TLC.
    If you look at the source you can see the script indeed uses pixelmath with the CIEh() function, it should perhaps be easier to just change that to use the H() or Hd() function and forego all the the mad lookups to get the right value. The inputs in the dialog seem to match the output of H() better at any rate. After seeing this I'm gonna try and make a patched version for my own use anyway.

    • @AdamBlock
      @AdamBlock  2 года назад

      I understand- I created this years ago as well..it is old- but no corrections have been made. At the time, I didn't know to look at the script code (or really how to interpret it). So, this was a video that was a journey of discovery. As I said, I kept it behind my paywall for years since I didn't think I was an expert and no one seemed to care it didn't make sense. There are other videos of this nature on my site as well.. perhaps I keep those in the vault also. I am constantly accused as self aggrandizement for this stuff.

    • @SteveKennedy2902
      @SteveKennedy2902 2 года назад

      @@AdamBlock Sorry to interrupt - not my post - but it is sad if anyone says correcting software errors is self-aggrandizing because (a) these script errors need to be identified so that hobbyists do not waste precious time fighting the software incorrectly believeing we are doing things incorrectly; (b) you have 8,000 YT subscribers so, by definition of the word, there is nothing for you to aggrandize (you're already well known); and (c) disclosure might inspirre program management to correct/improve the script. And hey Benny -- I was thinking of doing the same thing but I am even less skilled at coding than I am at post processing. I hope you will make your mods public (and risk being accused of self aggrandizement, lol).

  • @thorstenglebe7236
    @thorstenglebe7236 2 года назад

    Hi Adam, I think the script can be fixed by replacing in the PixelMath expression the call to CIEh() by a call to H(). At least for me it produced the expected result.

    • @AdamBlock
      @AdamBlock  2 года назад +1

      Yeah..I think that is right. It is easy to do...now that you know WHY you have to do it. Someone had to figure that out in the first place. :)

    • @AdamBlock
      @AdamBlock  2 года назад +1

      I am making a video now... lol

  • @stephen2615
    @stephen2615 8 месяцев назад

    I can not look at zebras again.