core/vil/algo/vil_sobel_1x3.h File Reference


Detailed Description

Apply 1x3 sobel operator to image data.

Author:
Tim Cootes

Definition in file vil_sobel_1x3.h.

#include <vil/vil_image_view.h>

Go to the source code of this file.


Functions

template<class srcT, class destT>
void vil_sobel_1x3_1plane (const srcT *src, vcl_ptrdiff_t s_istep, vcl_ptrdiff_t s_jstep, destT *gi, vcl_ptrdiff_t gi_istep, vcl_ptrdiff_t gi_jstep, destT *gj, vcl_ptrdiff_t gj_istep, vcl_ptrdiff_t gj_jstep, unsigned ni, unsigned nj)
 Compute gradients of single plane of 2D data using 1x3 Sobel filters.
VCL_DEFINE_SPECIALIZATION void vil_sobel_1x3_1plane (const unsigned char *src, vcl_ptrdiff_t s_istep, vcl_ptrdiff_t s_jstep, float *gi, vcl_ptrdiff_t gi_istep, vcl_ptrdiff_t gi_jstep, float *gj, vcl_ptrdiff_t gj_istep, vcl_ptrdiff_t gj_jstep, unsigned ni, unsigned nj)
 Compute gradients of single plane of 2D data using 1x3 Sobel filters.
VCL_DEFINE_SPECIALIZATION void vil_sobel_1x3_1plane (const unsigned char *src, vcl_ptrdiff_t s_istep, vcl_ptrdiff_t s_jstep, double *gi, vcl_ptrdiff_t gi_istep, vcl_ptrdiff_t gi_jstep, double *gj, vcl_ptrdiff_t gj_istep, vcl_ptrdiff_t gj_jstep, unsigned ni, unsigned nj)
 Compute gradients of single plane of 2D data using 1x3 Sobel filters.
VCL_DEFINE_SPECIALIZATION void vil_sobel_1x3_1plane (const float *src, vcl_ptrdiff_t s_istep, vcl_ptrdiff_t s_jstep, float *gi, vcl_ptrdiff_t gi_istep, vcl_ptrdiff_t gi_jstep, float *gj, vcl_ptrdiff_t gj_istep, vcl_ptrdiff_t gj_jstep, unsigned ni, unsigned nj)
 Compute gradients of single plane of 2D data using 1x3 Sobel filters.
VCL_DEFINE_SPECIALIZATION void vil_sobel_1x3_1plane (const double *src, vcl_ptrdiff_t s_istep, vcl_ptrdiff_t s_jstep, double *gi, vcl_ptrdiff_t gi_istep, vcl_ptrdiff_t gi_jstep, double *gj, vcl_ptrdiff_t gj_istep, vcl_ptrdiff_t gj_jstep, unsigned ni, unsigned nj)
 Compute gradients of single plane of 2D data using 1x3 Sobel filters.

Function Documentation

VCL_DEFINE_SPECIALIZATION void vil_sobel_1x3_1plane ( const double *  src,
vcl_ptrdiff_t  s_istep,
vcl_ptrdiff_t  s_jstep,
double *  gi,
vcl_ptrdiff_t  gi_istep,
vcl_ptrdiff_t  gi_jstep,
double *  gj,
vcl_ptrdiff_t  gj_istep,
vcl_ptrdiff_t  gj_jstep,
unsigned  ni,
unsigned  nj 
)

Compute gradients of single plane of 2D data using 1x3 Sobel filters.

Computes both x and j gradients of an nx x nj plane of data

Definition at line 306 of file vil_sobel_1x3.cxx.

VCL_DEFINE_SPECIALIZATION void vil_sobel_1x3_1plane ( const float *  src,
vcl_ptrdiff_t  s_istep,
vcl_ptrdiff_t  s_jstep,
float *  gi,
vcl_ptrdiff_t  gi_istep,
vcl_ptrdiff_t  gi_jstep,
float *  gj,
vcl_ptrdiff_t  gj_istep,
vcl_ptrdiff_t  gj_jstep,
unsigned  ni,
unsigned  nj 
)

Compute gradients of single plane of 2D data using 1x3 Sobel filters.

Computes both x and j gradients of an nx x nj plane of data

Definition at line 209 of file vil_sobel_1x3.cxx.

VCL_DEFINE_SPECIALIZATION void vil_sobel_1x3_1plane ( const unsigned char *  src,
vcl_ptrdiff_t  s_istep,
vcl_ptrdiff_t  s_jstep,
double *  gi,
vcl_ptrdiff_t  gi_istep,
vcl_ptrdiff_t  gi_jstep,
double *  gj,
vcl_ptrdiff_t  gj_istep,
vcl_ptrdiff_t  gj_jstep,
unsigned  ni,
unsigned  nj 
)

Compute gradients of single plane of 2D data using 1x3 Sobel filters.

Computes both i and j gradients of an ni x nj plane of data

Definition at line 110 of file vil_sobel_1x3.cxx.

VCL_DEFINE_SPECIALIZATION void vil_sobel_1x3_1plane ( const unsigned char *  src,
vcl_ptrdiff_t  s_istep,
vcl_ptrdiff_t  s_jstep,
float *  gi,
vcl_ptrdiff_t  gi_istep,
vcl_ptrdiff_t  gi_jstep,
float *  gj,
vcl_ptrdiff_t  gj_istep,
vcl_ptrdiff_t  gj_jstep,
unsigned  ni,
unsigned  nj 
)

Compute gradients of single plane of 2D data using 1x3 Sobel filters.

Computes both i and j gradients of an ni x nj plane of data

Definition at line 11 of file vil_sobel_1x3.cxx.

template<class srcT, class destT>
void vil_sobel_1x3_1plane ( const srcT *  src,
vcl_ptrdiff_t  s_istep,
vcl_ptrdiff_t  s_jstep,
destT *  gi,
vcl_ptrdiff_t  gi_istep,
vcl_ptrdiff_t  gi_jstep,
destT *  gj,
vcl_ptrdiff_t  gj_istep,
vcl_ptrdiff_t  gj_jstep,
unsigned  ni,
unsigned  nj 
)

Compute gradients of single plane of 2D data using 1x3 Sobel filters.

Computes both i and j gradients of an ni x nj plane of data 1 pixel border around grad images is set to zero

Definition at line 56 of file vil_sobel_1x3.txx.


Generated on Sat Nov 22 05:07:55 2008 for core/vil by  doxygen 1.5.1