Author Topic: Batch Preprocessing script for RGB  (Read 5865 times)

Offline awachter

  • Newcomer
  • Posts: 3
Batch Preprocessing script for RGB
« on: 2013 December 30 15:12:45 »
If I have RGB data from different days and have processed the data for each channel using the batch preprocessing script, how do I combine the three color channels? Does the LRGB tool do automatic star alignment before combining the color channels or do I need to do a manually star alignment of the three channels before combining them with the LRGB tool?

Offline pfile

  • PTeam Member
  • PixInsight Jedi Grand Master
  • ********
  • Posts: 4729
Re: Batch Preprocessing script for RGB
« Reply #1 on: 2013 December 30 15:17:56 »
somehow you need to get the frames registered to one another.

if you dump the R, G, B into BPP together, they will all be registered to the reference frame you choose.

if you did BPP 3 times with 3 different references, then you'll have to pick one of the masters as a reference and align the other two channels to that master.

the LRGB combination tool (or ChannelCombination, or PixelMath - all of which can be used to create an RGB image from 3 masters) will not align anything; they expect that the images will already be aligned.

rob

Offline awachter

  • Newcomer
  • Posts: 3
Re: Batch Preprocessing script for RGB
« Reply #2 on: 2013 December 30 19:02:44 »
I can't dump all the L, R, G and B frames into BPP together since they all use different flats and darks (because of different exposure times). But I got the gist of the story: use the same frame as a reference for all the individual batch preprocessings. Thank you very much for your response!

Offline pfile

  • PTeam Member
  • PixInsight Jedi Grand Master
  • ********
  • Posts: 4729
Re: Batch Preprocessing script for RGB
« Reply #3 on: 2013 December 30 19:04:59 »
yes you can, BPP sorts out the flats and darks for you!

rob

Offline awachter

  • Newcomer
  • Posts: 3
Re: Batch Preprocessing script for RGB
« Reply #4 on: 2013 December 30 19:15:05 »
Brilliant! Thanks

Andreas

Offline pfile

  • PTeam Member
  • PixInsight Jedi Grand Master
  • ********
  • Posts: 4729
Re: Batch Preprocessing script for RGB
« Reply #5 on: 2013 December 30 19:28:14 »
caveat: your fits headers have to be in order, or the filenames must have the filter names in them and the names have to match of course.

if you create the master flats outside of BPP it may not work; i assume the fits headers of the master flats generated by BPP must be modified to include the filter name by BPP itself.

it should key off the filenames if the fits headers are not right though.

the whole purpose of BPP was to simplify calibration and registration of the multitude of files generated when using mono CCDs and filter wheels...

rob