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
img
is oversampled
- Returns:
img – Rescaled image with pixel MTF applied
- Return type:
ndarray
Notes
pixelate
should only be used ifoversample
> 2See also
lentil.detector.pixel
Apply pixel MTF effect without rescaling the result