All Projects → quatrope → astroalign

quatrope / astroalign

Licence: MIT License
A tool to align astronomical images based on asterism matching

Programming Languages

python
139335 projects - #7 most used programming language

Projects that are alternatives of or similar to astroalign

nightlight
Nightlight: Astronomic Image Processing
Stars: ✭ 25 (-75.49%)
Mutual labels:  astronomy, alignment
Unsupervisedrr
[CVPR 2021 - Oral] UnsupervisedR&R: Unsupervised Point Cloud Registration via Differentiable Rendering
Stars: ✭ 43 (-57.84%)
Mutual labels:  registration, alignment
mrivis
medical image visualization library and development toolkit
Stars: ✭ 19 (-81.37%)
Mutual labels:  registration, alignment
Mesh mesh align plus
Precisely align, move, and measure+match objects and mesh parts in your 3D scenes.
Stars: ✭ 350 (+243.14%)
Mutual labels:  transformations, alignment
visualqc
VisualQC : assistive tool to ease the quality control workflow of neuroimaging data.
Stars: ✭ 56 (-45.1%)
Mutual labels:  registration, alignment
DICOMautomaton
A multipurpose tool for medical physics.
Stars: ✭ 35 (-65.69%)
Mutual labels:  registration
pblat
parallelized blat with multi-threads support
Stars: ✭ 34 (-66.67%)
Mutual labels:  alignment
oxd
Client software to secure apps with OAuth 2.0, OpenID Connect, and UMA
Stars: ✭ 40 (-60.78%)
Mutual labels:  registration
paradox
ParamHelpers Next Generation
Stars: ✭ 23 (-77.45%)
Mutual labels:  transformations
orbital-sim
A simple physics engine build over a PyGame simulation to accurately model planetary orbits in space
Stars: ✭ 31 (-69.61%)
Mutual labels:  astronomy
bifrost
A stream processing framework for high-throughput applications.
Stars: ✭ 48 (-52.94%)
Mutual labels:  astronomy
astro
自用天文算法,公历农历转换、八大行星位置、日出日落月出月落时间、节气物候时间等
Stars: ✭ 33 (-67.65%)
Mutual labels:  astronomy
AASTeX60
Version 6 of the LaTeX style files and documentation for authoring AAS Journal (AJ/ApJ) articles.
Stars: ✭ 40 (-60.78%)
Mutual labels:  astronomy
username-generation-guide
A definitive guide to generating usernames for OSINT purposes
Stars: ✭ 38 (-62.75%)
Mutual labels:  transformations
torchvideo
🎥 Datasets, transforms and samplers for video in PyTorch
Stars: ✭ 74 (-27.45%)
Mutual labels:  transformations
edd
Erlang Declarative Debugger
Stars: ✭ 20 (-80.39%)
Mutual labels:  transformations
is-04
AMWA IS-04 NMOS Discovery and Registration Specification (Stable)
Stars: ✭ 35 (-65.69%)
Mutual labels:  registration
OACAPI
Open Astronomy Catalog API
Stars: ✭ 58 (-43.14%)
Mutual labels:  astronomy
kafka-connect-transform-kryptonite
Kryptonite for Kafka is a client-side 🔒 field level 🔓 crypto library for Apache Kafka® currently focused on Kafka Connect scenarios. It's an ! UNOFFICIAL ! community project
Stars: ✭ 30 (-70.59%)
Mutual labels:  transformations
LocARNA
Alignment of RNAs
Stars: ✭ 15 (-85.29%)
Mutual labels:  alignment

Astroalign


QuatroPe unit tests Coverage Documentation Status PyPI PyPI - Downloads ascl:1906.001

ASTROALIGN is a python module that will try to align two stellar astronomical images, especially when there is no WCS information available.

It does so by finding similar 3-point asterisms (triangles) in both images and deducing the affine transformation between them.

Generic registration routines try to match feature points, using corner detection routines to make the point correspondence. These generally fail for stellar astronomical images, since stars have very little stable structure and so, in general, indistinguishable from each other. Asterism matching is more robust, and closer to the human way of matching stellar images.

Astroalign can match images of very different field of view, point-spread function, seeing and atmospheric conditions.

It may not work, or work with special care, on images of extended objects with few point-like sources or in very crowded fields.

You can find a Jupyter notebook example with the main features at http://quatrope.github.io/astroalign/.

Full documentation: https://astroalign.readthedocs.io/

Installation

Using setuptools:

$ pip install astroalign

or from this distribution with

$ python setup.py install

Performance: Optional

This library is optionally compatible with bottleneck and may offer performance improvements in some cases. Install bottleneck in your project as a peer to astroalign using:

pip install bottleneck

Astroalign will pick this optional dependency up and use it's performance improved functions for computing transforms.

Running Tests

python tests/test_align.py

Usage example

>>> import astroalign as aa
>>> aligned_image, footprint = aa.register(source_image, target_image)

In this example source_image will be interpolated by a transformation to coincide pixel to pixel with target_image and stored in aligned_image.

If we are only interested in knowing the transformation and the correspondence of control points in both images, use find_transform will return the transformation in a Scikit-Image SimilarityTransform object and a list of stars in source with the corresponding stars in target.

>>> transf, (s_list, t_list) = aa.find_transform(source, target)

source and target can each either be the numpy array of the image (grayscale or color), or an iterable of (x, y) pairs of star positions on the image.

The returned transf object is a scikit-image SimilarityTranform object that contains the transformation matrix along with the scale, rotation and translation parameters.

s_list and t_list are numpy arrays of (x, y) point correspondence between source and target. transf applied to s_list will approximately render t_list.

Citation

If you use astroalign in a scientific publication, we would appreciate citations to the following paper:

Astroalign: A Python module for astronomical image registration.
Beroiz, M., Cabral, J. B., & Sanchez, B.
Astronomy & Computing, Volume 32, July 2020, 100384.

TOROS Dev Team

[email protected]

Note that the project description data, including the texts, logos, images, and/or trademarks, for each open source project belongs to its rightful owner. If you wish to add or remove any projects, please contact us at [email protected].