Struct opencv::core::Mat_ [−][src]
pub struct Mat_<T> { /* fields omitted */ }
Expand description
This struct is freely convertible into and from Mat
using into
and try_from
methods. You might want
to convert Mat
to Mat_
before calling typed methods (like at
, data_typed
) when more performance is
required because this way you will skip the data type checks (still WIP, not all methods are covered).
Implementations
Trait Implementations
the number of rows and columns or (-1, -1) when the matrix has more than 2 dimensions
the number of rows and columns or (-1, -1) when the matrix has more than 2 dimensions
Sets all or some of the array elements to the specified value. Read more
Allocates new array data if needed. Read more
Allocates new array data if needed. Read more
Allocates new array data if needed. Read more
Allocates new array data if needed. Read more
Decrements the reference counter and deallocates the matrix if needed. Read more
internal use function, consider to use ‘release’ method instead; deallocates the matrix data
Reserves space for the certain number of rows. Read more
Reserves space for the certain number of bytes. Read more
Changes the number of matrix rows. Read more
Adds elements to the bottom of the matrix. Read more
Removes elements from the bottom of the matrix. Read more
Adjusts a submatrix size and position within the parent matrix. Read more
Returns a pointer to the specified matrix row. Read more
Returns a pointer to the specified matrix row. Read more
Returns a pointer to the specified matrix row. Read more
Returns a pointer to the specified matrix row. Read more
Returns a reference to the specified array element. Read more
Returns a reference to the specified array element. Read more
Returns a reference to the specified array element. Read more
Returns a reference to the specified array element. Read more
Returns a reference to the specified array element. Read more
internal use method: updates the continuity flag
the number of rows and columns or (-1, -1) when the matrix has more than 2 dimensions
the number of rows and columns or (-1, -1) when the matrix has more than 2 dimensions
retrieve UMat from Mat Read more
Creates a matrix header for the specified matrix row. Read more
Creates a matrix header for the specified matrix column. Read more
Creates a matrix header for the specified row span. Read more
Creates a matrix header for the specified row span. Read more
Creates a matrix header for the specified column span. Read more
Creates a matrix header for the specified column span. Read more
Creates a full copy of the array and the underlying data. Read more
Copies the matrix to another one. Read more
Copies the matrix to another one. Read more
fn convert_to(
&self,
m: &mut dyn ToOutputArray,
rtype: i32,
alpha: f64,
beta: f64
) -> Result<()>
fn convert_to(
&self,
m: &mut dyn ToOutputArray,
rtype: i32,
alpha: f64,
beta: f64
) -> Result<()>
Converts an array to another data type with optional scaling. Read more
Provides a functional form of convertTo. Read more
Changes the shape and/or the number of channels of a 2D matrix without copying the data. Read more
Changes the shape and/or the number of channels of a 2D matrix without copying the data. Read more
Changes the shape and/or the number of channels of a 2D matrix without copying the data. Read more
Performs an element-wise multiplication or division of the two matrices. Read more
Computes a cross-product of two 3-element vectors. Read more
Computes a dot-product of two vectors. Read more
Locates the matrix header within a parent matrix. Read more
Reports whether the matrix is continuous or not. Read more
returns true if the matrix is a submatrix of another matrix
Returns the size of each matrix element channel in bytes. Read more
Returns the total number of array elements. Read more
Parameters Read more
Returns a pointer to the specified matrix row. Read more
Returns a pointer to the specified matrix row. Read more
Returns a pointer to the specified matrix row. Read more
Returns a pointer to the specified matrix row. Read more
Returns a reference to the specified array element. Read more
Returns a reference to the specified array element. Read more
Returns a reference to the specified array element. Read more
Returns a reference to the specified array element. Read more