Author Topic: Removing stars using the starnet++ program  (Read 5766 times)

Offline STEVE333

  • PixInsight Addict
  • ***
  • Posts: 231
    • sk-images
Removing stars using the starnet++ program
« on: 2019 June 19 11:48:46 »
I've had some very nice success using the new starnet++ program to remove stars from a stretched image. The following has worked for me"

I downloaded Starnet++ from the link below which was provided by Geethq.

https://sourceforge.net/projects/starnet/

I found the following works for Windows computers:

1) After downloading, the starnet++ files will be located in a folder named starnet. Don't forget to extract the files.
2) The program only works on 16 bit unsigned .tif files.
3) Save the file you wish to remove the stars from into the starnet folder (for example, FlamingStar.tif) in 16 bit unsigned format.
4) Open the Command Prompt.
- I typed capital C in the search box in the lower left corner of the Windows 10 home screen.
- In the popup window click on Command Prompt.
- In Command Prompt type cd\the path to the starnet folder\starnet (e.g., cd\Documents\starnet ) then hit enter.
- Type starnet++ OriginalFileName.tif StarlessFileName.tif where OriginalFileName is the name of the file you want to process.
EXAMPLE: starnet++ myimage.tif mystarlessimage.tif (notice that there are spaces between starnet++, myimage.tif, and mystarlessimage.tif.
- Once the filenames are typed in hit ENTER and wait till the processing is completer. Progress is shown as %done.

When the Command Prompt says Done, the resulting starless image will be located in the starnet folder.

Attached are examples showing an original image and the starless version produced by starnet++.

Using PixInsight, I typically do sharpening (MLT), contrast enhancement (LHE), color saturation boosting with CurvesTransformation, and noise reduction (TGV) on the starless image. Your processing software and enhancement choices may be different.

Once the starless image is "enhanced" I use PixelMath to combine the starless and original image with the simple expression

max(original, starless)

Hope this makes sense.

Steve
Telescopes:  WO Star71 ii, ES ED102 CF
Camera:  Canon T3 (modified)
Filters:  IDAS LPS-D1, Triad Tri-Band, STC Duo-Narrowband
Mount:  CEM40 EC
Software:  BYEOS, PHD2, PixInsight

http://www.SteveKing.Pictures/

Offline msmythers

  • PTeam Member
  • PixInsight Jedi
  • *****
  • Posts: 1178
    • astrobin
Re: Removing stars using the starnet++ program
« Reply #1 on: 2019 June 19 12:12:27 »

Offline STEVE333

  • PixInsight Addict
  • ***
  • Posts: 231
    • sk-images
Re: Removing stars using the starnet++ program
« Reply #2 on: 2019 June 19 13:40:28 »
Thanks Mike - Appreciate the input.

I saw the thread during my research. Since there still seemed to be some issues with the PI instance, I decided to share the "older" standalone approach that should work for most Windows users.

I've really enjoyed using this program with my new "dual narrowband" images that are quite similar to HOO data. Sometimes the starnet++ program will degrade some of the fine detail, and, sometimes it doesn't. Just depends upon the particular target. When it works it's amazingly simple to use.

Steve
Telescopes:  WO Star71 ii, ES ED102 CF
Camera:  Canon T3 (modified)
Filters:  IDAS LPS-D1, Triad Tri-Band, STC Duo-Narrowband
Mount:  CEM40 EC
Software:  BYEOS, PHD2, PixInsight

http://www.SteveKing.Pictures/

Offline Lammertus

  • Newcomer
  • Posts: 23
Re: Removing stars using the starnet++ program
« Reply #3 on: 2019 July 27 04:26:52 »
Hi all,
I have been using the commandline IF for some time now and have seen this thread, now it is installed in Pixinsight as per the readme.txt file. Some strange behaviour though when you stretch an image with Arcsinh, then there are nearly no stars detected by starnet++ where if using the Histogram stretching or STF -> Histogram and applying, all seems to work well! Just thought to share this with you.
Regards,
Mert

Offline dave_galera

  • PixInsight Addict
  • ***
  • Posts: 261
    • QDigital Astro
Re: Removing stars using the starnet++ program
« Reply #4 on: 2019 July 27 05:07:33 »
Hi Mert,

Suggest you add this post to this thread where it can be more easily picked up by Nikita.

https://pixinsight.com/forum/index.php?topic=13691.msg83068#msg83068
Dave

Offline Lammertus

  • Newcomer
  • Posts: 23
Re: Removing stars using the starnet++ program
« Reply #5 on: 2019 July 27 11:41:43 »
Thanks Dave, I just reposted on the other thread!
Regards,
Mert

Offline STEVE333

  • PixInsight Addict
  • ***
  • Posts: 231
    • sk-images
Re: Removing stars using the starnet++ program
« Reply #6 on: 2019 August 10 18:28:08 »
Just an update. I've installed Starnet++ into PI so that it shows up as one of the available Processes. Much easier to use, and, so far, it has accepted all images formats (including .xisf 32 bit). So, no longer necessary to save a 16 bit .TIF image in the starnet folder and then run Starnet++ from the Command Prompt window. Also, you keep all the precision of the original image.

Just FYI

Steve
Telescopes:  WO Star71 ii, ES ED102 CF
Camera:  Canon T3 (modified)
Filters:  IDAS LPS-D1, Triad Tri-Band, STC Duo-Narrowband
Mount:  CEM40 EC
Software:  BYEOS, PHD2, PixInsight

http://www.SteveKing.Pictures/