Abstract:In this paper, the composition and principle of day-night star detection based on CCD device are introduced. It aims at the key factors which influence the star detection accuracy and uses centroid method to confirm the position of star. The image processing algorithm which can improve the signal-to-noise and the subpixel positioning algorithm are particular analyzed. Real-time and multi-parameter correction equipment realizes the high accuracy measurement based on the star.