Automated lunar crescent extraction from astronomical imaging using python-based vision algorithms

Document Type

Article

Publication Date

4-1-2026

Abstract

The detection of the lunar crescent is a fundamental challenge in observational astronomy, particularly in the context of time-sensitive astronomical phenomena. This study presents a computational approach for automated lunar crescent extraction from astronomical images using Python-based vision algorithms. While previous efforts in this domain have employed image processing techniques, they were often constrained by dataset bias and limited empirical testing on real-world imagery. In this work, a total of 67 observational lunar images from the Optical Astronomy Research Laboratory (OpARL), spanning 2000 to 2025, were analysed using a sequence of digital image processing techniques including grayscale masking, Gaussian filtering, edge detection, contour enhancement, and object recognition. The approach achieved a detection success rate of 70.15% in predicting a lunar crescent appearance in an imaging. The result also finds correlations between detection outcomes and lunar altitude and elongation. The findings demonstrate the effectiveness of integrating classical image processing pipelines with astronomical datasets for reliable crescent identification. This improves the process of identification of an appearance of a lunar crescent image during live observations or post processing.

Keywords

Canny edge, Contours detection, Gaussian blur, Image processing, Lunar crescent

Publication Title

Astronomy and Computing

ISSN

2213-1337

DOI

10.1016/j.ascom.2025.101057

Funders

Universiti Malaya

Volume

55

Publisher

Elsevier B.V.

Share

COinS