Commit b4d3ff37 authored by Alexander Alekhin's avatar Alexander Alekhin

Merge pull request #14720 from rgarnov:gapi_remove_lut3d

parents 1706a760 25e4bce1
...@@ -1564,25 +1564,6 @@ number of channels as in the input matrix. ...@@ -1564,25 +1564,6 @@ number of channels as in the input matrix.
*/ */
GAPI_EXPORTS GMat LUT(const GMat& src, const Mat& lut); GAPI_EXPORTS GMat LUT(const GMat& src, const Mat& lut);
/** @brief Performs a 3D look-up table transform of a multi-channel matrix.
The function LUT3D fills the output matrix with values from the look-up table. Indices of the entries
are taken from the input matrix. Interpolation is applied for mapping 0-255 range values to 0-16 range of 3DLUT table.
The function processes each element of src as follows:
@code{.cpp}
dst[i][j][k] = lut3D[~src_r][~src_g][~src_b];
@endcode
where ~ means approximation.
Output is a matrix of of @ref CV_8UC3.
@note Function textual ID is "org.opencv.core.transform.LUT3D"
@param src input matrix of @ref CV_8UC3.
@param lut3D look-up table 17x17x17 3-channel elements.
@param interpolation The depth of interpoolation to be used.
*/
GAPI_EXPORTS GMat LUT3D(const GMat& src, const GMat& lut3D, int interpolation = INTER_NEAREST);
/** @brief Converts a matrix to another data depth with optional scaling. /** @brief Converts a matrix to another data depth with optional scaling.
The method converts source pixel values to the target data depth. saturate_cast\<\> is applied at The method converts source pixel values to the target data depth. saturate_cast\<\> is applied at
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment