deserialize_imageT_deserialize_imageDeserializeImageDeserializeImagedeserialize_image (Operator)

Name

deserialize_imageT_deserialize_imageDeserializeImageDeserializeImagedeserialize_image — Deserialize a serialized image object.

Signature

deserialize_image( : Image : SerializedItemHandle : )

Herror T_deserialize_image(Hobject* Image, const Htuple SerializedItemHandle)

void DeserializeImage(HObject* Image, const HTuple& SerializedItemHandle)

void HImage::DeserializeImage(const HSerializedItem& SerializedItemHandle)

static void HOperatorSet.DeserializeImage(out HObject image, HTuple serializedItemHandle)

void HImage.DeserializeImage(HSerializedItem serializedItemHandle)

def deserialize_image(serialized_item_handle: HHandle) -> HObject

Description

deserialize_imagedeserialize_imageDeserializeImageDeserializeImagedeserialize_image deserializes an image object, that was serialized by serialize_imageserialize_imageSerializeImageSerializeImageserialize_image (see fwrite_serialized_itemfwrite_serialized_itemFwriteSerializedItemFwriteSerializedItemfwrite_serialized_item for an introduction of the basic principle of serialization). The serialized image object is defined by the parameter SerializedItemHandleSerializedItemHandleSerializedItemHandleserializedItemHandleserialized_item_handle. The deserialized image is stored in the image object defined by the parameter ImageImageImageimageimage.

Execution Information

Parameters

ImageImageImageimageimage (output_object)  image(-array) objectHImageHObjectHObjectHobject * (byte / direction / cyclic / int1 / complex / int2 / uint2 / vector_field / int4 / int8 / real)

Image object.

SerializedItemHandleSerializedItemHandleSerializedItemHandleserializedItemHandleserialized_item_handle (input_control)  serialized_item HSerializedItem, HTupleHHandleHTupleHtuple (handle) (IntPtr) (HHandle) (handle)

Handle of the serialized item.

Result

If the parameters are valid, the operator deserialize_imagedeserialize_imageDeserializeImageDeserializeImagedeserialize_image returns the value 2 ( H_MSG_TRUE) . If necessary, an exception is raised.

Possible Predecessors

fread_serialized_itemfread_serialized_itemFreadSerializedItemFreadSerializedItemfread_serialized_item, receive_serialized_itemreceive_serialized_itemReceiveSerializedItemReceiveSerializedItemreceive_serialized_item, serialize_imageserialize_imageSerializeImageSerializeImageserialize_image

Possible Successors

disp_imagedisp_imageDispImageDispImagedisp_image, thresholdthresholdThresholdThresholdthreshold, regiongrowingregiongrowingRegiongrowingRegiongrowingregiongrowing, count_channelscount_channelsCountChannelsCountChannelscount_channels, decompose3decompose3Decompose3Decompose3decompose3, class_ndim_normclass_ndim_normClassNdimNormClassNdimNormclass_ndim_norm, gauss_filtergauss_filterGaussFilterGaussFiltergauss_filter, fill_interlacefill_interlaceFillInterlaceFillInterlacefill_interlace, zoom_image_sizezoom_image_sizeZoomImageSizeZoomImageSizezoom_image_size, zoom_image_factorzoom_image_factorZoomImageFactorZoomImageFactorzoom_image_factor, crop_partcrop_partCropPartCropPartcrop_part, write_imagewrite_imageWriteImageWriteImagewrite_image, rgb1_to_grayrgb1_to_grayRgb1ToGrayRgb1ToGrayrgb1_to_gray

See also

serialize_imageserialize_imageSerializeImageSerializeImageserialize_image

Module

Foundation