Astrofriend's homepage

Navigation

Ad / Annons:

Ad / Annons:

Astronomy News

Tutorial:
Introduction to AstroImageJ


AstroImageJ, astrophoto editing tool

  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

Introduction

The year 1996 when the comet Hyakutake was up I took some photos with the Universities CCD camera. Later when processing the fits data which I did at my home I just had a Windows computer. It was a very limited number of Windows software to handle fits file and 16 bit depth in that time. Then I developed my own functions in Matlab which I had a student license to. My worst problem was Matlab's hunger for memory.

Later I started to use IRIS, an advanced software from Christian Buil. Still working but it's a bit limited with it's 15-bit support. DSS (Deep Sky Stacker) after that and later Fitswork, many times in combination of both software. But I want to develop my own functions as I did earlier and then I come by ImageJ. I believe I already noticed it 10 years ago, but it look so simple and I didn't found that it could read fits or raw files from DSLR cameras. It's most used in microscope images.

Now in 2016 when I took a look at it again. Now there was a special version called AstroImageJ. And I also found a DSLR raw reader plugin. But it open that kind of files just one by one. ImageJ and AstroImageJ is free to download and it's an open system. Good for you who couldn't afford hundreds of dollars on commercial software.


Ad / Annons:


ImageJ is very advanced, works with 32 bit floating points files and it's a multiplatform. Windows, Unix and maybe other. It use Java programming language and there are a lot of plugins to download. You can also make your own plugins or use macros which is easier to handle.

What I needed:

  • Read a batch of DSLR files
  • Handle calibration without the need to take bias and darks (I use dithering)
  • Make it half automatic, something like DSS but with more control and flexibility
  • What make me started to investigate and do some test of what I could do with AIJ was these two homepages:

  • http://ij-plugins.sourceforge.net/ plugins/dcraw/
    A plugin that's built as a shell around DCRAW
  • http://www.umanitoba.ca/ faculties/science/astronomy/ jwest/reduction_recipe.pdf
    Tutorial Image Reduction
  • The first link solve the problem how to read DSLR files, but have to built an another shell around it to batch load files.

    The second link is very interesting. Six months ago I skipped the dark and bias calibration with my new low noise Canon 6D camera, I do dithering instead (you can read about it under my tutorials). But when doing flat calibrations you need to know the levels to subtract. I know about Canons dark borders that I thought could be used for this. But I didn't know how to read these over scan regions. Now I have the answers in the two links above.

    I can't develop program in Java but macros is easy to learn, almost like macros in Matlab. I figure out that I could make a macro that could read a batch of my Canons CR2 files, then I gave AIJ a try.

    Here are two screen dumps to show how AIJ's interface and working window looks.

    AstroImageJ working area

    At top the control panel and under is one window open. It's a deep sky image, normally you have many subs that will be stacked to reduce noise. In this software you open all of them and then you can scroll through them very easy. And this is also the explanation why AIJ take so lot of memory if you make the macros in the wrong way.


    Ad / Annons:


    AstroImageJ histogram

    Under the image is the histogram. Here I have set the black point to 80% of the normalization value, get the vignetting to be clearly seen on this masterflat image. But looks worse than it is. Above the image is a red line, that's the calibration measure, it can be set to display arc seconds or pixels length.

    AstroImageJ dark border

    Here is an zoom in of one of the corners to visualize the dark border or over scan region. This is something that's very useful. I will explain later or you can go to the "Image Reduction" link above.

    I will write a lot about this software if I succeed to do some powerful macros and it looks very interesting already.


    Next: Download and installation

    back