Author Topic: How to automagically exclude images with tracking errors?  (Read 3748 times)

Offline skoop

  • Newcomer
  • Posts: 11
Can I somehow use PI to automagically exclude images with tracking errors?
Because of light pollution, I can only take short exposures (up to 2,5 min). The number of frames, that need processing, is usually in hundreds. I really like to find a way how to automate the search for bad images aka images with tracking errors.
Can this be done and if yes, how? 

Offline pfile

  • PTeam Member
  • PixInsight Jedi Grand Master
  • ********
  • Posts: 4729
Re: How to automagically exclude images with tracking errors?
« Reply #1 on: 2012 January 01 10:09:39 »
i have not found a way to do this.

so far i have been relying on DeepSkyStacker to evaluate my subs.

inside Pixinsight, the Animation script can help, but it is not automated of course.

Offline Juan Conejero

  • PTeam Member
  • PixInsight Jedi Grand Master
  • ********
  • Posts: 7111
    • http://pixinsight.com/
Re: How to automagically exclude images with tracking errors?
« Reply #2 on: 2012 January 01 11:13:08 »
Quote
Can I somehow use PI to automagically exclude images with tracking errors?

This is actually *very* easy to do with a script. The easiest way is running the DynamicPSF tool as a batch process on a set of images. First you define a DynamicPSF instance manually on one of the images, then save this instance as a process icon. The script then reads this icon and applies it to each image in sequence (we assume that the images have been previously registered). DynamicPSF provides plenty of data to build a sophisticated image grading script with little effort.

I included an example in the documentation for the DynamicPSF tool. At the end of the Scripting and Automation section of this document I included a little example script that can be used as the skeleton to write a useful script. Any takers?
Juan Conejero
PixInsight Development Team
http://pixinsight.com/

Offline Cleon_Wells

  • PixInsight Addict
  • ***
  • Posts: 225
Re: How to automagically exclude images with tracking errors?
« Reply #3 on: 2012 January 01 11:32:20 »
Juan, easy for you to say..8>), when I look at this script I get a headache....
Doesn't StarRegistration/Star Alignment do a little of this? 
Cleon
Cleon - GSO 10"RC/Canon T1i-Hap Mod, 100mmF6/2Ucam/MG, EQG/EQmod

Hans Pleijsier

  • Guest
Re: How to automagically exclude images with tracking errors?
« Reply #4 on: 2012 January 01 13:06:33 »
Well ... Juan's script is actually producing output in a testrun:


run --execute-mode=auto "/Users/hanspleijsier/Documents/code/javascript/Aut_Dyn_PSF.js"

Processing script file: /Users/hanspleijsier/Documents/code/javascript/Aut_Dyn_PSF.js

DynamicPSF: Global context
1 view(s)
3 star(s)
3 PSF fittings
0.014 s
PSF#   FWHM      MAD     weight
====  ======  =========  ======
   0    2.02  4.844e-03  1.0000
   1    2.18  5.193e-03  0.9328
   2    1.93  2.413e-02  0.2008

Total fitted stars ...... 3
Weighted average FWHM ... 2.08 px

Offline skoop

  • Newcomer
  • Posts: 11
Re: How to automagically exclude images with tracking errors?
« Reply #5 on: 2012 March 10 03:31:52 »
sorry, this is just way out of may league :)

If someone plans to write a script for sorting/excluding images, please let me know and I will be more than happy to help you with testing.