CUDAImageConvolve[img,kern]
gives the convolution of img with kern.
CUDAImageConvolve[list,kern]
gives the convolution of list with kern.
CUDAImageConvolve[mem,kern]
gives the convolution of mem with kern.
CUDAImageConvolve
CUDAImageConvolve[img,kern]
gives the convolution of img with kern.
CUDAImageConvolve[list,kern]
gives the convolution of list with kern.
CUDAImageConvolve[mem,kern]
gives the convolution of mem with kern.
Details and Options
- The CUDALink application must be loaded using Needs ["CUDALink`"].
- CUDAImageConvolve works with binary, grayscale, and other images.
- CUDAImageConvolve works with CUDAMemory and lists.
- CUDAImageConvolve[image,kern] is equivalent to ImageConvolve [image,kern].
- If multiple image channels are present, CUDAImageConvolve operates on each of them separately.
- The following options can be given:
-
"Device" Automatic device used for CUDA computationPadding "Fixed" value used on boundary"OutputMemory" None CUDAMemory where output is stored
Examples
open all close allBasic Examples (3)
First, load the CUDALink application:
This performs a mean filter:
Use CUDAImageConvolve on a grayscale image with a Sobel mask to detect vertical edges:
Using CUDAImageConvolve on a graphics object will automatically rasterize the graphic:
Applications (2)
CUDAImageConvolve can be used to perform heat diffusion:
CUDAImageConvolve can be used to process geographic elevation data:
See Also
Tech Notes
Related Guides
-
▪
- CUDALink
Text
Wolfram Research (2010), CUDAImageConvolve, Wolfram Language function, https://reference.wolfram.com/language/CUDALink/ref/CUDAImageConvolve.html.
CMS
Wolfram Language. 2010. "CUDAImageConvolve." Wolfram Language & System Documentation Center. Wolfram Research. https://reference.wolfram.com/language/CUDALink/ref/CUDAImageConvolve.html.
APA
Wolfram Language. (2010). CUDAImageConvolve. Wolfram Language & System Documentation Center. Retrieved from https://reference.wolfram.com/language/CUDALink/ref/CUDAImageConvolve.html
BibTeX
@misc{reference.wolfram_2025_cudaimageconvolve, author="Wolfram Research", title="{CUDAImageConvolve}", year="2010", howpublished="\url{https://reference.wolfram.com/language/CUDALink/ref/CUDAImageConvolve.html}", note=[Accessed: 14-December-2025]}
BibLaTeX
@online{reference.wolfram_2025_cudaimageconvolve, organization={Wolfram Research}, title={CUDAImageConvolve}, year={2010}, url={https://reference.wolfram.com/language/CUDALink/ref/CUDAImageConvolve.html}, note=[Accessed: 14-December-2025]}