MATLAB Function for Extracting Celestial Object Coordinates from Star Maps
- Login to Download
- 1 Credits
Resource Overview
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.
- Login to Download
- 1 Credits