oa::Image

— semantic wrapper around oa::Matrix

Public Methods

const oa::Matrix & oa::Image::asMatrix()
oa::Matrix & oa::Image::asMatrix()
oa::I32 oa::Image::batchSize()
oa::I32 oa::Image::channels()
ImageFormat oa::Image::format()
oa::ScalarType oa::Image::getDtype()
oa::I32 oa::Image::height()
bool oa::Image::isEmpty()
ImageLayout oa::Image::layout()
bool oa::Image::validate()
oa::I32 oa::Image::width()

Examples

Constructor & Destructor Documentation

oa::Image::Image()
No public source comment is attached to this declaration.
oa::Image::Image( oa::Matrix inData, ImageLayout inLayout, ImageFormat inFormat )
No public source comment is attached to this declaration.

Parameters

inData
oa::Matrix

inLayout
ImageLayout

inFormat
ImageFormat

Public Method Documentation

const oa::Matrix & oa::Image::asMatrix()
No public source comment is attached to this declaration.

Returns

const oa::Matrix &

The declared return value.

oa::Matrix & oa::Image::asMatrix()
No public source comment is attached to this declaration.

Returns

oa::Matrix &

The declared return value.

oa::I32 oa::Image::batchSize()
No public source comment is attached to this declaration.

Returns

oa::I32

The declared return value.

oa::I32 oa::Image::channels()
No public source comment is attached to this declaration.

Returns

oa::I32

The declared return value.

ImageFormat oa::Image::format()
No public source comment is attached to this declaration.

Returns

ImageFormat

The declared return value.

oa::ScalarType oa::Image::getDtype()
No public source comment is attached to this declaration.

Returns

oa::ScalarType

The declared return value.

oa::I32 oa::Image::height()
No public source comment is attached to this declaration.

Returns

oa::I32

The declared return value.

bool oa::Image::isEmpty()
No public source comment is attached to this declaration.

Returns

bool

The declared return value.

ImageLayout oa::Image::layout()
No public source comment is attached to this declaration.

Returns

ImageLayout

The declared return value.

bool oa::Image::validate()
No public source comment is attached to this declaration.

Returns

bool

The declared return value.

oa::I32 oa::Image::width()
No public source comment is attached to this declaration.

Returns

oa::I32

The declared return value.