Mobile Phone Astrometry Explorer

Finds stars in a mobile phone night sky image using median-subtraction and peak-finding and compares to results from astrometry.net.
35 Downloads
Updated 17 Apr 2023

View License

Mobile phones use image registration and stacking to generate effective exposure times of several seconds, enabling remarkable night sky photos. This Live Script illustrates how to find hundreds (even thousands) of stars in a mobile phone image using median filtering and 2d peak-finding [1], examines star colors, identifies candidate visual binaries, shows how stars in mobile phone images may be identified using an astrometry service [2], and compares the results of MATLAB image processing and star finding to those from a professional service.
Students armed with mobile device cameras and this script can learn "hands-on" a bit about image processing as well as how to access a public astrometry service and an astronomical look-up service. Additionally, they will learn how to crack open a FITS file with MATLAB. Hopefully, they may appreciate better the technologies behind mobile phone cameras, sky-watching apps, and research telescopes.
'Try this' suggestions and 'Challenges' are included for further exploration.
Visit File Exchange for additional physics and astronomy tutorials.

Cite As

Duncan Carlsmith (2024). Mobile Phone Astrometry Explorer (https://www.mathworks.com/matlabcentral/fileexchange/127449-mobile-phone-astrometry-explorer), MATLAB Central File Exchange. Retrieved .

MATLAB Release Compatibility
Created with R2023a
Compatible with any release
Platform Compatibility
Windows macOS Linux

Community Treasure Hunt

Find the treasures in MATLAB Central and discover how the community can help you!

Start Hunting!

MobilePhoneAstrometryExplorer

Version Published Release Notes
1.0.5

Forgot to update file.

1.0.4

Added clustering of peaks found to more accurately represent count of star candidates.

1.0.3

Image not showing

1.0.2

Added background subtraction to lower the star search threshold, a look at star color, how to extract information from astrometry.net FITS files, and (favorable) comparisons of this simple star identification algorithm to the professional one.

1.0.1

Acknowledgment added in the submission. I blanked it

1.0.0