CUDAImageConvolve
This feature is not supported on the Wolfram Cloud.


gives the convolution of img with kern.


gives the convolution of list with kern.


gives the convolution of mem with kern.

更多信息更多信息

  • The CUDALink application must be loaded using Needs["CUDALink`"].
  • works with binary, grayscale, and other images.
  • works with CUDAMemory and lists.
  • is equivalent to ImageConvolve[image,kern].
  • If multiple image channels are present, 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)基本范例  (3)

First, load the CUDALink application:

In[1]:=
Click for copyable input

This performs a mean filter:

In[2]:=
Click for copyable input
Out[2]=

Use on a grayscale image with a Sobel mask to detect vertical edges:

In[1]:=
Click for copyable input
Out[1]=

Using on a graphics object will automatically rasterize the graphic:

In[1]:=
Click for copyable input
Out[1]=