Calibration of Matrix Photodetectors and Precision Positioning of Objects According to Raster Images