pub trait _OutputArrayTraitConst: _InputArrayTraitConst {
Show 23 methods // Required method fn as_raw__OutputArray(&self) -> *const c_void; // Provided methods fn fixed_size(&self) -> Result<bool> { ... } fn fixed_type(&self) -> Result<bool> { ... } fn needed(&self) -> Result<bool> { ... } fn get_mat_ref(&self, i: i32) -> Result<Mat> { ... } fn get_umat_ref(&self, i: i32) -> Result<UMat> { ... } fn get_gpu_mat_ref(&self) -> Result<GpuMat> { ... } fn get_gpu_mat_vec_ref(&self) -> Result<Vector<GpuMat>> { ... } fn get_o_gl_buffer_ref(&self) -> Result<Buffer> { ... } fn get_host_mem_ref(&self) -> Result<HostMem> { ... } fn create_size( &self, sz: Size, typ: i32, i: i32, allow_transposed: bool, fixed_depth_mask: _OutputArray_DepthMask ) -> Result<()> { ... } fn create( &self, rows: i32, cols: i32, typ: i32, i: i32, allow_transposed: bool, fixed_depth_mask: _OutputArray_DepthMask ) -> Result<()> { ... } fn create_nd( &self, size: &[i32], typ: i32, i: i32, allow_transposed: bool, fixed_depth_mask: _OutputArray_DepthMask ) -> Result<()> { ... } unsafe fn create_same_size( &self, arr: &dyn ToInputArray, mtype: i32 ) -> Result<()> { ... } fn release(&self) -> Result<()> { ... } fn clear(&self) -> Result<()> { ... } fn set_to( &self, value: &dyn ToInputArray, mask: &dyn ToInputArray ) -> Result<()> { ... } fn assign(&self, u: &UMat) -> Result<()> { ... } fn assign_1(&self, m: &Mat) -> Result<()> { ... } fn assign_2(&self, v: &Vector<UMat>) -> Result<()> { ... } fn assign_3(&self, v: &Vector<Mat>) -> Result<()> { ... } fn move_(&self, u: &mut UMat) -> Result<()> { ... } fn move__1(&self, m: &mut Mat) -> Result<()> { ... }
}
Expand description

Constant methods for core::_OutputArray

Required Methods§

Provided Methods§

source

fn fixed_size(&self) -> Result<bool>

source

fn fixed_type(&self) -> Result<bool>

source

fn needed(&self) -> Result<bool>

source

fn get_mat_ref(&self, i: i32) -> Result<Mat>

source

fn get_umat_ref(&self, i: i32) -> Result<UMat>

source

fn get_gpu_mat_ref(&self) -> Result<GpuMat>

source

fn get_gpu_mat_vec_ref(&self) -> Result<Vector<GpuMat>>

source

fn get_o_gl_buffer_ref(&self) -> Result<Buffer>

source

fn get_host_mem_ref(&self) -> Result<HostMem>

source

fn create_size( &self, sz: Size, typ: i32, i: i32, allow_transposed: bool, fixed_depth_mask: _OutputArray_DepthMask ) -> Result<()>

C++ default parameters
  • i: -1
  • allow_transposed: false
  • fixed_depth_mask: static_cast<_OutputArray::DepthMask>(0)
source

fn create( &self, rows: i32, cols: i32, typ: i32, i: i32, allow_transposed: bool, fixed_depth_mask: _OutputArray_DepthMask ) -> Result<()>

C++ default parameters
  • i: -1
  • allow_transposed: false
  • fixed_depth_mask: static_cast<_OutputArray::DepthMask>(0)
source

fn create_nd( &self, size: &[i32], typ: i32, i: i32, allow_transposed: bool, fixed_depth_mask: _OutputArray_DepthMask ) -> Result<()>

C++ default parameters
  • i: -1
  • allow_transposed: false
  • fixed_depth_mask: static_cast<_OutputArray::DepthMask>(0)
source

unsafe fn create_same_size( &self, arr: &dyn ToInputArray, mtype: i32 ) -> Result<()>

source

fn release(&self) -> Result<()>

source

fn clear(&self) -> Result<()>

source

fn set_to(&self, value: &dyn ToInputArray, mask: &dyn ToInputArray) -> Result<()>

C++ default parameters
  • mask: _InputArray()
source

fn assign(&self, u: &UMat) -> Result<()>

source

fn assign_1(&self, m: &Mat) -> Result<()>

source

fn assign_2(&self, v: &Vector<UMat>) -> Result<()>

source

fn assign_3(&self, v: &Vector<Mat>) -> Result<()>

source

fn move_(&self, u: &mut UMat) -> Result<()>

source

fn move__1(&self, m: &mut Mat) -> Result<()>

Implementors§