Preprocessing exports. More...
Functions | |
cvbres_t | CVSCubeAddition (CVCOMPOSITE ImageCube1, CVCOMPOSITE ImageCube2, cvbbool_t ClipResults, CVCOMPOSITE &ImageCubeOut) |
Element-wise addition of two Cubes. More... | |
cvbres_t | CVSCubeDivision (CVCOMPOSITE Dividend, CVCOMPOSITE Divisor, CVCOMPOSITE &ImageCubeOut) |
Element-wise division of two Cubes. More... | |
cvbres_t | CVSCubeMultiplication (CVCOMPOSITE ImageCube1, CVCOMPOSITE ImageCube2, cvbbool_t ClipResults, CVCOMPOSITE &ImageCubeOut) |
Element-wise multiplication of two Cubes. More... | |
cvbres_t | CVSCubeNormalize (CVCOMPOSITE ImageCubeIn, CVCOMPOSITE WhiteReference, CVCOMPOSITE BlackReference, CVSNormalizationMethod NormalizationMethod, CVCOMPOSITE &ImageCubeOut) |
Normalizes the Spectral cube. More... | |
cvbres_t | CVSCubeSubtraction (CVCOMPOSITE Minuend, CVCOMPOSITE Subtrahend, cvbbool_t ClipResults, CVCOMPOSITE &ImageCubeOut) |
Element-wise subtraction of two Cubes. More... | |
Preprocessing exports.
For details see function documentation.
cvbres_t CVSCubeAddition | ( | CVCOMPOSITE | ImageCube1, |
CVCOMPOSITE | ImageCube2, | ||
cvbbool_t | ClipResults, | ||
CVCOMPOSITE & | ImageCubeOut | ||
) |
Element-wise addition of two Cubes.
Creates a new Cube after adding all values of ImageCube1 and ImageCube2 for each element (ImageCube1 + ImageCube2).
[in] | ImageCube1 | Any kind of cube is supported as long as the dimensions match with ImageCube2 |
[in] | ImageCube2 | Any kind of cube is supported as long as the dimensions match with ImageCube1 |
[in] | ClipResults | In case of TRUE: Clips the resulting pixel values to the maximum possible value of the resulting data type. In case of false the result might lead to overflow |
[out] | ImageCubeOut | Linear cube of the same dimensions and data type. The metadata is a copy from ImageCube1 |
cvbres_t CVSCubeDivision | ( | CVCOMPOSITE | Dividend, |
CVCOMPOSITE | Divisor, | ||
CVCOMPOSITE & | ImageCubeOut | ||
) |
Element-wise division of two Cubes.
Creates a new Cube after dividing all values of Dividend and Divisor for each element (Dividend / Divisor).
[in] | Dividend | Any kind of cube is supported as long as the dimensions match with Divisor |
[in] | Divisor | Any kind of cube is supported as long as the dimensions match with Dividend |
[out] | ImageCubeOut | Linear cube of the same dimensions of data type float. The metadata is a copy from Dividend |
cvbres_t CVSCubeMultiplication | ( | CVCOMPOSITE | ImageCube1, |
CVCOMPOSITE | ImageCube2, | ||
cvbbool_t | ClipResults, | ||
CVCOMPOSITE & | ImageCubeOut | ||
) |
Element-wise multiplication of two Cubes.
Creates a new Cube after multiplying all values of ImageCube1 and ImageCube2 for each element.
[in] | ImageCube1 | Any kind of cube is supported as long as the dimensions match with ImageCube2 |
[in] | ImageCube2 | Any kind of cube is supported as long as the dimensions match with ImageCube1 |
[in] | ClipResults | In case of TRUE: Clips the resulting pixel values to the maximum or minimum possible value of the resulting data type. In case of false the result might lead to overflow |
[out] | ImageCubeOut | Linear cube of the same dimensions and data type. The metadata is a copy from ImageCube1 |
cvbres_t CVSCubeNormalize | ( | CVCOMPOSITE | ImageCubeIn, |
CVCOMPOSITE | WhiteReference, | ||
CVCOMPOSITE | BlackReference, | ||
CVSNormalizationMethod | NormalizationMethod, | ||
CVCOMPOSITE & | ImageCubeOut | ||
) |
Normalizes the Spectral cube.
This function creates a normalized cube using the white- and black reference and the object cube. More details in CVSNormalizationMethod
[in] | ImageCubeIn | Spectral Cube to work on |
[in] | WhiteReference | The white reference contains a linear Cube with matching dimensions for samples and bands to ImageCubeIn |
[in] | BlackReference | The black reference contains a linear Cube with matching dimensions for samples and bands to ImageCubeIn |
[in] | NormalizationMethod | Defines the normalization method. More detailed information in CVSNormalizationMethod |
[out] | ImageCubeOut | Normalized image of data type float32 |
cvbres_t CVSCubeSubtraction | ( | CVCOMPOSITE | Minuend, |
CVCOMPOSITE | Subtrahend, | ||
cvbbool_t | ClipResults, | ||
CVCOMPOSITE & | ImageCubeOut | ||
) |
Element-wise subtraction of two Cubes.
Creates a new Cube after subtracting all values of Minuend and Subtrahend for each element (Minuend - Subtrahend).
[in] | Minuend | Any kind of cube is supported as long as the dimensions match with Subtrahend |
[in] | Subtrahend | Any kind of cube is supported as long as the dimensions match with Minuend |
[in] | ClipResults | In case of TRUE: Clips the resulting pixel values to the minimum possible value of the resulting data type. In case of false the result might lead to overflow |
[out] | ImageCubeOut | Linear cube of the same dimensions and data type. The metadata is a copy from Minuend |