CPC G01M 11/00 (2013.01) | 4 Claims |
1. A method for detecting a centroid of a complementary single pixel, comprising the following steps of:
generating, by a computer in an acquisition and processing unit, a two-dimensional modulation matrix A and a two-dimensional modulation matrix B, which are represented by two-dimensional functions, respectively;
wherein an abscissa direction and an ordinate direction of a coordinate system where the two-dimensional functions are located correspond to a row direction and a column direction of the two-dimensional modulation matrix in respective, a two-dimensional function value corresponds to an element value of the two-dimensional modulation matrix, and the two-dimensional functions that correspond to the two-dimensional modulation matrix A and the two-dimensional modulation matrix B meet the following relational expressions in respective:
S1(x,y)=x (1)
S2(x,y)=y (2)
in the formula, Sn(x, y)(n=1, 2) represents an element value corresponding to a coordinate (x, y) in the two-dimensional modulation matrix;
loading the generated modulation information into the DMD, to modulate an image of a target object;
acquiring, by a data acquisition unit, intensity values of reflected light in two complementary directions of the DMD by using a first single-pixel detector and a second single-pixel detector; and
solving the centroid according to a centroid solving algorithm.
|