send_imageT_send_imageSendImageSendImagesend_image (Operator)
Name
send_imageT_send_imageSendImageSendImagesend_image
— Send an image over a socket connection.
Signature
Herror T_send_image(const Hobject Image, const Htuple Socket)
def send_image(image: HObject, socket: HHandle) -> None
Description
send_imagesend_imageSendImageSendImageSendImagesend_image
sends an image object over the socket connection
determined by SocketSocketSocketSocketsocketsocket
. The receiving HALCON process must
call receive_imagereceive_imageReceiveImageReceiveImageReceiveImagereceive_image
to read the image from the socket.
For a detailed example, see open_socket_acceptopen_socket_acceptOpenSocketAcceptOpenSocketAcceptOpenSocketAcceptopen_socket_accept
.
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
ImageImageImageImageimageimage
(input_object) (multichannel-)image(-array) →
objectHImageHObjectHImageHobject (byte / direction / cyclic / int1 / int2 / uint2 / int4 / int8 / real / complex / vector_field)
Image to be sent.
SocketSocketSocketSocketsocketsocket
(input_control) socket →
HSocket, HTupleHHandleHTupleHtuple (handle) (IntPtr) (HHandle) (handle)
Socket number.
Possible Predecessors
open_socket_connectopen_socket_connectOpenSocketConnectOpenSocketConnectOpenSocketConnectopen_socket_connect
,
socket_accept_connectsocket_accept_connectSocketAcceptConnectSocketAcceptConnectSocketAcceptConnectsocket_accept_connect
See also
receive_imagereceive_imageReceiveImageReceiveImageReceiveImagereceive_image
,
send_regionsend_regionSendRegionSendRegionSendRegionsend_region
,
receive_regionreceive_regionReceiveRegionReceiveRegionReceiveRegionreceive_region
,
send_tuplesend_tupleSendTupleSendTupleSendTuplesend_tuple
,
receive_tuplereceive_tupleReceiveTupleReceiveTupleReceiveTuplereceive_tuple
,
get_next_socket_data_typeget_next_socket_data_typeGetNextSocketDataTypeGetNextSocketDataTypeGetNextSocketDataTypeget_next_socket_data_type
Module
Foundation