Herror ::receive_image (
    Hobject *Image,
    const HTuple &Socket
)
HImage HImage::ReceiveImage (
    const HTuple &Socket
)
HImageArray HImageArray::ReceiveImage (
    const HTuple &Socket
)

Receive an image over a socket connection.

::receive_image reads an image object that was sent over the socket connection determined by Socket by another HALCON process using the operator ::send_image. If no image has been sent, the HALCON process calling ::receive_image blocks until enough data arrives. For a detailed example, see ::open_socket_accept.


Parameters

Image (output_object)
image(-array) -> Hobject * : HImage(Array)
Received image.

Socket (input_control)
socket_id -> HTuple.long
Socket number.


Possible Predecessors

::open_socket_connect, ::socket_accept_connect


See also

::send_image, ::send_region, ::receive_region, ::send_tuple, ::receive_tuple, ::get_next_socket_data_type


Module

System



Copyright © 1996-2002 MVTec Software GmbH