oa::image::pyr_up
Double an FP32 image with the pyrUp interpolate-blur contract. The source is upsampled by two with zero rows and columns at odd positions, then convolved with the 5x5 [1, 4, 6, 4, 1] kernel scaled by four, following OpenCV’s BORDER_DEFAULT (reflect-101) edge rule on the upsampled grid. Output spatial extents are 2 * extent per axis; layout and format are preserved. Errors Returns an error unless the image is nonempty FP32 NCHW/CHW and all sizes fit the shader ABI.
Function Documentation
Double an FP32 image with the pyrUp interpolate-blur contract. The source is upsampled by two with zero rows and columns at odd positions, then convolved with the 5x5 [1, 4, 6, 4, 1] kernel scaled by four, following OpenCV’s BORDER_DEFAULT (reflect-101) edge rule on the upsampled grid. Output spatial extents are 2 * extent per axis; layout and format are preserved. Errors Returns an error unless the image is nonempty FP32 NCHW/CHW and all sizes fit the shader ABI.