UsTK : Ultrasound ToolKit
version 2.0.1 under development (2024-11-21)
|
Public Member Functions | |
usConvolution2d () | |
virtual | ~usConvolution2d () |
void | init (const vpMatrix &matrix1, const vpMatrix &matrix2) |
vpMatrix | run (const vpMatrix &matrix1, const vpMatrix &matrix2) |
Convolution process for elastography puropse, based on fftw thirdparty library.
This class performs 2D convolutions on RF images.
Definition at line 57 of file usConvolution2d.h.
usConvolution2d::usConvolution2d | ( | ) |
Default constructor. It only initializes the pointers class members to NULL.
Definition at line 42 of file usConvolution2d.cpp.
|
virtual |
Destructor. Clear memory allocations.
Definition at line 51 of file usConvolution2d.cpp.
void usConvolution2d::init | ( | const vpMatrix & | matrix1, |
const vpMatrix & | matrix2 | ||
) |
Initialization of the convolution process with the matrix dimentions specified (if not already done), and storage of convolution inputs.
matrix1 | Input matrix for the convolution. |
matrix2 | Convolution filter to apply on matrix1. |
Definition at line 71 of file usConvolution2d.cpp.
Referenced by run().
vpMatrix usConvolution2d::run | ( | const vpMatrix & | matrix1, |
const vpMatrix & | matrix2 | ||
) |
Run the convolution.
matrix1 | Input matrix for the convolution. |
matrix2 | Convolution filter to apply on matrix1. |
Definition at line 130 of file usConvolution2d.cpp.
References init().