Author Topic: Using the ColorMask script for non-astro images  (Read 1706 times)

Offline msmythers

  • PTeam Member
  • PixInsight Jedi
  • *****
  • Posts: 1178
    • astrobin
Using the ColorMask script for non-astro images
« on: 2018 September 14 15:56:52 »
I'd like to first thank Rick for the ColorMask script. It was and is a huge tool for my processing of many images. I just want to give those who might not have thought about ways of using it for images other than astro related a little example. It's not a great example but it's enough to make you think, I think.

I had an image I wanted to insert another image into. It was a giraffe with varying light levels and shades. One of those where RangeSelection would not work well on. This is where ColorMask shines. Just define the hue range and make the mask. I did some added steps like Binarize and MorphologicalTransformation to clean up the mask a little but ColorMask made this possible and easy. Again not a great example but enough to see the result.



Mike

Offline RickS

  • PTeam Member
  • PixInsight Jedi
  • *****
  • Posts: 1298
Re: Using the ColorMask script for non-astro images
« Reply #1 on: 2018 September 14 19:58:42 »
That wasn't a use case I had in mind, Mike, but that's the beauty of general purpose tools.  Nicely done!

Cheers,
Rick.

Offline msmythers

  • PTeam Member
  • PixInsight Jedi
  • *****
  • Posts: 1178
    • astrobin
Re: Using the ColorMask script for non-astro images
« Reply #2 on: 2018 September 15 00:38:13 »
Thanks Rick

I do all my image processing in PI so I enjoy the slightly non-standard uses of most tools. I really like color balancing old, faded, scanned slides and photos from the 50's and 60's with BN and CC. Works very well.


Mike