摘要 |
A method and a system of establishing depth of field data of a 3D image, applicable to a 3D image including a first and a second visual image. The system includes a storage module, an offset calculator, and a comparator. An offset vector matrix includes data fields in the same number as that of pixels of a first visual image. An offset calculator divides a reference frame by taking an ath first pixel of the first visual image as a center, and finds out a target frame having a minimum grayscale difference value with the reference frame from a second visual image, so as to calculate an offset vector value according to the minimum grayscale difference value. A comparator determines that the offset vector values of all the ath first pixels are recorded in the offset vector matrix, so as to convert the offset vector matrix into a depth map. |