UsTK : Ultrasound ToolKit
version 2.0.1 under development (2024-11-21)
|
Public Member Functions | |
usSignalProcessing () | |
virtual | ~usSignalProcessing () |
Static Public Member Functions | |
static vpMatrix | GaussianFilter (int height, int width, double sigma) |
static vpMatrix | getXGradient (const usImageRF2D< short > &image) |
static vpMatrix | getYGradient (const usImageRF2D< short int > &image) |
static vpMatrix | Difference (const usImageRF2D< short int > &A, const usImageRF2D< short int > &B) |
static vpMatrix | BilinearInterpolation (vpMatrix In, uint newW, uint newH) |
static vpMatrix | HadamardProd (vpMatrix matrix1, vpMatrix matrix2) |
Definition at line 69 of file usSignalProcessing.h.
usSignalProcessing::usSignalProcessing | ( | ) |
Constructor.
usSignalProcessing::usSignalProcessing Constructor
Definition at line 40 of file usSignalProcessing.cpp.
|
virtual |
Virtual destructor.
usSignalProcessing::~usSignalProcessing Destructor - void
Definition at line 45 of file usSignalProcessing.cpp.
|
static |
Bilinear Interpolation.
Performs a bilinear interpolation on matrix In, to produce an output matrix of size (newH,newW)
In | Input matrix to interpolate. |
newW | Output matrix width. |
newH | Output matrix height. |
Definition at line 152 of file usSignalProcessing.cpp.
Referenced by usElastography::run().
|
static |
Computes the difference between 2 matrix (value by value) The output matrix O is defined as O[i][j] = A[i][j] - B[i][j] for every component of the matrix. A and B must have the same size.
A | First input matrix. |
B | Second input matrix. |
Definition at line 130 of file usSignalProcessing.cpp.
References usImageRF2D< Type >::getHeight(), and usImageRF2D< Type >::getWidth().
Referenced by usElastography::run().
|
static |
Gaussian Kernel generator.
Gaussian filter kernel generator.
height | Gaussian kernel height. |
width | Gaussian kernel width. |
sigma | Standard deviation of the gaussian function. |
Definition at line 56 of file usSignalProcessing.cpp.
Referenced by usElastography::run().
|
static |
Computation of gradients.
Computes a gradient filter on a RF image, along every row. The filter kernel is : [-0.5, 0, 0.5]
image | RF image to apply the X gradient filter on. |
Definition at line 80 of file usSignalProcessing.cpp.
References usImageRF2D< Type >::getHeight(), and usImageRF2D< Type >::getWidth().
Referenced by usElastography::run().
|
static |
Computes a gradient filter on a RF image, along every row. The filter kernel is the transpose of : [-0.5, 0, 0.5]
image | RF image to apply the Y gradient filter on. |
Definition at line 104 of file usSignalProcessing.cpp.
References usImageRF2D< Type >::getHeight(), and usImageRF2D< Type >::getWidth().
Referenced by usElastography::run().
|
static |
Element-wise product.
Performs the Hadamar product between 2 input matrices. matrix1 and matrix2 must have the same size.
matrix1 | First input matrix to multiply. |
matrix2 | Second input matrix to multiply. |
Definition at line 188 of file usSignalProcessing.cpp.
Referenced by usElastography::run().