oa::image::integral
Compute the per-plane summed-area table of an FP32 image. Following the integral contract, the result is a (height + 1) x (width + 1) FP32 Matrix per (batch, channel) plane whose zero row and column border the inclusive prefix sums: element (y, x) holds the sum over source pixels [0, y) x [0, x). The leading dimensions are preserved ahead of the enlarged spatial extents. Errors Returns an error unless the image is nonempty FP32 NCHW/CHW, enlarged extents stay nonzero, and all sizes fit the shader ABI.
Function Documentation
Compute the per-plane summed-area table of an FP32 image. Following the integral contract, the result is a (height + 1) x (width + 1) FP32 Matrix per (batch, channel) plane whose zero row and column border the inclusive prefix sums: element (y, x) holds the sum over source pixels [0, y) x [0, x). The leading dimensions are preserved ahead of the enlarged spatial extents. Errors Returns an error unless the image is nonempty FP32 NCHW/CHW, enlarged extents stay nonzero, and all sizes fit the shader ABI.