pub trait LookUpTable: AlgorithmTrait + LookUpTableConst {
    fn as_raw_mut_LookUpTable(&mut self) -> *mut c_void;

    fn transform(
        &mut self,
        src: &dyn ToInputArray,
        dst: &mut dyn ToOutputArray,
        stream: &mut Stream
    ) -> Result<()> { ... } }

Required Methods

Provided Methods

Transforms the source matrix into the destination matrix using the given look-up table: dst(I) = lut(src(I)) .

Parameters
  • src: Source matrix. CV_8UC1 and CV_8UC3 matrices are supported for now.
  • dst: Destination matrix.
  • stream: Stream for the asynchronous version.
C++ default parameters
  • stream: Stream::Null()

Implementors