High-precision method for quickly positioning centers of two-dimensional Gaussian distribution spot images
暂无分享,去创建一个
The invention relates to a high-precision method for quickly positioning centers of two-dimensional Gaussian distribution spot images, which includes obtaining an approximate two-dimensional Gaussian distribution image through defocused imaging of a CCD (charge coupled device) camera, processing the image to preliminarily split multiple light spots in the image and mark serial numbers, determining the integer pixel coordinate of the light spot center before setting up local image coordinate system with the integer pixel coordinate serving as an origin, calculating variance of the Gaussian light spot and sub-pixel coordinate components of the light spot center in the x and y directions, and compositing the integer pixel coordinate with the sub-pixel coordinate to obtain the actual precise coordinate of the light spot center. All pixel grayscale information in a window is comprehensively utilized by the method, position of the sub-pixel center of the Gaussian distribution light spot canbe directly calculated through an analytic expression, solving of a generalized inverse matrix is not needed, efficiency is improved by more than 200 times and precision loss is avoided as compared with those of the traditional Gaussian quadrics fitting method, and real-time extracting of multiple light spot centers can be realized.