Trait opencv::prelude::LookUpTable[][src]

pub trait LookUpTable: AlgorithmTrait {
    fn as_raw_LookUpTable(&self) -> *const c_void;
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<()> { ... } }
Expand description

Base class for transform using lookup table.

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