UsTK : Ultrasound ToolKit
version 2.0.1 under development (2024-12-17)
|
#include <visp3/ustk_core/usLogCompressor.h>
Public Member Functions | |
usLogCompressor () | |
~usLogCompressor () | |
void | init (double alpha) |
void | run (unsigned char *dst, const double *src, unsigned int size) |
Log-compression filter.
This class performs log-compression of an array of data. The filter should be initialized through init() and then applied through run().
Definition at line 55 of file usLogCompressor.h.
usLogCompressor::usLogCompressor | ( | ) |
usLogCompressor::~usLogCompressor | ( | ) |
void usLogCompressor::init | ( | double | alpha | ) |
Initialize the log-compression filter.
alpha | The contrast parameter. |
Definition at line 66 of file usLogCompressor.cpp.
void usLogCompressor::run | ( | unsigned char * | dst, |
const double * | src, | ||
unsigned int | size | ||
) |
Run the log-compression filter.
[out] | dst | Pointer to the destination data array. |
[in] | src | Pointer to the source data array. |
[in] | size | The size of the data array. |
Both dst and src must point to an array of size size.
Definition at line 84 of file usLogCompressor.cpp.
Referenced by usRFToPreScan2DConverter::convert().