3, My own macros:
Here I have my own developed macros and they can be downloaded here. You download and use them at your own risk and make sure you have a backup of your files!
Canon CR2 files special macros
It's a good idea to separate the CFA-files to it's color components. It make it easer to make good quality masterflats and also save RAM memory when processing. The technique to do dark and bias calibration I do here is a little special. Se the link on first page about "Image Reduction".
It's my first attempt to write macros to AIJ so expect them to have some bugs!
The first two macros I have are:
This macro does most of it's process by automatic. Read all CR2 files it find in the map, convert to CFA 16-bit Tiff, store temporarily, Demosaic, create Masterflats for Red, Green1, Green2 and Blue. You don't need any bias or darks, it use Canon's overscan regions to create the bias that it subtract from flat images.
This macro read your image CR2 files and calibrate them with the Master flats created above. Also to this one there is no need for dark or bias files. If you don't want flat calibration you can edit the macro file with Notepad and change a parameter to disable flat calibration.
These two macros only works for Canon EOS at the moment, I have tested on Canon 350D, 5D and 6D. I have had a look at Nikon nef files and Sony arw files, they don't seem to have this important overscan area.
New general DSLR macro
For first time I now have included a third macro, the:
With that macro it maybe is possible to open all DSLR files that DCRaw can handle, and not just one by one, it operate in batch mode. Test it for your non Canon DSLR and let me know if it works for you. It opens raw files and convert to cfa Tiff 16 bit files and store under map cfa, a sub map under your raw file map. I have tested with Nikon D3 nef and Sony A7RII arw files, it looks to work.
Organize your raw files something like this and it will be easier to handle:
After you have run above macro for each map you find new sub maps under these maps with your processed files (Tiff files). Rename dark maps for each temperature, iso and exposure length. Rename flat maps for each optics. Rename each bias map for iso setting. You don't want to over write them!
When you processing these files you must use AIJs normal processing tools for calibration. AIJ has a lot of support for that and here I have a collection of links with information how to do that:
My own tutorial here, part 4 and 5 are special for Canon macros, other parts are more general for other cameras.
All three macros are included in this zip file.
Canon CR2 special macro:
Download and unpack the files in the plugins directory of AstroImageJ, see below how it should look.
When you start AstroImageJ it should come up like this:
After this it's easy to run the macro, just click on it. Read on the following pages how to used them.
On these forums you can ask questions or give comments, it could take a while until there is an answer:
I will later concentrate me on one of these forums where I find most users of AIJ, I think the Cloudy Nights forum is best to use for this surpose.