Functions
contrib/mul/vil3d/algo/vil3d_grad_1x3.cxx File Reference

Apply gradient filter to single plane 3D image. More...

#include "vil3d_grad_1x3.h"
#include <vil3d/vil3d_slice.h>
#include <vcl_cassert.h>

Go to the source code of this file.

Functions

void vil3d_zero_border_1plane (vil3d_image_view< float > &image)
 Fill 1 pixel border in image with zeros.
void vil3d_grad_1x3_1plane (const vil3d_image_view< vxl_byte > &src_im, vil3d_image_view< float > &grad_i, vil3d_image_view< float > &grad_j, vil3d_image_view< float > &grad_k)
 Compute gradients of single plane of 2D data using 1x3 grad filters.
void vil3d_grad_1x3_1plane (const vil3d_image_view< float > &src_im, vil3d_image_view< float > &grad_i, vil3d_image_view< float > &grad_j, vil3d_image_view< float > &grad_k)
 Compute gradients of single plane of 3D data using 1x3 grad filters.
void vil3d_grad_1x3_1plane (const vil3d_image_view< vxl_int_32 > &src_im, vil3d_image_view< float > &grad_i, vil3d_image_view< float > &grad_j, vil3d_image_view< float > &grad_k)
 Compute gradients of single plane of 3D data using 1x3 grad filters.
void vil3d_grad_1x3_mag_sq_1plane (const vil3d_image_view< vxl_byte > &src_im, vil3d_image_view< float > &grad_mag2)
 Compute square dgradient magnitude of single plane of 3D data.
void vil3d_grad_1x3_mag_sq_1plane (const vil3d_image_view< float > &src_im, vil3d_image_view< float > &grad_mag2)
 Compute square gradient magnitude of single plane of 3D data.
void vil3d_grad_1x3_mag_sq_1plane (const vil3d_image_view< vxl_int_32 > &src_im, vil3d_image_view< float > &grad_mag2)
 Compute square gradient magnitude of single plane of 3D data.

Detailed Description

Apply gradient filter to single plane 3D image.

Author:
Tim Cootes

Definition in file vil3d_grad_1x3.cxx.


Function Documentation

void vil3d_grad_1x3_1plane ( const vil3d_image_view< vxl_byte > &  src_im,
vil3d_image_view< float > &  grad_i,
vil3d_image_view< float > &  grad_j,
vil3d_image_view< float > &  grad_k 
)

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

Compute gradients of single plane of 2D data using (-0.5 0 0.5) filters.

Definition at line 28 of file vil3d_grad_1x3.cxx.

void vil3d_grad_1x3_1plane ( const vil3d_image_view< float > &  src_im,
vil3d_image_view< float > &  grad_i,
vil3d_image_view< float > &  grad_j,
vil3d_image_view< float > &  grad_k 
)

Compute gradients of single plane of 3D data using 1x3 grad filters.

Compute gradients of single plane of 2D data using (-0.5 0 0.5) filters.

Definition at line 99 of file vil3d_grad_1x3.cxx.

void vil3d_grad_1x3_1plane ( const vil3d_image_view< vxl_int_32 > &  src_im,
vil3d_image_view< float > &  grad_i,
vil3d_image_view< float > &  grad_j,
vil3d_image_view< float > &  grad_k 
)

Compute gradients of single plane of 3D data using 1x3 grad filters.

Compute gradients of single plane of 2D data using (-0.5 0 0.5) filters.

Definition at line 159 of file vil3d_grad_1x3.cxx.

void vil3d_grad_1x3_mag_sq_1plane ( const vil3d_image_view< vxl_byte > &  src_im,
vil3d_image_view< float > &  grad_mag2 
)

Compute square dgradient magnitude of single plane of 3D data.

Use (-0.5,0,+0.5) filters in i,j,k

Definition at line 219 of file vil3d_grad_1x3.cxx.

void vil3d_grad_1x3_mag_sq_1plane ( const vil3d_image_view< float > &  src_im,
vil3d_image_view< float > &  grad_mag2 
)

Compute square gradient magnitude of single plane of 3D data.

Use (-0.5,0,+0.5) filters in i,j,k

Definition at line 276 of file vil3d_grad_1x3.cxx.

void vil3d_grad_1x3_mag_sq_1plane ( const vil3d_image_view< vxl_int_32 > &  src_im,
vil3d_image_view< float > &  grad_mag2 
)

Compute square gradient magnitude of single plane of 3D data.

Use (-0.5,0,+0.5) filters in i,j,k

Definition at line 332 of file vil3d_grad_1x3.cxx.

void vil3d_zero_border_1plane ( vil3d_image_view< float > &  image)

Fill 1 pixel border in image with zeros.

Definition at line 11 of file vil3d_grad_1x3.cxx.