Package for registering images with extended emission
Project description
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
Project details
Release history Release notifications | RSS feed
Download files
Download the file for your platform. If you're not sure which to choose, learn more about installing packages.
Source Distribution
Built Distribution
Filter files by name, interpreter, ABI, and platform.
If you're not sure about the file name format, learn more about wheel file names.
Copy a direct link to the current filters
File details
Details for the file image_registration-0.2.10.tar.gz.
File metadata
- Download URL: image_registration-0.2.10.tar.gz
- Upload date:
- Size: 2.8 MB
- Tags: Source
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/6.2.0 CPython/3.10.9
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
b1798265947204ea95516b4e48e9f78bb25103734ab5a22922011eca825fe459
|
|
| MD5 |
84492e7941c65bdbb5108e2f274a1b17
|
|
| BLAKE2b-256 |
ad20bd53f88ef7d1dadd9522a9a5ae180bccff3665c483865611011e2d7c8638
|
File details
Details for the file image_registration-0.2.10-py3-none-any.whl.
File metadata
- Download URL: image_registration-0.2.10-py3-none-any.whl
- Upload date:
- Size: 66.2 kB
- Tags: Python 3
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/6.2.0 CPython/3.10.9
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
c5b774a6a954deccb959fa04d39d697e79b2cf3f3c97723ec527f57bdf30a7c0
|
|
| MD5 |
e3b9fd66e769f6f64af2984770a914eb
|
|
| BLAKE2b-256 |
55a816a8208a255fabf606d202d2566575fe6faf0dd62e41d455531bef152abb
|