When conventional physical pinholes are used, the alignment of pinholes is always a problem. An iterative Wiener
deconvolution filter is used to reject out-of-focus light, a sub-pixel centre location method is used to locate the centre of
the pinhole, and the dimensions of the pinhole are optimized using the confocal microscopic theory. A filter with digital
pinhole is thus developed and compared with filter with conventional physical pinhole through comparative tests.
Experimental results indicate that the alignment of pinholes can be made easy, a filter with digital pinhole can be used to
take place of a filter with conventional physical pinhole, and it can also reduce the pixel crosstalk resulting from multipoint