MATLAB Function for Extracting Celestial Object Coordinates from Star Maps

Resource Overview

A MATLAB function that utilizes cross-projection methodology to automatically detect celestial objects in star maps, calculating both the four vertex coordinates of their bounding regions and their centroids, enabling rapid extraction of positional information with additional features for size, brightness, and color analysis.

Detailed Documentation

This MATLAB function enables rapid localization of celestial objects within star maps through an intelligent cross-projection algorithm. The implementation first processes input star images by projecting pixel intensities along horizontal and vertical axes to identify object boundaries. Key computational steps include threshold-based segmentation using MATLAB's graythresh() function, regionprops() for centroid calculation, and bounding box detection through projection peak analysis. The function automatically outputs precise coordinate pairs for all four vertices of each detected object's bounding area alongside mass-center coordinates, eliminating manual intervention. Additional analytical capabilities provide quantitative measurements of object size (via pixel area calculation), mean brightness (using imcrop() and mean2()), and color characteristics through RGB channel separation. This comprehensive tool facilitates advanced astronomical image analysis by combining efficient coordinate extraction with multi-parameter celestial object characterization.