cvpy.utils.ImageUtils.ImageUtils.get_image_array_from_row

static ImageUtils.get_image_array_from_row(image_binary, dimension, resolution, myformat, channel_count=1)

Get a 3D image from a row.

Parameters:
image_binarybytes

Specifies the image binary.

dimensionint

Specifies the dimension of the image.

resolutionnumpy.ndarray

Specifies the resolution of the image.

myformatstr

Specifies the format of the image.

channel_countint, optional

Specifies the number of channels that the image has.

Returns:
numpy.ndarray