Astrofriend's homepage

www.astrofriend.eu
Share: Twitter Reddit Facebook Gmail Gmail Email
Search Astrofriend's homepage:

Valid CSS!

All pages shall now have been validated

Info Cookies (Kakor) / GDPR

Navigation

Advertisement /
Annons:

Twitter @AstrofriendLars

Follow Astrofriend

Travel News

Advertisement / Annons:

Tutorial:
AstroImageJ Align and Drizzle


Content:

  1. Introduction matrix
  2. Align points test
  3. Size of output matrix
  4. Inverse matrix
  5. Determinant
  6. Matlab and Octave
  7. Parallel Super-Resolution Plug in
  8. Parallel Super-Resolution Plug in, test 2
  9. Temporary solution with new workflow

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


2, Align point test:

Here I visualize how it looks when align images with different number of reference points, in each case the transfer function is adapted to the number of reference points. I use my earlier fisheye lens image with heavy distortion to enhance the differences. The camera on a tripod, i.e. worst case.

First I have prepared two images, only the green channel and down scaled to 800 pixel wide. I have done all these simulation with the tool Fitswork.

Fitswork and download:

Fitswork tutorial by me:

Test transformation of two images:

Green channel test image 1

Test image number one.

Green channel test image 2

Test image number two.

Here will now follow, zero, one, two, three and seven point aligns.

Zero Point align:

Zero piont align

This is of course only that I adding the two images on each other, twin stars of everyone.

One Point align:

One point align

With a high precision guiding maybe it's enough with only zero or one point align. If there is a comet photo I normally use this one point method to align only on the comet. It will looks something like this if you have a very bad polar align.

Two Point align:

Two point align

With a two point align you can correct for scaling and translation, it don't do it correct if you at the same time also have a rotation of your field.

Three Point align:

Three point align

With a three point align we now have a Affine align, that correct for, translation, scaling and rotation. Isn't that all we need? No, if there is a distortion in the optics we can get it better but not perfect because distortion needs a nonlinear transform. More a warp function. What more align points do in the case of an affine transform is more like a mean value or best fit. It's not only optics that give nonlinear distortion, even the atmosphere give a distortion in the vertical axis near horizon. With wide angle lenses it could be important to correct for that.

Seven Point align:

Seven point align

With even more align points it's more a warp translation we do, that is something that I can't do with Fitswork I'm using here. Or I must say I'm not sure how Fitswork is constructed and what happens when adding more reference point then three.

Important to know, to take full advantage of more align points also the transform functions must handle that. If the transform only handle one point translation more reference points only give a mean value and do not do the full correction we expect.

Go Back to content

Go Back
Next part: III, Size of output matrix

Advertisement / Annons: