Pre processing
Pre-processing is the first step aiming to obtain a clean and calibrated master-light to work during the post-processing stage. This is the actual moment when we make use of the calibration frames (bias, darks, flats) to correct the light frames. During our early days, we used DeepSkyStacker to pre-process our images but then, we decided to move forward and make use of PixInsight's WeightedBatchPreProcessing (WBPP) script to generate our master light frames.
Data pre selection
Before going any further into the pre-process, the individual light frames should be carefully examined in order to discard bad ones. By instance, out of 50 light frames observed during the night, some of them might show traces of poor guiding due to wind gusts or, could be a commercial flight just passed between your telescope and your imaging target, leaving that light frame completely useless. Those bad frames should be identified and discarded from the pre-processing. To do so, amazing tools in PixInsight are available to batch examine the frames to select the ones that will make it to the next step.
- Blink
With this tool, you can cycle through the list of observations to assess their quality. Then simply select the frames that do not qualify for the pre-processing to move them into a special directory (i.e. crap). Also with the blink tool, you can even create an animation of your image frames. - SubframeSelector
With this tool you can automatically grade your images depending on various criteria. The first step is to measure the data set to then define the criteria to grade good frames from bad frames. I'll suggest a visit to this page with excellent explanations and examples.
The actual pre-processing
Basically, pre-processing involves the execution of the following 10 steps:
- Stack bias frames to produce a master bias. Transform this into a noise-free master super-bias.
- Calibrate dark frames with master super-bias. Stack these dark frames to produce a master dark.
- Calibrate flat frames with master super-bias and master dark. Stack these flat frames to produce a master flat.
- Calibrate the light frames to stack with the master super-bias, master dark and master flat.
- Apply CosmeticCorrection to the calibrated light frames to stack.
- Debayer the light frames if they are color images such as those captured using a one shot color camera (OSC) or DSLR.
- Select the best light frames and optimize their weightings.
- Register the light frames to stack with each other.
- Stack the light frames.
- Apply the Drizzle algorithm to produce an end result.
The WeightedBatchPreProcessing (WBPP) script of PixInsight will greatly simplify the process, integrating the execution of sub-processes to produce the final calibrated light frame that will be then post-processed to create the final image.
Pre-procesado
El pre-procesado es el primer paso que tiene como objetivo obtener un master-light limpio y calibrado para trabajar durante la etapa de post-procesado. Este es el momento real en el que hacemos uso de los frames de calibración (bias, darks, flats) para corregir los light frames. Durante nuestros primeros días, utilizábamos DeepSkyStacker para pre-procesar nuestras imágenes, pero luego, decidimos avanzar y utilizar el script WeightedBatchPreProcessing (WBPP) de PixInsight para generar nuestros master light frames.
Preselección de datos
Antes de avanzar más en el pre-procesado, los light frames individuales deben ser examinados cuidadosamente con el fin de descartar los defectuosos. Por ejemplo, de 50 light frames observados durante la noche, algunos podrían mostrar rastros de un mal guiado debido a ráfagas de viento o, podría ser que un vuelo comercial haya pasado justo entre tu telescopio y tu objetivo, dejando ese light frame completamente inútil. Esos frames defectuosos deben ser identificados y descartados del pre-procesado. Para ello, existen herramientas increíbles en PixInsight disponibles para examinar por lotes los frames y seleccionar aquellos que pasarán al siguiente paso.
- Blink
Con esta herramienta, puedes desplazarte por la lista de observaciones para evaluar su calidad. Luego, simplemente selecciona los frames que no califican para el pre-procesado para moverlos a un directorio especial (ej. basura). Además, con la herramienta Blink, incluso puedes crear una animación de los frames de tu imagen. - SubframeSelector
Con esta herramienta puedes calificar automáticamente tus imágenes dependiendo de varios criterios. El primer paso es medir el conjunto de datos para luego definir los criterios para calificar los frames buenos de los malos. Sugiero una visita a esta página con excelentes explicaciones y ejemplos.
El pre-procesado real
Básicamente, el pre-procesado involucra la ejecución de los siguientes 10 pasos:
- Apilar (Stack) los frames bias para producir un master bias. Transformar esto en un master super-bias libre de ruido.
- Calibrar los frames dark con el master super-bias. Apilar estos frames dark para producir un master dark.
- Calibrar los frames flat con el master super-bias y el master dark. Apilar estos frames flat para producir un master flat.
- Calibrar los frames light a apilar con el master super-bias, master dark y master flat.
- Aplicar CosmeticCorrection a los frames light calibrados a apilar.
- Debayerizar (Debayer) los frames light si son imágenes en color, como las capturadas usando una cámara a color de una sola toma (OSC) o una DSLR.
- Seleccionar los mejores frames light y optimizar sus ponderaciones.
- Registrar (Register) los frames light a apilar entre sí.
- Apilar (Stack) los frames light.
- Aplicar el algoritmo Drizzle para producir un resultado final.
El script WeightedBatchPreProcessing (WBPP) de PixInsight simplificará enormemente el proceso, integrando la ejecución de subprocesos para producir el light frame calibrado final que luego será post-procesado para crear la imagen final.

