UsTK : Ultrasound ToolKit  version 2.0.1 under development (2024-11-21)

#include </home/soft/ustk/ustk-web-script/ustk-code/modules/ustk_elastography/include/visp3/ustk_elastography/usConvolution2d.h>

Public Member Functions

 usConvolution2d ()
 
virtual ~usConvolution2d ()
 
void init (const vpMatrix &matrix1, const vpMatrix &matrix2)
 
vpMatrix run (const vpMatrix &matrix1, const vpMatrix &matrix2)
 

Detailed Description

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.

Constructor & Destructor Documentation

◆ usConvolution2d()

usConvolution2d::usConvolution2d ( )

Default constructor. It only initializes the pointers class members to NULL.

Definition at line 42 of file usConvolution2d.cpp.

◆ ~usConvolution2d()

usConvolution2d::~usConvolution2d ( )
virtual

Destructor. Clear memory allocations.

Definition at line 51 of file usConvolution2d.cpp.

Member Function Documentation

◆ init()

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.

Parameters
matrix1Input matrix for the convolution.
matrix2Convolution filter to apply on matrix1.

Definition at line 71 of file usConvolution2d.cpp.

Referenced by run().

◆ run()

vpMatrix usConvolution2d::run ( const vpMatrix &  matrix1,
const vpMatrix &  matrix2 
)

Run the convolution.

Parameters
matrix1Input matrix for the convolution.
matrix2Convolution filter to apply on matrix1.

Definition at line 130 of file usConvolution2d.cpp.

References init().