CUDALink`
CUDALink`

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.

更多信息和选项

  • 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"Automaticdevice used for CUDA computation
    Padding"Fixed"value used on boundary
    "OutputMemory"NoneCUDAMemory where output is stored

范例

打开所有单元关闭所有单元

基本范例  (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:

Wolfram Research (2010),CUDAImageConvolve,Wolfram 语言函数,https://reference.wolfram.com/language/CUDALink/ref/CUDAImageConvolve.html.

文本

Wolfram Research (2010),CUDAImageConvolve,Wolfram 语言函数,https://reference.wolfram.com/language/CUDALink/ref/CUDAImageConvolve.html.

CMS

Wolfram 语言. 2010. "CUDAImageConvolve." Wolfram 语言与系统参考资料中心. Wolfram Research. https://reference.wolfram.com/language/CUDALink/ref/CUDAImageConvolve.html.

APA

Wolfram 语言. (2010). CUDAImageConvolve. Wolfram 语言与系统参考资料中心. 追溯自 https://reference.wolfram.com/language/CUDALink/ref/CUDAImageConvolve.html 年

BibTeX

@misc{reference.wolfram_2024_cudaimageconvolve, author="Wolfram Research", title="{CUDAImageConvolve}", year="2010", howpublished="\url{https://reference.wolfram.com/language/CUDALink/ref/CUDAImageConvolve.html}", note=[Accessed: 23-November-2024 ]}

BibLaTeX

@online{reference.wolfram_2024_cudaimageconvolve, organization={Wolfram Research}, title={CUDAImageConvolve}, year={2010}, url={https://reference.wolfram.com/language/CUDALink/ref/CUDAImageConvolve.html}, note=[Accessed: 23-November-2024 ]}