CUDABoxFilter[img,r]
gives the box filter of img with radius r.
CUDABoxFilter[list,r]
gives the box filter of list with radius r.
CUDABoxFilter[mem,r]
gives the box filter of mem with radius r.
CUDABoxFilter
CUDABoxFilter[img,r]
gives the box filter of img with radius r.
CUDABoxFilter[list,r]
gives the box filter of list with radius r.
CUDABoxFilter[mem,r]
gives the box filter of mem with radius r.
Details and Options
- The CUDALink application must be loaded using Needs["CUDALink`"].
- CUDABoxFilter works with binary, grayscale, and other images.
- CUDABoxFilter works with CUDAMemory and lists.
- CUDABoxFilter[image,r] is equivalent to CUDAImageConvolve[image,BoxMatrix[r]].
- If multiple image channels are present, CUDABoxFilter operates on each of them separately.
- The following options can be given:
-
"Device" Automatic device used for CUDA computation Padding "Fixed" value used on boundary "OutputMemory" None CUDAMemory where output is stored
Examples
open all close allBasic Examples (3)
First, load the CUDALink application:
Needs["CUDALink`"]CUDABoxFilter[[image], 1, 3]This finds the sum of values in a neighborhood of a list:
CUDABoxFilter[BoxMatrix[5], 1]//MatrixFormCUDABoxFilter on a graphics object will automatically rasterize the graphic:
CUDABoxFilter[[image], 3, 7]Tech Notes
Related Guides
-
▪
- CUDALink
Text
Wolfram Research (2010), CUDABoxFilter, Wolfram Language function, https://reference.wolfram.com/language/CUDALink/ref/CUDABoxFilter.html.
CMS
Wolfram Language. 2010. "CUDABoxFilter." Wolfram Language & System Documentation Center. Wolfram Research. https://reference.wolfram.com/language/CUDALink/ref/CUDABoxFilter.html.
APA
Wolfram Language. (2010). CUDABoxFilter. Wolfram Language & System Documentation Center. Retrieved from https://reference.wolfram.com/language/CUDALink/ref/CUDABoxFilter.html
BibTeX
@misc{reference.wolfram_2026_cudaboxfilter, author="Wolfram Research", title="{CUDABoxFilter}", year="2010", howpublished="\url{https://reference.wolfram.com/language/CUDALink/ref/CUDABoxFilter.html}", note=[Accessed: 13-June-2026]}
BibLaTeX
@online{reference.wolfram_2026_cudaboxfilter, organization={Wolfram Research}, title={CUDABoxFilter}, year={2010}, url={https://reference.wolfram.com/language/CUDALink/ref/CUDABoxFilter.html}, note=[Accessed: 13-June-2026]}