Mathematica 9 is now available
THIS IS DOCUMENTATION FOR AN OBSOLETE PRODUCT.
SEE THE DOCUMENTATION CENTER FOR THE LATEST INFORMATION.
CUDALink >

CUDABoxFilter


gives the box filter of img with radius r.

gives the box filter of list with radius r.

gives the box filter of mem with radius r.
  • The CUDALink application must be loaded using Needs.
  • works with binary, grayscale, and other images.
  • 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
First, load the CUDALink application:
This performs a mean filter:
This finds the sum of values in a neighborhood of a list:
on a graphics object will automatically rasterize the graphic:
First, load the CUDALink application:
In[1]:=
Click for copyable input
This performs a mean filter:
In[2]:=
Click for copyable input
Out[2]=
 
This finds the sum of values in a neighborhood of a list:
In[1]:=
Click for copyable input
Out[1]//MatrixForm=
 
on a graphics object will automatically rasterize the graphic:
In[1]:=
Click for copyable input
Out[1]=
on the same image approximates a Gaussian filter:
Ask a question about this page  |  Suggest an improvement  |  Leave a message for the team
Format:   HTML  |  CDF