Author Topic: MaskGen script  (Read 679 times)

Offline STEVE333

  • PixInsight Addict
  • ***
  • Posts: 221
    • View Profile
    • sk-images
MaskGen script
« on: 2019 June 22 11:40:21 »
I've tried running the MaskGen script, but, without success. I just get an error message, and, the MaskGen window never opens.

Anyone know where I can find some instructions on how to use this script?

Thanks for any help you can provide.

Steve
« Last Edit: 2019 June 22 12:51:22 by STEVE333 »
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 paulsartory

  • Newcomer
  • Posts: 25
    • View Profile
Re: MaskGen script
« Reply #1 on: 2019 June 22 22:50:21 »
Steve,

MaskGen creates a star mask based on astrometric data.

You need to have a (ImageSolver) solved image open in the workspace so that the script can download and identify the stars in the image.

Cheers
Paul

Offline STEVE333

  • PixInsight Addict
  • ***
  • Posts: 221
    • View Profile
    • sk-images
Re: MaskGen script
« Reply #2 on: 2019 June 23 20:35:06 »
Steve,

MaskGen creates a star mask based on astrometric data.

You need to have a (ImageSolver) solved image open in the workspace so that the script can download and identify the stars in the image.

Cheers

Paul

Thanks for the response Paul.

I ran the ImageSolver script on my open image. I then attempted to run the MaskGen script, but, get the error message shown in the attachment.

Any ideas?

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 paulsartory

  • Newcomer
  • Posts: 25
    • View Profile
Re: MaskGen script
« Reply #3 on: 2019 June 24 01:38:42 »
Hmmm....can't help you there I'm afraid....I don't get that error so does anyone one else have any ideas?

Offline Andres.Pozo

  • PTeam Member
  • PixInsight Padawan
  • ****
  • Posts: 894
    • View Profile
Re: MaskGen script
« Reply #4 on: 2019 June 24 04:39:03 »
The method ImageWindow.astrometricSolution() is quite new. Steve, are you using an old version of PI?

Offline STEVE333

  • PixInsight Addict
  • ***
  • Posts: 221
    • View Profile
    • sk-images
Re: MaskGen script
« Reply #5 on: 2019 June 24 08:02:50 »
I'm using version 1.8 .
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 Andres.Pozo

  • PTeam Member
  • PixInsight Padawan
  • ****
  • Posts: 894
    • View Profile
Re: MaskGen script
« Reply #6 on: 2019 June 24 08:10:16 »
There are many "1.8" versions. I don't remember when ImageWindow.astrometricSolution was first introduced, but I would recommend to use the latest version (1.8.6).

Offline dave_galera

  • PixInsight Enthusiast
  • **
  • Posts: 89
    • View Profile
    • QDigital Astro
Re: MaskGen script
« Reply #7 on: 2019 June 24 08:16:46 »
Version 1.8.6.1473 has just been released, try updating to that......it features a new version 5.3 of ImageSolver script
Dave

Offline STEVE333

  • PixInsight Addict
  • ***
  • Posts: 221
    • View Profile
    • sk-images
Re: MaskGen script
« Reply #8 on: 2019 June 24 12:07:38 »
Thanks all - I'm running 8.5, so, now I need to remember how to update to version 8.6.

Sigh ...

Getting older isn't fun.

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 STEVE333

  • PixInsight Addict
  • ***
  • Posts: 221
    • View Profile
    • sk-images
Re: MaskGen script
« Reply #9 on: 2019 June 25 14:50:22 »
With help from Andres and Juan I now have 1.8.6.1473 up and running. Wooo Hooo!!!

However, I had to reestablish my Resources/Updates/Manage Repositories link to get the Hartmut Bornemann's wonderful scripts back.

With all the above completed, MaskGen now works perfectly. This is a wonderful script that generates amazing starmasks.

Thanks all for the help.

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 hvb356

  • Member
  • *
  • Posts: 55
    • View Profile
Re: MaskGen script
« Reply #10 on: 2019 July 04 00:11:51 »
Hi Steve,

I've found this topic a few minutes ago.

As Andres wrote, the astrometry was "re-invented" with the latest updates of PixInsight. The new methods exposed with ImageWindow object are today, what I was looking for since long. Thanks to Andres and the team.

In some cases, distortion can be a problem. When you see star centers not matching the mask, tweek your ImageSolver with higher magnitudes (i.e 14..17). This takes more time but should give you better results.

If you have doubts on non-masked stars, please verify the positions with Simbad and send me the coordinates.

Regards

Hartmut
TOA-150, ML8300, CFW2-7 w. Astronomik HaLRGB, PDF, EM-400, guiding FS-60 + ST402, ASCOM bsd. image acquisition

Offline STEVE333

  • PixInsight Addict
  • ***
  • Posts: 221
    • View Profile
    • sk-images
Re: MaskGen script
« Reply #11 on: 2019 July 04 09:29:48 »
In some cases, distortion can be a problem. When you see star centers not matching the mask, tweek your ImageSolver with higher magnitudes (i.e 14..17). This takes more time but should give you better results.

If you have doubts on non-masked stars, please verify the positions with Simbad and send me the coordinates.

Regards

Hartmut
Thanks Hartmut - And thank you for sharing all of your wonderful scripts. They make life so much easier!

If I find troublesome stars I will let you know. I will keep in mind your hint about using higher magnitude stars if distortion is a problem.

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/