![]() |
Neuron®
The Neuron® is the basis for the creation of open and secure federated networks for smart societies.
|
Implements a Matrix, basic component for computations in Image Processing and Computer Vision. More...
Public Member Functions | |
Matrix (int Width, int Height) | |
Implements a Matrix, basic component for computations in Image Processing and Computer Vision. More... | |
Matrix (int Width, int Height, T[] Data) | |
Implements a Matrix, basic component for computations in Image Processing and Computer Vision. More... | |
virtual Matrix< T > | ShallowCopy () |
Creates a shallow copy of the matrix. The shallow copy points to the same underlying pixel data. More... | |
void | SetXSpan (int Left, int Width) |
Sets Left and Width simultaneously. More... | |
void | SetYSpan (int Top, int Height) |
Sets Top and Height simultaneously. More... | |
int | StartIndex (int X, int Y) |
Gets the start index of a point in the image. More... | |
Matrix< T > | Row (int RowIndex) |
Returns a row vector as a matrix. More... | |
Matrix< T > | Column (int ColumnIndex) |
Returns a column vector as a matrix. More... | |
Matrix< T > | Region (int Left, int Top, int Width, int Height) |
Returns a region of the matrix, as a new matrix. More... | |
Static Public Member Functions | |
static IMatrix | LoadFromFile (string FileName) |
Loads an image into a matrix. More... | |
Protected Member Functions | |
Matrix (int Width, int Height, T[] Data, int Left, int Top, int RowSize, int Start, int Skip) | |
Implements a Matrix, basic component for computations in Image Processing and Computer Vision. More... | |
Properties | |
Type | ElementType [get] |
Type of elements in matrix. More... | |
T[] | Data [get] |
Underlying data on which the matrix is defined. More... | |
int | Width [get, set] |
Width of matrix (number of columns) More... | |
int | Height [get, set] |
Height of matrix (number of rows) More... | |
int | Left [get, set] |
Left offset of matrix in underlying data array. More... | |
int | Top [get, set] |
Top offset of matrix in underlying data array. More... | |
int | RowSize [get] |
Number of elements per row in underlying data array. More... | |
int | DataSize [get] |
Total number of elements in underlying data array. More... | |
int | Start [get] |
Start offset of matrix in underlying data. More... | |
int | Skip [get] |
Number of elements to skip from the right edge in the underlying data to the left edge of the new row. More... | |
T | this[int X, int Y] [get, set] |
Direct access to underlying elements in the matix. More... | |
Implements a Matrix, basic component for computations in Image Processing and Computer Vision.
T | Type of each pixel. |
T | : | struct |
IdApp.Cv.Matrix< T >.Matrix | ( | int | Width, |
int | Height | ||
) |
IdApp.Cv.Matrix< T >.Matrix | ( | int | Width, |
int | Height, | ||
T[] | Data | ||
) |
|
protected |
Implements a Matrix, basic component for computations in Image Processing and Computer Vision.
Width | Width of Matrix |
Height | Height of Matrix |
Data | Underlying data. |
Left | Left coordinate of matrix in underlying data. |
Top | Top coordinate of matrix in underlying data. |
RowSize | Size of one row. |
Start | Start index of matrix in underlying data. |
Skip | Number of elements to skip after last element in a row of the matrix to the first element of the next row. |
Matrix< T > IdApp.Cv.Matrix< T >.Column | ( | int | ColumnIndex | ) |
|
static |
Matrix< T > IdApp.Cv.Matrix< T >.Region | ( | int | Left, |
int | Top, | ||
int | Width, | ||
int | Height | ||
) |
Matrix< T > IdApp.Cv.Matrix< T >.Row | ( | int | RowIndex | ) |
void IdApp.Cv.Matrix< T >.SetXSpan | ( | int | Left, |
int | Width | ||
) |
void IdApp.Cv.Matrix< T >.SetYSpan | ( | int | Top, |
int | Height | ||
) |
|
virtual |
Creates a shallow copy of the matrix. The shallow copy points to the same underlying pixel data.
Reimplemented in IdApp.Cv.Basic.Shape.
int IdApp.Cv.Matrix< T >.StartIndex | ( | int | X, |
int | Y | ||
) |
Gets the start index of a point in the image.
X | X-Coordinate |
Y | Y-Coordinate |
Implements IdApp.Cv.IMatrix.
|
get |
|
get |
Total number of elements in underlying data array.
Implements IdApp.Cv.IMatrix.
|
get |
|
getset |
Height of matrix (number of rows)
Implements IdApp.Cv.IMatrix.
|
getset |
Left offset of matrix in underlying data array.
Implements IdApp.Cv.IMatrix.
|
get |
Number of elements per row in underlying data array.
Implements IdApp.Cv.IMatrix.
|
get |
Number of elements to skip from the right edge in the underlying data to the left edge of the new row.
Implements IdApp.Cv.IMatrix.
|
get |
Start offset of matrix in underlying data.
Implements IdApp.Cv.IMatrix.
|
getset |
|
getset |
Top offset of matrix in underlying data array.
Implements IdApp.Cv.IMatrix.
|
getset |
Width of matrix (number of columns)
Implements IdApp.Cv.IMatrix.