Class LiteMat
Defined in File lite_mat.h
Class Documentation
-
class LiteMat
Basic class storing the image data.
Public Functions
-
LiteMat()
Constructor.
-
explicit LiteMat(int width, LDataType data_type = LDataType::UINT8)
Function to create an LiteMat object.
- Parameters
width – [in] The width of the input object.
data_type – [in] The data type of the input object.
-
LiteMat(int width, int height, LDataType data_type = LDataType::UINT8)
Function to create an LiteMat object.
- Parameters
width – [in] The width of the input object.
height – [in] The height of the input object.
data_type – [in] The data type of the input object.
-
LiteMat(int width, int height, void *p_data, LDataType data_type = LDataType::UINT8)
Function to create an LiteMat object.
- Parameters
width – [in] The width of the input object.
height – [in] The height of the input object.
p_data – [in] The pointer data of the input object.
data_type – [in] The data type of the input object.
-
LiteMat(int width, int height, int channel, LDataType data_type = LDataType::UINT8)
Function to create an LiteMat object.
- Parameters
width – [in] The width of the input object.
height – [in] The height of the input object.
channel – [in] The channel of the input object.
data_type – [in] The data type of the input object.
-
LiteMat(int width, int height, int channel, void *p_data, LDataType data_type = LDataType::UINT8)
Function to create an LiteMat object.
- Parameters
width – [in] The width of the input object.
height – [in] The height of the input object.
channel – [in] The channel of the input object.
p_data – [in] The pointer data of the input object.
data_type – [in] The data type of the input object.
-
~LiteMat()
Destructor.
-
void Init(int width, LDataType data_type = LDataType::UINT8)
Perform Init operation on given LiteMat.
-
void Init(int width, int height, LDataType data_type = LDataType::UINT8)
Perform Init operation on given LiteMat.
-
void Init(int width, int height, void *p_data, LDataType data_type = LDataType::UINT8)
Perform Init operation on given LiteMat.
-
void Init(int width, int height, int channel, const LDataType &data_type = LDataType::UINT8, bool align_memory = true)
Perform Init operation on given LiteMat.
- Parameters
-
LiteMat()