Author Topic: New script: ColorMask  (Read 48352 times)

Offline mikalovich

  • Newcomer
  • Posts: 8
    • View Profile
Re: New script: ColorMask
« Reply #30 on: 2015 May 23 16:26:06 »
Can someone please tell me where I can find the "color mask script" in PI and how do I add it to my favorites. I am still new to PI and learning all it can do. I saw an example someone did with it and want to play around with it myself but can't find it anywhere in PI. I went to scripts/featured scripts but it is not listed in there. I have read thru this thread 3 times, gone to the PI resource page and don't see it anywhere. Any help would be greatly appreciated. Thank you!

Offline msmythers

  • PTeam Member
  • PixInsight Jedi
  • *****
  • Posts: 1176
    • View Profile
    • astrobin
Re: New script: ColorMask
« Reply #31 on: 2015 May 23 16:42:19 »
Very first page of this posting has the script for download. This script is not part of the official release at this time I believe. You have to add the script to PixInsight. If you read the whole posting you will also see link from Alejandro to a video on how to add a script to PixInsight.



Mike

Offline mikalovich

  • Newcomer
  • Posts: 8
    • View Profile
Re: New script: ColorMask
« Reply #32 on: 2015 May 23 18:45:35 »
Thank you. I finally found the zip file under the first posting and when I click on it and try to open it, I get a "windows script host" window with a big red X and this is what I get: C:\Users\Mika\AppData\Local\Temp\Temp1_colorMask_v0.2zip\ColorMask.js
Line :   16
Char:   1
Error:   Invalid character
Code:   800A03F6
Source: Microsoft JScript compilattion error

I am not understanding this or how to do it. I have watched Aljandro's vid on how to add scripts 20 times but again not getting it.  His desktop in the vid is in Spanish, which I don't read, there in no information on how to do it, just a quick moving of the mouse to here and there and I have no idea what he is doing in his vid. I'm getting really frustrated with this and about to give up. It looks like an awesome script to play with, that is if I could get it added.  Is there some place else where there are more "understandable" instructions on how to add this?

Offline Alejandro Tombolini

  • PTeam Member
  • PixInsight Jedi
  • *****
  • Posts: 1265
    • View Profile
    • Próxima Sur
Re: New script: ColorMask
« Reply #33 on: 2015 May 23 19:21:31 »
Hi mikalovich, I am not going to have a computer with PI for a week to prepare a better explanation of adding a script.
If I remember well the procedure should be:
Download the script
Save it in a folder
Unzip it
Open PI
Go to script>featured script
Select "add" button
Find the folder where you have unzipped the script
Select it
Select Done
It should says 1 additional script found
Hope it helps
Saludos, Alejandro

Offline mikalovich

  • Newcomer
  • Posts: 8
    • View Profile
Re: New script: ColorMask
« Reply #34 on: 2015 May 23 20:19:12 »
OHHHH THANK YOU SO VERY MUCH!!! That helps explain what I was seeing in the vid. I will try that and see if I can get it to work. Thank you so much for taking the time to explain it better to me, I really do appreciate it :-)

Offline RickS

  • PTeam Member
  • PixInsight Jedi
  • *****
  • Posts: 1295
    • View Profile
Re: New script: ColorMask
« Reply #35 on: 2015 May 24 04:10:16 »
Thanks for the helpful info, Alejandro!

I just uploaded a new version of the script (v0.3).  It adds an option to create a mask whose strength is based on Chrominance which I find very useful.  I still intend to do a very major overhaul of the script to implement all the feedback I have received.  Unfortunately, I'm spending too much time at work and too little on image processing so it may take me a while...

Cheers,
Rick.

Offline msmythers

  • PTeam Member
  • PixInsight Jedi
  • *****
  • Posts: 1176
    • View Profile
    • astrobin
Re: New script: ColorMask
« Reply #36 on: 2015 May 24 05:33:13 »
Rick

Very nice addition to the script. I find myself using the script often.


Thanks


Mike

Offline RickS

  • PTeam Member
  • PixInsight Jedi
  • *****
  • Posts: 1295
    • View Profile
Re: New script: ColorMask
« Reply #37 on: 2015 May 24 14:38:43 »
Glad to hear it is useful to others, Mike!

Offline mikalovich

  • Newcomer
  • Posts: 8
    • View Profile
Re: New script: ColorMask
« Reply #38 on: 2015 May 24 14:44:25 »
Thank you so very much Alejandro for taking the time to explain how to add the colormask script to my PI. I did it today and it WORKED!!!! Now to figure out how it works and play with it. I really do appreciate it. Mucho Gracias!!!

RickS...I have read and seen examples of your script and it looks awesome and something fun to play with. Now that I have it added I am going to play with it and see what I can do. Thank you too. That is what is so wonderful about this forum and PI, is the amount of people willing to help newbies like me out.

Offline Warhen

  • PTeam Member
  • PixInsight Old Hand
  • ****
  • Posts: 472
    • View Profile
    • Billions and Billions
Re: New script: ColorMask
« Reply #39 on: 2015 May 30 13:55:59 »
Rick S, Congrats!! This is very nice and will be included in Inside PixInsight, my book for Springer Press. I'd liken it to the power of Photoshop's (Sshhh...) Color Range selection tool. It enables PI users to target specific color ranges and works very well at defaults. I have a ways to go yet (17 chapters done) but when I get closer to postprocessing  tweaks such as this, I'd like to contact you for more specifics if that would be alright. Again, thank you very much from all of us Rick, and well done!
Best always, Warren

Warren A. Keller
www.ip4ap.com

Offline RickS

  • PTeam Member
  • PixInsight Jedi
  • *****
  • Posts: 1295
    • View Profile
Re: New script: ColorMask
« Reply #40 on: 2015 May 30 18:17:23 »
Rick S, Congrats!! This is very nice and will be included in Inside PixInsight, my book for Springer Press. I'd liken it to the power of Photoshop's (Sshhh...) Color Range selection tool. It enables PI users to target specific color ranges and works very well at defaults. I have a ways to go yet (17 chapters done) but when I get closer to postprocessing  tweaks such as this, I'd like to contact you for more specifics if that would be alright. Again, thank you very much from all of us Rick, and well done!

I'm glad you find it useful, Warren.  You're welcome to contact me at your convenience and perhaps this will give me the push needed to finish off the v2 version  :)

Cheers,
Rick.

Offline Warhen

  • PTeam Member
  • PixInsight Old Hand
  • ****
  • Posts: 472
    • View Profile
    • Billions and Billions
Re: New script: ColorMask
« Reply #41 on: 2015 June 03 10:53:49 »
Yes, please do it Rick, I'm sure others would back me up. At your convenience of course! Not only is it useful for defining color ranges, but since color is often directly related to chemical composition and structure, the masks can be useful for adjustments other than just color-related ones (i.e. gamma, sharpness, etc.). I'd love to be able to produce multiple masks at one time. It would be important to, and I think a worthwhile addition even in its present form to identify the mask as 'R' or G, etc. Thanks Rick, talk soon.
Best always, Warren

Warren A. Keller
www.ip4ap.com

Offline Geoff

  • PixInsight Padawan
  • ****
  • Posts: 875
    • View Profile
Re: New script: ColorMask
« Reply #42 on: 2015 September 15 19:58:47 »
Just downloaded the script yesterday and have been playing around today.  My image is starting to look very nice and no doubt will improve with a bit more practice.  Thanks Rick.
Geoff
Don't panic! (Douglas Adams)
Astrobin page at http://www.astrobin.com/users/Geoff/
Webpage (under construction) http://geoffsastro.smugmug.com/

Offline RickS

  • PTeam Member
  • PixInsight Jedi
  • *****
  • Posts: 1295
    • View Profile
Re: New script: ColorMask
« Reply #43 on: 2015 September 15 21:50:24 »
My pleasure, Geoff!

Offline RickS

  • PTeam Member
  • PixInsight Jedi
  • *****
  • Posts: 1295
    • View Profile
Re: New script: ColorMask
« Reply #44 on: 2015 September 18 03:49:56 »
I'd love to be able to produce multiple masks at one time. It would be important to, and I think a worthwhile addition even in its present form to identify the mask as 'R' or G, etc.

Hi Warren,

I have added a suffix to the mask image name if you press one of the preset buttons (R = red, G= green, B = blue, Y = yellow, C = cyan and M = magenta.)  Hope that helps.  I still have a long list of other improvements.  I'll have to take a night or two off work and image processing and just get them done :)

Cheers,
Rick.