XParallax viu
a free software for automated astrometry

HomeDownloadsHelpBlog
  • Help index
  • Image calibration
  • Astrometric reduction

Image calibration


You can use XParallax viu to calibrate your source CCD images. The calibration process is automatic, so calibration frames (flat, bias or dark) and calibrated frames (light) must be acquired at the same binning (mandatory) and temperature (if possible).


There is no problem by using sky-flats, taken pointing the telescope to the sunset or sunrise sky. Stars present in flat frames will be removed and their pixels averaged. In this case, move the telescope between exposures. Flats with different exposure time can be used (avoid saturated pixels) but it is better to use the same as the light frames. Don't worry about small diferences in light intensity between frames, it will be fixed automaticaly too.


If you are using dark frames, bias information will be extracted from them, so don't waste your time by taking bias frames (altough they are zero exposure).



The calibration dialog


Select the menu option "Image processing > Image calibration" to open the calibration dialog. Two tabs are present in this dialog where you can select the input files and output directory and where configure the calibration options.



Input files selection


The first step is to select input files in the tab "Source images".




File naming is so important to let the program to determine the frame type. Please, make sure that input files contains the words bias, dark or flat, upper or lowercased. All other files will be considered as light frames. Take it in account before start capturing frames if you want to perform the calibration with XParallax viu. Once the source files are loaded in the system an icon to the left will show the file type.


  • Light frame
  • Bias frame
  • Dark frame
  • Flat frame



Calibration parameters




  • Calibration / Pixel rejecting:

    As we said, sometimes stars and cosmic rays are present in sky flats. If you want to reject these pixels select one of the available rejecting methods, "sigma level" based in the standard deviation above background or "MinMax", based in the absolute ADU value of the pixel.

  • Calibration / Output format:

    You can select the output fit file format. 32 bit float obtains the better results but output files are bigger. If you prefer, the option "same as input" will preserve the input file format.

  • Calibration / Save master flat, dark and bias:

    While calibration is in progress, intermediate frames are stored in memory. It is not necessary to save intermediate master frames. By checking this options these frames will be saved allowing you to inspect them or even use then in future process.

  • Calibration / Normalize image:

    If you check this option, image counts will be fixed to set the mean of all pixels in the image to this value. By default, pedestal of the source images is preserved. Be careful by checking this option because it will result in a loss of the source pedestal.

  • Background / Mesh size:

    Background is used to reject star pixels in flat field frames and to detect hot or dead pixels. A local background is computed in small portions of the image (a grid). Set the mesh size four or five times bigger than the diameter of bigger star in the image. 64 or 128 pixels is usually a good value in the most of the cases.

  • Background / Local background estimation:

    This option let you to select the method to estimate the local background.

  • Background / σ upper:

    The image histogram is clipped iteratively. This option expresses the level, in standard deviation units above the estimated background level to clip the histogram

  • Background / σ lower:

    Lower level in standard deviation units under the background to clip the histogram when background is being calculated.

  • Background / σ precission:

    This option sets the difference in standard deviation between two background iterations to stop iterating. When σ is changed by less than this value, histogram clipping will stop and the mean of the clipped histogram will be taken as the background level.

  • Background / Smooth:

    After the local background grid is set up, a median filter can be applied to suppress local overestimations due to bright stars or underestimations due to other causes. Set this option to a small odd value (1, 3, 5) to get better results.

  • Background / Interpolation:

    After the local background (mesh) is set up, a unique value per pixel is calculated (background map). This option sets the interpolation method used to compute the background map.


Licencia de Creative Commons
XParallax viu by
Juan José Sanabria
Valencian International University
Please, report suggestions and issues to:
infoatxparallaxdotcom Or contact by filling up this contact form