lentil.detector.pixelate#
- lentil.detector.pixelate(img, oversample)[source]#
Convolve an image with the pixel MTF and rescale the result to native sampling
- Parameters:
img (array_like) – Input image
oversample (int) – Number of times
imgis oversampled
- Returns:
img – Rescaled image with pixel MTF applied
- Return type:
ndarray
Notes
pixelateshould only be used ifoversample> 2See also
lentil.detector.pixelApply pixel MTF effect without rescaling the result