Ask Your Question

Revision history [back]

click to hide/show revision 1
initial version

Astrophoto alignment

I'm looking for a way to align astrophotos with OpenCV in Java. These photos will typically have a dark background, random scattering of stars, and a subject like a galaxy or nebula. They will also have high levels of noise. I could come up with an algorithm myself, but there must be something I can use that already exists.

Right now I'm successfully using Video.findTransformEcc() to align images that are already very close. However, I also have photos like the following examples I'd like to align. Can anyone give suggestions?

image description

image description

image description

Astrophoto alignment

I'm looking for a way to align astrophotos with OpenCV in Java. These photos will typically have a dark background, random scattering of stars, and a subject like a galaxy or nebula. They will also have high levels of noise. I could come up with an algorithm myself, but there must be something I can use that already exists.

Right now I'm successfully using Video.findTransformEcc() to align images that are already very close. However, I also have photos like the following examples I'd like to align. Can anyone give suggestions?

EDIT for more information: My goal is to sample pixels from each image in the stack based on its location in the sky, rather than its location in each image. This will let me analyze the variance in that location to filter out noise and bring out faint details. I'll go with whatever technique works best, whether that be alignment or stitching or something else.

Also, I'm not interested in finding existing software for this. I'm aware of several existing software packages for this exact use-case. My goal here is to learn how to do it myself.

image description

image description

image description