Image Registration Methods for Astronomy
(intended for extended emission, not stellar images!)
Documentation: http://image-registration.rtfd.org
Usage
pip install image_registrationorgit clone https://github.com/keflavich/image_registration
from image_registration import chi2_shift
from image_registration.fft_tools import shift
import image_registration
#Generate Sample Image
image = image_registration.tests.make_extended(100)
offset_image = image_registration.tests.make_offset_extended(image, 4.76666, -12.33333333333333333333333, noise=0.1)
#Get Fused Image
xoff, yoff, exoff, eyoff = chi2_shift(image, offset_image)
corrected_image2 = shift.shiftnd(offset_image, (-yoff, -xoff))
Acknowledgments:
-
Borrows heavily from http://www.mathworks.com/matlabcentral/fileexchange/18401-efficient-subpixel-image-registration-by-cross-correlation/content/html/efficient_subpixel_registration.html
-
Replicates much of the functionality of http://www.astro.ucla.edu/~mperrin/IDL/sources/subreg.pro
Also implements http://solarmuri.ssl.berkeley.edu/~welsch/public/software/cross_cor_taylor.pro
Metadata
Release files for image-registration 0.2.10
For a detailed explanation of source distributions (sdists) and built distributions (wheels), please see the package formats documentation.
Source distribution (sdist)
| File | Size | Uploaded | |
|---|---|---|---|
| image_registration-0.2.10.tar.gz | 2.8 MB | Details |
Built distribution (wheel)
| File | Interpreter | ABI | Platform | Reset |
|---|---|---|---|---|
| image_registration-0.2.10-py3-none-any.whl | Python 3 | none | any | Details |
Total release size: 2.8 MB
Release files / image_registration-0.2.10.tar.gz
| Download URL | image_registration-0.2.10.tar.gz |
|---|---|
| Size | 2.8 MB |
| Tags | Source |
|
SHA-256 checksum How to use checksums |
b1798265947204ea95516b4e48e9f78bb25103734ab5a22922011eca825fe459
|
|
BLAKE2b-256 checksum How to use checksums |
ad20bd53f88ef7d1dadd9522a9a5ae180bccff3665c483865611011e2d7c8638
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
No |
| Uploaded via |
twine/6.2.0 CPython/3.10.9
|
Release files / image_registration-0.2.10-py3-none-any.whl
| Download URL | image_registration-0.2.10-py3-none-any.whl |
|---|---|
| Size | 66.2 kB |
| Tags | Python 3 |
|
SHA-256 checksum How to use checksums |
c5b774a6a954deccb959fa04d39d697e79b2cf3f3c97723ec527f57bdf30a7c0
|
|
BLAKE2b-256 checksum How to use checksums |
55a816a8208a255fabf606d202d2566575fe6faf0dd62e41d455531bef152abb
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
No |
| Uploaded via |
twine/6.2.0 CPython/3.10.9
|