Author Topic: StarNet - new module for star removal  (Read 90744 times)

Offline mmisiura1

  • Newcomer
  • Posts: 25
Re: StarNet - new module for star removal
« Reply #75 on: 2019 August 18 16:33:18 »
Ok, I managed to found the PI link (the download link was modified I guess) and it works very well in Pixinsight.

However when I restart PI the module is no longer there and has to be reinstalled! Is this a known bug? I have the latest PI version.

Missed this post - I don't think this is a known issue, it should not be like this... Does it just disappear from the list of installed modules?

Offline mmisiura1

  • Newcomer
  • Posts: 25
Re: StarNet - new module for star removal
« Reply #76 on: 2019 August 18 16:38:00 »
I just learned about StarNet today and it seems like an awesome tool! I had been asking about CloneStamp and its use on masks. Since I was trying to clean up masks with CloneStamp someone said that they use StarNet. Now I have a question as a noobie with PI:

The tutorial I'm using as a guide has you do RangeSelection to create a range_mask. After that you are supposed to use CloneStamp to touch up the range_mask. A few steps later you use StarMask. Some steps after that you use PixelMath to do range_mask - star_mask. Once again you are to use CloneStamp; however, this time it is to remove all of the stars and leave your Galaxy, Nebula, and so on.

My question is how would StarNet fit into this portion of the workflow, if at all? I'm attaching a screenshot of the entire workflow plus one of just the mask portion.

Thanks to Nakita for creating this and to anyone with any input :)
fat


Hi! Thank you for kind words!

I am not sure I completely understood you - what are you trying to do with your workflow?

Offline Jkulin

  • Newcomer
  • Posts: 38
Re: StarNet - new module for star removal
« Reply #77 on: 2019 September 17 07:16:31 »
Hi,

Maybe I am being incredibly thick, but I cannot find a way to add the Script into PI

I have extracted the files from StarNet_Win.zip and then tried to add the script into PI but it said there was 0 to add.

I can run both of the .bat files and they work fine, but it would be nice to run them as a script.

Maybe I have missed it but is there a way after say you have removed the NB stars that you can then add in the RGB stars?

Apologies if this has been covered and I have missed it.

Thanks.

Offline pfile

  • PTeam Member
  • PixInsight Jedi Grand Master
  • ********
  • Posts: 4729
Re: StarNet - new module for star removal
« Reply #78 on: 2019 September 17 07:42:21 »
it's not a script, it is a module. so the "add script" menu won't do anything. are you using "Processe > Modules > Add Modules..." or "Script > Add Feature Script..."?

also since you are talking about .bat files, are you sure you downloaded the PI module and not the standalone StarNet++ executable?

rob

Offline Jkulin

  • Newcomer
  • Posts: 38
Re: StarNet - new module for star removal
« Reply #79 on: 2019 September 17 07:49:56 »
Hi Rob,

Thanks for the reply.

Yes initially I did add it as a script which failed, just tried to add it as a module and that failed, I have attached a list of the files

If I have the wrong files, can you advise of where I can download them please?

Many Thanks.

Regards,

John

Offline pfile

  • PTeam Member
  • PixInsight Jedi Grand Master
  • ********
  • Posts: 4729
Re: StarNet - new module for star removal
« Reply #80 on: 2019 September 17 07:52:49 »
yes those files are the standalone c++ version.

the PI module is here: https://sourceforge.net/projects/starnet/files/PixInsight_module/

rob

Offline Jkulin

  • Newcomer
  • Posts: 38
Re: StarNet - new module for star removal
« Reply #81 on: 2019 September 17 07:57:22 »
Thanks so much Rob, I did look everywhere, I must be blind!

Will this module allow you to put the stars back in or just remove them?

Offline pfile

  • PTeam Member
  • PixInsight Jedi Grand Master
  • ********
  • Posts: 4729
Re: StarNet - new module for star removal
« Reply #82 on: 2019 September 17 08:00:05 »
it just removes them, but what you can do is use pixelmath to subtract the starless image from the original image which creates a star mask. you can then apply that mask to the starless image and then use pixelmath to add the stars back in, with whatever modifications you've done of course (like a separate stretch which preserves star colors better or what have you)

rob

Offline Jkulin

  • Newcomer
  • Posts: 38
Re: StarNet - new module for star removal
« Reply #83 on: 2019 September 17 08:08:08 »
Thanks Rob, just tried to >process>modules.install modules and then pointed it to the directory where I have extracted them from as in C:\Program Files\PixInsight\starnet_win and o found, am I doing something wrong?

Offline dave_galera

  • PixInsight Addict
  • ***
  • Posts: 261
    • QDigital Astro
Re: StarNet - new module for star removal
« Reply #84 on: 2019 September 17 08:08:48 »
John, Just drop some pointers on your post on https://stargazerslounge.com/topic/341204-melotte-15/#comment-3710651

Sry can't help you on installation as I am on Mac
Dave

Offline pfile

  • PTeam Member
  • PixInsight Jedi Grand Master
  • ********
  • Posts: 4729
Re: StarNet - new module for star removal
« Reply #85 on: 2019 September 17 08:48:43 »
Thanks Rob, just tried to >process>modules.install modules and then pointed it to the directory where I have extracted them from as in C:\Program Files\PixInsight\starnet_win and o found, am I doing something wrong?

i've heard that if your CPU does not have the right AVX instructions that the module silently refuses to install. have you run starnet++ successfully from the command line? that would say whether or not your CPU is capable.

rob

Offline Jkulin

  • Newcomer
  • Posts: 38
Re: StarNet - new module for star removal
« Reply #86 on: 2019 September 17 08:54:48 »
Hi Rob,

Yes run from the command line al all perfect.

I'm running an Intel I7-3770 CPU @ 3.40GHz 16GB Ram Windows 10 Enterprise

Offline pfile

  • PTeam Member
  • PixInsight Jedi Grand Master
  • ********
  • Posts: 4729
Re: StarNet - new module for star removal
« Reply #87 on: 2019 September 17 10:07:30 »
well... did you click "recursive" and then "search" in the install modules dialog box?

rob

Offline Jkulin

  • Newcomer
  • Posts: 38
Re: StarNet - new module for star removal
« Reply #88 on: 2019 September 17 10:14:58 »
Hi Rob,

Yes I did as per attached

Offline pfile

  • PTeam Member
  • PixInsight Jedi Grand Master
  • ********
  • Posts: 4729
Re: StarNet - new module for star removal
« Reply #89 on: 2019 September 17 10:19:25 »
well... i don't know; like dave i am on a mac so i have never been able to test this. maybe someone running windows can chime in...

rob