Apply 1x3 gradient operator (-0.5 0 0.5) to image data. More...
Go to the source code of this file.
Functions | |
template<class srcT , class destT > | |
void | vil3d_grad_1x3 (const vil3d_image_view< srcT > &src, vil3d_image_view< destT > &grad_i, vil3d_image_view< destT > &grad_j, vil3d_image_view< destT > &grad_k) |
Compute gradients of an image using (-0.5 0 0.5) Sobel filters. | |
template<class srcT , class destT > | |
void | vil3d_grad_1x3 (const vil3d_image_view< srcT > &src, vil3d_image_view< destT > &grad_ijk) |
Compute gradients of an image using (-0.5 0 0.5) filters. | |
template<class srcT , class destT > | |
void | vil3d_grad_1x3_mag_sq (const vil3d_image_view< srcT > &src, vil3d_image_view< destT > &grad_mag2) |
Compute square gradient magnitude of 3D image. | |
void | vil3d_grad_1x3_1plane (const vil3d_image_view< vxl_byte > &src, 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 (-0.5 0 0.5) filters. | |
void | vil3d_grad_1x3_1plane (const vil3d_image_view< float > &src, 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 (-0.5 0 0.5) filters. | |
void | vil3d_grad_1x3_1plane (const vil3d_image_view< vxl_int_32 > &src, 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 (-0.5 0 0.5) 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. | |
template<class srcT , class destT > | |
void | vil3d_grad_1x3_i (const vil3d_image_view< srcT > &src_im, vil3d_image_view< destT > &grad_im) |
Compute gradient by applying (-0.5 0 0.5) filter along i axis. | |
template<class srcT , class destT > | |
void | vil3d_grad_1x3_j (const vil3d_image_view< srcT > &src_im, vil3d_image_view< destT > &grad_im) |
Compute gradient by applying (-0.5 0 0.5) filter along j axis. | |
template<class srcT , class destT > | |
void | vil3d_grad_1x3_k (const vil3d_image_view< srcT > &src_im, vil3d_image_view< destT > &grad_im) |
Compute gradient by applying (-0.5 0 0.5) filter along k axis. |
Apply 1x3 gradient operator (-0.5 0 0.5) to image data.
Definition in file vil3d_grad_1x3.h.
void vil3d_grad_1x3 | ( | const vil3d_image_view< srcT > & | src, |
vil3d_image_view< destT > & | grad_i, | ||
vil3d_image_view< destT > & | grad_j, | ||
vil3d_image_view< destT > & | grad_k | ||
) |
Compute gradients of an image using (-0.5 0 0.5) Sobel filters.
Computes both i,j and k gradients of an ni x nj x nk plane of data 1 pixel border around grad images is set to zero
Definition at line 91 of file vil3d_grad_1x3.txx.
void vil3d_grad_1x3 | ( | const vil3d_image_view< srcT > & | src, |
vil3d_image_view< destT > & | grad_ijk | ||
) |
Compute gradients of an image using (-0.5 0 0.5) filters.
Computes both i,j and k gradients of an image. grad_ijk has three times as many planes as src, with dest plane (3i) being the i-gradient of source plane i and dest plane (3i+1) being the j-gradient etc 1 pixel border around grad images is set to zero
Compute gradients of an image using (-0.5 0 0.5) filters.
Computes both i,j and k gradients of an ni x nj x nk plane of data 1 pixel border around grad images is set to zero
Definition at line 54 of file vil3d_grad_1x3.txx.
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 (-0.5 0 0.5) filters.
Computes both i,j and k gradients of an ni x nj x nk plane of data 1 pixel border around grad images is set to zero
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 2D data using (-0.5 0 0.5) filters.
Computes both i,j and k gradients of an ni x nj x nk plane of data 1 pixel border around grad images is set to zero
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 2D data using (-0.5 0 0.5) filters.
Computes both i,j and k gradients of an ni x nj x nk plane of data 1 pixel border around grad images is set to zero
Definition at line 159 of file vil3d_grad_1x3.cxx.
void vil3d_grad_1x3_i | ( | const vil3d_image_view< srcT > & | src_im, |
vil3d_image_view< destT > & | grad_im | ||
) |
Compute gradient by applying (-0.5 0 0.5) filter along i axis.
Resulting image has same size. Border pixels (i=0,ni-1) set to zero.
Definition at line 80 of file vil3d_grad_1x3.h.
void vil3d_grad_1x3_j | ( | const vil3d_image_view< srcT > & | src_im, |
vil3d_image_view< destT > & | grad_im | ||
) |
Compute gradient by applying (-0.5 0 0.5) filter along j axis.
Resulting image has same size. Border pixels (j=0,nj-1) set to zero.
Definition at line 133 of file vil3d_grad_1x3.h.
void vil3d_grad_1x3_k | ( | const vil3d_image_view< srcT > & | src_im, |
vil3d_image_view< destT > & | grad_im | ||
) |
Compute gradient by applying (-0.5 0 0.5) filter along k axis.
Resulting image has same size. Border pixels (k=0,nk-1) set to zero.
Definition at line 147 of file vil3d_grad_1x3.h.
void vil3d_grad_1x3_mag_sq | ( | const vil3d_image_view< srcT > & | src, |
vil3d_image_view< destT > & | grad_mag2 | ||
) |
Compute square gradient magnitude of 3D image.
Use (-0.5,0,+0.5) filters in i,j,k
Definition at line 130 of file vil3d_grad_1x3.txx.
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.