Do more. Code less. Free software for GPU computing.
<scroll to top>

Dilation

Image Morphing

Dilate an Image. More...

Device pointer interface: Image Dilation

Parameters:
[out]d_outThe dilated image
[in]mINumber of rows in input image
[in]nINumber of columns in input image
[in]d_inInput image
[in]mHNumber of rows in neigenhborhood patch
[in]nHNumber of columns in neigenhborhood patch
[in]h_nhoodneigenhborhood patch (on host)
[in]batchNumber of input images (1 or ngfor)

afError af_dilate_S (float *d_out, unsigned mI, unsigned nI, const float *d_in, unsigned mH, unsigned nH, const float *h_nhood, unsigned batch)
 Single precision, Image Dilation.
afError af_dilate_D (double *d_out, unsigned mI, unsigned nI, const double *d_in, unsigned mH, unsigned nH, const float *h_nhood, unsigned batch)
 Double precision, Image Dilation.

Detailed Description

Dilate an Image.


Function Documentation

afError af_dilate_S ( float *  d_out,
unsigned  mI,
unsigned  nI,
const float *  d_in,
unsigned  mH,
unsigned  nH,
const float *  h_nhood,
unsigned  batch 
)

Single precision, Image Dilation.

afError af_dilate_D ( double *  d_out,
unsigned  mI,
unsigned  nI,
const double *  d_in,
unsigned  mH,
unsigned  nH,
const float *  h_nhood,
unsigned  batch 
)

Double precision, Image Dilation.

 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Friends Defines