Mojo module
bicubic
This module provides CPU and GPU implementations for bicubic interpolation.
Bicubic interpolation is a 2D extension of cubic interpolation for resampling digital images. It uses the weighted average of the 4x4 neighborhood of pixels around the target location to compute the interpolated value.
Functions
-
cpu_bicubic_kernel
: Perform bicubic interpolation on an NDBuffer of form NCHW. -
cubic_kernel
: Cubic interpolation kernel with a=-0.5. -
gpu_bicubic_kernel
: Perform bicubic interpolation using GPU.
Was this page helpful?
Thank you! We'll create more content like this.
Thank you for helping us improve!