Patent ID: 8290254

Claim:
A gray level weighting centroid method for holographic data storage, comprising steps of: establishing a processor and a 2-D sensor for receiving a first gray level image; receiving said first gray level image having a plurality of first blocks each having a first gray level value; performing a convolution calculation with said processor on a weight matrix and said first gray level values, so as to obtain a second gray level image having a plurality of second blocks each having a second gray level value; choosing a threshold value and dividing said second gray level values into a first bright gray level value and a first dark gray level value by said threshold value, whereby said second gray level image is converted into a first thresholding image; finding positions of first boundaries between said first bright gray level value and said first dark gray level value on said first thresholding image and defining positions of first borders of said second blocks corresponding to said first bright gray level value; making said positions of said first borders correspond to said first gray level image, so as to find said first blocks surrounded by said position of said first borders and used respectively as a first centroid block; and performing a calculation with said processor on said first gray level values and coordinates of said first blocks of each said first centroid block, so as to obtain respectively a first centroid point.