Astrofriend's homepage

Advertisement / Annons:

Valid CSS!

All pages shall now have been validated

Info Cookies (Kakor) / GDPR


Advertisement /

Twitter @AstrofriendLars

Follow Astrofriend

Project News

An introduction to AstroImageJ


  1. Introduction
  2. Download and Installation
  3. My own downloadable macros
  4. How to use "Masterflats from CR2 files" macro
  5. How to use "Calibrated object files from CR2 files" macro
  6. How to align rggb files
  7. How to stack rggb object files

I take no responsibility or liability for what are written here, you use the information at your own risk!

4, How to use "Masterflats from CR2 files" macro:

If you don't already have calibrated masterflats from this macro you start with this:

Prepare to have a directory with your Canon raw CR2 sub flats files. Files with other extension than CR2 will be excluded. You should have moved away or erased sub flats that are not good. It should look something like this:

AstroImageJ, AIJ: testflats

Here is four sub-flats, why do they have a pink color? That's because white color cause the green channel to dominate, the sensor normally has it's highest sensitivity i green wavelength. It could look different for your system. Red, green and blue color should be of equal strength and about 50% of maximum.

Read more deeper about color flats under my tutorial:

AstroImageJ, AIJ: run macro Make masterflats

Run the macro "Masterflats from CR2 files"

AstroImageJ, AIJ: open subflat directory

First it will ask you in which directory where you have your sub-flats. You will not see your files, only the directory.

AstroImageJ, AIJ: make masterflat log

You will see a log of what's going on.
First it read the sub flats to an internal virtual stack.
Demosaic (divide them in separate colors).
Bias calibrate.
Through away abnormal values.
Save as 32 bit floating point files in subdirectory masterFlat.

AstroImageJ, AIJ: masterflat directory with masterflats

Here are the four masterflats, they are corrected for abnormal values, very important to make good quality masterflats. Everything done almost automatic. The cfa directory is just temporary, normally not needed anymore, you can erase it.

Later I will explain the macro code which let you do your own macros.

Go Back to content

Go Back
Next: How to use "Calibrated object files from CR2 files" macro

Advertisement / Annons: