send_imageT_send_imageSendImageSendImage (Operator)
Name
send_imageT_send_imageSendImageSendImage
— Send an image over a socket connection.
Signature
Herror T_send_image(const Hobject Image, const Htuple Socket)
Description
send_imagesend_imageSendImageSendImageSendImage
sends an image object over the socket connection
determined by SocketSocketSocketSocketsocket
. The receiving HALCON process must
call receive_imagereceive_imageReceiveImageReceiveImageReceiveImage
to read the image from the socket.
For a detailed example, see open_socket_acceptopen_socket_acceptOpenSocketAcceptOpenSocketAcceptOpenSocketAccept
.
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
ImageImageImageImageimage
(input_object) (multichannel-)image(-array) →
objectHImageHImageHobject (byte / direction / cyclic / int1 / int2 / uint2 / int4 / int8 / real / complex / vector_field)
Image to be sent.
SocketSocketSocketSocketsocket
(input_control) socket →
HSocket, HTupleHTupleHtuple (handle) (IntPtr) (HHandle) (handle)
Socket number.
Possible Predecessors
open_socket_connectopen_socket_connectOpenSocketConnectOpenSocketConnectOpenSocketConnect
,
socket_accept_connectsocket_accept_connectSocketAcceptConnectSocketAcceptConnectSocketAcceptConnect
See also
receive_imagereceive_imageReceiveImageReceiveImageReceiveImage
,
send_regionsend_regionSendRegionSendRegionSendRegion
,
receive_regionreceive_regionReceiveRegionReceiveRegionReceiveRegion
,
send_tuplesend_tupleSendTupleSendTupleSendTuple
,
receive_tuplereceive_tupleReceiveTupleReceiveTupleReceiveTuple
,
get_next_socket_data_typeget_next_socket_data_typeGetNextSocketDataTypeGetNextSocketDataTypeGetNextSocketDataType
Module
Foundation