serialize_regionT_serialize_regionSerializeRegionSerializeRegion (Operator)
Name
serialize_regionT_serialize_regionSerializeRegionSerializeRegion
— Serialize a region.
Signature
Description
serialize_regionserialize_regionSerializeRegionSerializeRegionSerializeRegion
serializes a region (see
fwrite_serialized_itemfwrite_serialized_itemFwriteSerializedItemFwriteSerializedItemFwriteSerializedItem
for an introduction of the basic
principle of serialization). The region is defined by the parameter
RegionRegionRegionRegionregion
. The serialized region is returned by the handle
SerializedItemHandleSerializedItemHandleSerializedItemHandleSerializedItemHandleserializedItemHandle
and can be deserialized by
deserialize_regiondeserialize_regionDeserializeRegionDeserializeRegionDeserializeRegion
.
Execution Information
- Multithreading type: reentrant (runs in parallel with non-exclusive operators).
- Multithreading scope: global (may be called from any thread).
- Processed without parallelization.
Parameters
RegionRegionRegionRegionregion
(input_object) region(-array) →
objectHRegionHRegionHobject
Region.
SerializedItemHandleSerializedItemHandleSerializedItemHandleSerializedItemHandleserializedItemHandle
(output_control) serialized_item →
HSerializedItem, HTupleHTupleHtuple (handle) (IntPtr) (HHandle) (handle)
Handle of the serialized item.
Result
If the parameters are valid, the operator
serialize_regionserialize_regionSerializeRegionSerializeRegionSerializeRegion
returns the value 2 (H_MSG_TRUE). If
necessary, an exception is raised.
Possible Predecessors
open_windowopen_windowOpenWindowOpenWindowOpenWindow
,
read_imageread_imageReadImageReadImageReadImage
,
read_regionread_regionReadRegionReadRegionReadRegion
,
thresholdthresholdThresholdThresholdThreshold
,
regiongrowingregiongrowingRegiongrowingRegiongrowingRegiongrowing
Possible Successors
fwrite_serialized_itemfwrite_serialized_itemFwriteSerializedItemFwriteSerializedItemFwriteSerializedItem
,
send_serialized_itemsend_serialized_itemSendSerializedItemSendSerializedItemSendSerializedItem
,
deserialize_regiondeserialize_regionDeserializeRegionDeserializeRegionDeserializeRegion
See also
deserialize_regiondeserialize_regionDeserializeRegionDeserializeRegionDeserializeRegion
Module
Foundation