send_imageT_send_imageSendImageSendImagesend_image (Operator)

Name

send_imageT_send_imageSendImageSendImagesend_image — Send an image over a socket connection.

Signature

send_image(Image : : Socket : )

Herror T_send_image(const Hobject Image, const Htuple Socket)

void SendImage(const HObject& Image, const HTuple& Socket)

void HSocket::SendImage(const HImage& Image) const

void HImage::SendImage(const HSocket& Socket) const

static void HOperatorSet.SendImage(HObject image, HTuple socket)

void HSocket.SendImage(HImage image)

void HImage.SendImage(HSocket socket)

def send_image(image: HObject, socket: HHandle) -> None

Description

send_imagesend_imageSendImageSendImagesend_image sends an image object over the socket connection determined by SocketSocketSocketsocketsocket. The receiving HALCON process must call receive_imagereceive_imageReceiveImageReceiveImagereceive_image to read the image from the socket. For a detailed example, see open_socket_acceptopen_socket_acceptOpenSocketAcceptOpenSocketAcceptopen_socket_accept.

Execution Information

Parameters

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

Image to be sent.

SocketSocketSocketsocketsocket (input_control)  socket HSocket, HTupleHHandleHTupleHtuple (handle) (IntPtr) (HHandle) (handle)

Socket number.

Possible Predecessors

open_socket_connectopen_socket_connectOpenSocketConnectOpenSocketConnectopen_socket_connect, socket_accept_connectsocket_accept_connectSocketAcceptConnectSocketAcceptConnectsocket_accept_connect

See also

receive_imagereceive_imageReceiveImageReceiveImagereceive_image, send_regionsend_regionSendRegionSendRegionsend_region, receive_regionreceive_regionReceiveRegionReceiveRegionreceive_region, send_tuplesend_tupleSendTupleSendTuplesend_tuple, receive_tuplereceive_tupleReceiveTupleReceiveTuplereceive_tuple, get_next_socket_data_typeget_next_socket_data_typeGetNextSocketDataTypeGetNextSocketDataTypeget_next_socket_data_type

Module

Foundation