opiInitialise_for_Compass {OPI} | R Documentation |
Implementation of opiInitialise for the ImoVifa machine.
Description
This is for internal use only. Use opiInitialise()
with
these Arguments and you will get the Value back.
Arguments
ip |
IP address on which server is listening as a string |
port |
Port number on which server is listening |
... |
Could be used for fake compass, simulations, etc |
Details
Warning: this returns a list, not a single error code.
Value
A list with elements:
-
err
NULL if successful, not otherwise. -
prl
A pair giving the (x,y) in degrees of the Preferred Retinal Locus detected in the initial alignment. -
onh
a pair giving the (x,y) in degrees of the ONH as selected by the user. -
image
raw bytes being the JPEG compressed infra-red image acquired during alignment.
Examples
## Not run:
# Set up the Compass
chooseOpi("Compass")
result <- opiInitialize(ip = "192.168.1.7", port = 44965)
if (is.null(result$err))
print(result$prl)
## End(Not run)
[Package OPI version 3.0.2 Index]