How does the nearest neighbor algorithm work?
The nearest neighbor algorithm needs a minimum of three optical slices. There is no theoretical limit to the maximum number of slices that could be used, although, as a practical matter, a researcher would seldom acquire more than 100 slices. Based on the data in the slices, MicroTome computes a characteristic optical point spread function (PSF) for the lens in the microscope that was used to acquire the data. The PSF is then used to deconvolve each image using the images above and below the image being processed. This process identifies the haze which is subtracted from the slice of interest, resulting in the deconvolved image.