CUDALink`
CUDALink`

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.

更多信息和选项

  • 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"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:

This finds the sum of values in a neighborhood of a list:

CUDABoxFilter on a graphics object will automatically rasterize the graphic:

Applications  (1)

CUDABoxFilter on the same image approximates a Gaussian filter:

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

文本

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

CMS

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

APA

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

BibTeX

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

BibLaTeX

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