Trait opencv::core::prelude::_InputArrayTraitConst
source · pub trait _InputArrayTraitConst {
Show 38 methods
// Required method
fn as_raw__InputArray(&self) -> *const c_void;
// Provided methods
fn get_mat(&self, idx: i32) -> Result<Mat> { ... }
fn get_mat_(&self, idx: i32) -> Result<Mat> { ... }
fn get_umat(&self, idx: i32) -> Result<UMat> { ... }
fn get_mat_vector(&self, mv: &mut Vector<Mat>) -> Result<()> { ... }
fn get_umat_vector(&self, umv: &mut Vector<UMat>) -> Result<()> { ... }
fn get_gpu_mat_vector(&self, gpumv: &mut Vector<GpuMat>) -> Result<()> { ... }
fn get_gpu_mat(&self) -> Result<GpuMat> { ... }
fn get_o_gl_buffer(&self) -> Result<Buffer> { ... }
fn get_flags(&self) -> Result<i32> { ... }
fn get_obj(&self) -> Result<*mut c_void> { ... }
fn get_sz(&self) -> Result<Size> { ... }
fn kind(&self) -> Result<_InputArray_KindFlag> { ... }
fn dims(&self, i: i32) -> Result<i32> { ... }
fn cols(&self, i: i32) -> Result<i32> { ... }
fn rows(&self, i: i32) -> Result<i32> { ... }
fn size(&self, i: i32) -> Result<Size> { ... }
fn sizend(&self, sz: &mut i32, i: i32) -> Result<i32> { ... }
fn same_size(&self, arr: &dyn ToInputArray) -> Result<bool> { ... }
fn total(&self, i: i32) -> Result<size_t> { ... }
fn typ(&self, i: i32) -> Result<i32> { ... }
fn depth(&self, i: i32) -> Result<i32> { ... }
fn channels(&self, i: i32) -> Result<i32> { ... }
fn is_continuous(&self, i: i32) -> Result<bool> { ... }
fn is_submatrix(&self, i: i32) -> Result<bool> { ... }
fn empty(&self) -> Result<bool> { ... }
fn copy_to(&self, arr: &mut dyn ToOutputArray) -> Result<()> { ... }
fn copy_to_masked(
&self,
arr: &mut dyn ToOutputArray,
mask: &dyn ToInputArray
) -> Result<()> { ... }
fn offset(&self, i: i32) -> Result<size_t> { ... }
fn step(&self, i: i32) -> Result<size_t> { ... }
fn is_mat(&self) -> Result<bool> { ... }
fn is_umat(&self) -> Result<bool> { ... }
fn is_mat_vector(&self) -> Result<bool> { ... }
fn is_umat_vector(&self) -> Result<bool> { ... }
fn is_matx(&self) -> Result<bool> { ... }
fn is_vector(&self) -> Result<bool> { ... }
fn is_gpu_mat(&self) -> Result<bool> { ... }
fn is_gpu_mat_vector(&self) -> Result<bool> { ... }
}Expand description
Constant methods for core::_InputArray
Required Methods§
fn as_raw__InputArray(&self) -> *const c_void
Provided Methods§
fn get_mat_vector(&self, mv: &mut Vector<Mat>) -> Result<()>
fn get_umat_vector(&self, umv: &mut Vector<UMat>) -> Result<()>
fn get_gpu_mat_vector(&self, gpumv: &mut Vector<GpuMat>) -> Result<()>
fn get_gpu_mat(&self) -> Result<GpuMat>
fn get_o_gl_buffer(&self) -> Result<Buffer>
fn get_flags(&self) -> Result<i32>
fn get_obj(&self) -> Result<*mut c_void>
fn get_sz(&self) -> Result<Size>
fn kind(&self) -> Result<_InputArray_KindFlag>
fn same_size(&self, arr: &dyn ToInputArray) -> Result<bool>
sourcefn is_continuous(&self, i: i32) -> Result<bool>
fn is_continuous(&self, i: i32) -> Result<bool>
C++ default parameters
- i: -1
sourcefn is_submatrix(&self, i: i32) -> Result<bool>
fn is_submatrix(&self, i: i32) -> Result<bool>
C++ default parameters
- i: -1