[−][src]Trait opencv::core::MatTraitManual
Provided methods
unsafe fn at_unchecked<T: DataType>(&self, i0: i32) -> Result<&T>
Like Mat::at()
but performs no bounds or type checks
unsafe fn at_unchecked_mut<T: DataType>(&mut self, i0: i32) -> Result<&mut T>
Like Mat::at_mut()
but performs no bounds or type checks
unsafe fn at_2d_unchecked<T: DataType>(&self, row: i32, col: i32) -> Result<&T>
Like Mat::at_2d()
but performs no bounds or type checks
unsafe fn at_2d_unchecked_mut<T: DataType>(
&mut self,
row: i32,
col: i32
) -> Result<&mut T>
&mut self,
row: i32,
col: i32
) -> Result<&mut T>
Like Mat::at_2d_mut()
but performs no bounds or type checks
unsafe fn at_pt_unchecked<T: DataType>(&self, pt: Point) -> Result<&T>
Like Mat::at_pt()
but performs no bounds or type checks
unsafe fn at_pt_unchecked_mut<T: DataType>(
&mut self,
pt: Point
) -> Result<&mut T>
&mut self,
pt: Point
) -> Result<&mut T>
Like Mat::at_pt_mut()
but performs no bounds or type checks
unsafe fn at_3d_unchecked<T: DataType>(
&self,
i0: i32,
i1: i32,
i2: i32
) -> Result<&T>
&self,
i0: i32,
i1: i32,
i2: i32
) -> Result<&T>
Return a complete read-only row
unsafe fn at_3d_unchecked_mut<T: DataType>(
&mut self,
i0: i32,
i1: i32,
i2: i32
) -> Result<&mut T>
&mut self,
i0: i32,
i1: i32,
i2: i32
) -> Result<&mut T>
unsafe fn at_nd_unchecked<T: DataType>(&self, idx: &[i32]) -> Result<&T>
unsafe fn at_nd_unchecked_mut<T: DataType>(
&mut self,
idx: &[i32]
) -> Result<&mut T>
&mut self,
idx: &[i32]
) -> Result<&mut T>
fn at_row<T: DataType>(&self, row: i32) -> Result<&[T]>
unsafe fn at_row_unchecked<T: DataType>(&self, row: i32) -> Result<&[T]>
Like Mat::at_row()
but performs no bounds or type checks
fn at_row_mut<T: DataType>(&mut self, row: i32) -> Result<&mut [T]>
Return a complete writeable row
unsafe fn at_row_unchecked_mut<T: DataType>(
&mut self,
row: i32
) -> Result<&mut [T]>
&mut self,
row: i32
) -> Result<&mut [T]>
Like Mat::at_row_mut()
but performs no bounds or type checks
fn size(&self) -> Result<Size>
fn is_allocated(&self) -> bool
fn set(&mut self, s: Scalar) -> Result<()>
Sets all or some of the array elements to the specified value.
Parameters
- s: Assigned scalar converted to the actual array type.