Author Topic: Batch Crop and other processing  (Read 2484 times)

Offline steven_usa

  • Member
  • *
  • Posts: 74
Batch Crop and other processing
« on: 2017 February 17 16:35:11 »
I have a set of calibrated and registered XISF (x22 of them), which contain Vesta (asteroid).   The alignment is good, and then Vesta moves across the frame nicely (across the set of images).   The movement is very apparent, and I'd like to animate this result -- but first, each of the (x22) debayered and registered result needs a little bit of processing.

For starters, they need to be cropped.  Then from there, maybe BackgroundNeutralization (after defining a Preview section) and ColorCalibration.  I don't want to manually modify each 22 image (and I'd like to prepare this kind of batch for future similar efforts).


So... exploring a little bit, I found the BatchPreprocessing folder and JScript content, which I may be able to use as a starting reference.  I'd like a box to list my light files, then I guess (to start with) the set of DynamicCrop parameters I'd like applied to each of them?   Is this the general way to get started, or is there a better way for this?  maybe with macros?


Offline pfile

  • PTeam Member
  • PixInsight Jedi Grand Master
  • ********
  • Posts: 4729
Re: Batch Crop and other processing
« Reply #1 on: 2017 February 17 21:13:30 »
programming aside, you can actually use blink to crop the files and output the cropped files. i think the auto-stf can be applied to the output images, but i can't remember offhand.

rob

Offline steven_usa

  • Member
  • *
  • Posts: 74
Re: Batch Crop and other processing
« Reply #2 on: 2017 February 18 15:35:59 »
Thanks pfile!   Blink itself did most of what I needed (crop and stretch).   Then  I tried manually doing a Curve, or maybe ABE/DBE, but it was hard to keep the background uniform  (this was from a red zone, so a little bit of per-frame processing would clean things up a little bit).   

In any case, the Blink result is enjoyable enough -- a few other tools were used to make an animated GIF and AVI out of this.  Here is the GIF, I'll link out the AVI a little later (since it is rendering; I wanted it to have some text annotations).

Note, this is the asteroid Vesta passing by earlier this month.


Offline RickS

  • PTeam Member
  • PixInsight Jedi
  • *****
  • Posts: 1298
Re: Batch Crop and other processing
« Reply #3 on: 2017 February 18 17:39:43 »
Very cool, Steven!

Offline pfile

  • PTeam Member
  • PixInsight Jedi Grand Master
  • ********
  • Posts: 4729
Re: Batch Crop and other processing
« Reply #4 on: 2017 February 18 22:59:49 »
looks great - saw it on youtube as well.

rob