pub fn lut(src: &dyn core::ToInputArray, lut: &dyn core::ToInputArray, dst: &mut dyn core::ToOutputArray) -> Result<()> {
	input_array_arg!(src);
	input_array_arg!(lut);
	output_array_arg!(dst);
	unsafe { sys::cv_LUT_const__InputArrayX_const__InputArrayX_const__OutputArrayX(src.as_raw__InputArray(), lut.as_raw__InputArray(), dst.as_raw__OutputArray()) }.into_result()
}
/// Performs a look-up table transform of an array.
/// 
/// The function LUT fills the output array with values from the look-up table. Indices of the entries
/// are taken from the input array. That is, the function processes each element of src as follows:
/// ![block formula](https://latex.codecogs.com/png.latex?%5Ctexttt%7Bdst%7D%20%28I%29%20%20%5Cleftarrow%20%5Ctexttt%7Blut%28src%28I%29%20%2B%20d%29%7D)
/// where
/// ![block formula](https://latex.codecogs.com/png.latex?d%20%3D%20%20%5Cfork%7B0%7D%7Bif%20%5C%28%5Ctexttt%7Bsrc%7D%5C%29%20has%20depth%20%5C%28%5Ctexttt%7BCV%5F8U%7D%5C%29%7D%7B128%7D%7Bif%20%5C%28%5Ctexttt%7Bsrc%7D%5C%29%20has%20depth%20%5C%28%5Ctexttt%7BCV%5F8S%7D%5C%29%7D)
/// ## Parameters
/// * src: input array of 8-bit elements.
/// * lut: look-up table of 256 elements; in case of multi-channel input array, the table should
/// either have a single channel (in this case the same table is used for all channels) or the same
/// number of channels as in the input array.
/// * dst: output array of the same size and number of channels as src, and the same depth as lut.
/// ## See also
/// convertScaleAbs, Mat::convertTo
Performs a look-up table transform of an array.
The function LUT fills the output array with values from the look-up table. Indices of the entries
are taken from the input array. That is, the function processes each element of src as follows:
[block formula]
where
[block formula]
Performs a look - up table transform of an array . The function LUT fills the output array with values from the look - up table . Indices of the entries are taken from the input array . That is the function processes each element of src as follows : [ block formula ] where [ block formula ]
pub fn lut(src: &dyn core::ToInputArray, lut: &dyn core::ToInputArray, dst: &mut dyn core::ToOutputArray) -> Result<()> {
	input_array_arg!(src);
	input_array_arg!(lut);
	output_array_arg!(dst);
	unsafe { sys::cv_LUT_const__InputArrayX_const__InputArrayX_const__OutputArrayX(src.as_raw__InputArray(), lut.as_raw__InputArray(), dst.as_raw__OutputArray()) }.into_result()
}
pub fn lut ( src : & dyn core :: ToInputArray , lut : & dyn core :: ToInputArray , dst : & mut dyn core :: ToOutputArray ) -> Result < ( ) > { input_array_arg ! ( src ) ; input_array_arg ! ( lut ) ; output_array_arg ! ( dst ) ; unsafe { sys :: cv_LUT_const__InputArrayX_const__InputArrayX_const__OutputArrayX ( src . as_raw__InputArray ( ) , lut . as_raw__InputArray ( ) , dst . as_raw__OutputArray ( ) ) } . into_result ( ) }
Performs a look-up table transform of an array.
Performs a look - up table transform of an array .
src
&dyn core::ToInputArray
lut
&dyn core::ToInputArray
dst
&mut dyn core::ToOutputArray
see also
None