Struct ImageInfo

Struct Documentation

struct ImageInfo

Image Info.

This class contains information related to size, crop and crop index for a 2D/3D/4D Image

Public Functions

bool empty() const

Check if ImageInfo is empty.

std::string dump()

Returns string/json version of Image3DInfo.

Public Members

std::vector<int> imageSize = {0, , , }

Original Size in [x,y,z] format.

std::vector<int> cropSize = {0, , , }

Cropped Size in [x,y,z] format.

std::vector<int> cropIndex = {0, , , }

Cropped Index in [x,y,z] format.