Freehand Adaptive Mask Editor: New Script for PI Pleiades Astrophoto PixInsight · Franklin Marek · ... · 33 · 750 · 5

seti_v2 19.05
...
· 
·  8 likes
·  Share link
We can finally freehand draw our masks in PI!  My new script allows you to freehand draw, draw ellipses, squares, along with moving the shapes, resize them, and rotate them. 

There are various mask types to use, a binary, lightness, and chrominance mask types too! 

I think this has been a feature sorely missing from PI.  I hope this is a big help for everyone!!! 

Video I made covering the script: https://youtu.be/xASIu2tTL8s

Link to my website for PI scripts:  https://www.setiastro.com/pjsr-scripts
Repository link: https://raw.githubusercontent.com/setiastro/pixinsight-updates/main/

Comments and Suggestions appreciated!

Screenshot 2024-07-08 070434.jpg

Snapshot_26.JPG
Edited ...
Like
Rostokko 1.51
...
· 
·  Share link
Thanks! I have been wondering for quite some time why this wasn't part of PixInsight.
Like
seti_v2 19.05
Topic starter
...
· 
·  Share link
Thanks! I have been wondering for quite some time why this wasn't part of PixInsight.

It is now
Like
dugnsuz 0.00
...
· 
·  1 like
·  Share link
Excellent work thankyou - been hoping for something like this for a while now.
Doug
Like
seti_v2 19.05
Topic starter
...
· 
·  1 like
·  Share link
Added a Color Mask Type now!!  So within the defined shape areas if you want to focus on a specific color you can now too.
Like
Rostokko 1.51
...
· 
·  Share link
@Franklin Marek it would be also very handy if it was possible to merge the new mask definition to an existing mask; that way, if we realize we need to add a mask area to an already defined one, we don't need to start from scratch. Or maybe you have an existing range mask, and you want to add something to it.
Like
seti_v2 19.05
Topic starter
...
· 
·  Share link
@Franklin Marek it would be also very handy if it was possible to merge the new mask definition to an existing mask; that way, if we realize we need to add a mask area to an already defined one, we don't need to start from scratch. Or maybe you have an existing range mask, and you want to add something to it.

I already made a script for that!  Look at my MaskMerge script!https://youtu.be/uQWAWnFfL0M
Like
Rostokko 1.51
...
· 
·  Share link
Oh! It's not part of your PixInsight repository - is it? I can't see it in my installation, and I do point to your repository, and see "FAME"…
Like
seti_v2 19.05
Topic starter
...
· 
·  Share link
MaskMerge is part of my repository.  It all should be under SetiAstro.

If you dont see it go to Scripts->Feature Scripts->Add then navigate to c://program files/pixinsight/src/scripts and click Select Folder.  It will re look through the folder and add any the update missed
Like
Rostokko 1.51
...
· 
·  1 like
·  Share link
Yes, I can see it now - after doing that; I wonder why that was missed.
Anyway, all good now; that MaskMerge script would have saved me a fair amount of PixelMath while processing the Ring Nebula last week!
Thanks again!
Like
andreatax 9.89
...
· 
·  Share link
Why does the link return an 404 error?
Like
seti_v2 19.05
Topic starter
...
· 
·  Share link
andrea tasselli:
Why does the link return an 404 error?

You need to add that to your repository!  In PixInsight go to Resources -> Updates -> Manage Repositories, then click Add.  Copy the URL in there.  Click ok.  Then Resources -> Updates -> Check for Updates.  After you install it you need to restart pixinsight.
Like
jconenna 3.82
...
· 
·  1 like
·  Share link
Thanks! I have been wondering for quite some time why this wasn't part of PixInsight.


See post 7 here as a possible explanation as to why it goes against the philosophy of the devs.

Though there is a clone stamp in Pixinsight, which to me would violate those principles too.
Like
Rostokko 1.51
...
· 
·  1 like
·  Share link
That sounds more like religious believes to me than actual rational considerations; but it is his product.
Like
andreatax 9.89
...
· 
·  Share link
I was referring to the link to the website but now it appears working. The script however does not:

image.png
Like
seti_v2 19.05
Topic starter
...
· 
·  Share link
andrea tasselli:
I was referring to the link to the website but now it appears working. The script however does not:

image.png

You need build 1605 or higher to use the repository, what build do you have?
Like
andreatax 9.89
...
· 
·  Share link
1601
Like
seti_v2 19.05
Topic starter
...
· 
·  2 likes
·  Share link
Joey Conenna:
Thanks! I have been wondering for quite some time why this wasn't part of PixInsight.


See post 7 here as a possible explanation as to why it goes against the philosophy of the devs.

Though there is a clone stamp in Pixinsight, which to me would violate those principles too.

There is a ton in PI that violates this.  Heck slap a mask on something (even made from RangeSelector) and use pixel math on it.  Or just PixelMath in general can be specific down to the pixel.  You mentioned clone stamp, you can also be aggressive on colorsaturation or curves with dozens of points to specifically isolate colors or brigthness level.... What about SCNR, just destroy a color by the user wanting to do it?  That just does not seem like a good reason why there hasn't been a freehand mask tool yet.

Either way I hope you guys find utility in my script!!
Like
seti_v2 19.05
Topic starter
...
· 
·  Share link
andrea tasselli:
1601

Time to update PI.  You can stick with 1.8.9-2 if you don't want to go to 1.8.9-3 yet.  The last release of 1.8.9-2 is build 1605.
Like
andreatax 9.89
...
· 
·  Share link
Well, I'll pass. Thanks anyway.
Like
JamesPeirce 2.11
...
· 
·  Share link
Thank you… you having been making some very valuable additions to PixInsight with these scripts.
Like
seti_v2 19.05
Topic starter
...
· 
·  1 like
·  Share link
andrea tasselli:
Well, I'll pass. Thanks anyway.

You can get the standalone version via zip on my site too.  You can add it as a feature script if you don't want to use the repository: https://www.setiastro.com/s/FAMEv111.zip
Like
andreatax 9.89
...
· 
·  Share link
Very kind. I'll give it a go.
Like
seti_v2 19.05
Topic starter
...
· 
·  1 like
·  Share link
V1.2 now has a brush and spraycan tool!  When using the brush tool is shows the skeleton of it in the preview so you can still see what you are doing but fills in when you hit execute.post-218035-0-30680200-1720557078.jpg
Like
aabosarah 9.31
...
· 
·  1 like
·  Share link
Franklin, I just want to thank you for all the immense effort you are putting into these free tools and scripts. All of them are well thought and very useful in solving some actual real world workflow annoyances. 

Keep up the great work.
Edited ...
Like
 
Register or login to create to post a reply.