NAME
stereo -- create unit to ..
PROTOTYPE
unitptr stereo(int xdim, int ydim, int subxdim, int subydim, unitptr uHost)
ARGUMENTS
- int xdim
- - not documented in source --
- int ydim
- - not documented in source --
- int subxdim
- - not documented in source --
- int subydim
- - not documented in source --
- unitptr uHost
- host unit
RETURN VALUE:
A pointer to the created unit or NULL in the case of an error.
INTERFACE OF CREATED UNIT:
- X_in1[]:
- R left
- X_in2[]:
- G left
- X_in3[]:
- B left
- Y_in1[]:
- R right
- Y_in2[]:
- G right
- Y_in3[]:
- B right
- Z.in1[]:
- x,y specifying the region in pic1 to find in pic 2
- CTL_in[]:
- specify a value to decide weather a correlation is detected
the minimum distance position will be accepted, if is is
CTL_in[] smaller then the average along the y achsis
- X_out[]:
- outgoing xy positon
- Y_out[]:
- 1 when corrected
EXECUTION OF CREATED UNIT:
INITIALIZATION:
DESCRIPTION:
The stereo unit takes two rgb pictures and a xy position. It detects the
correlating position in the second image on an equal y achsis. So it is
ddesignd to realise a stereo corection with a two camera system on a constant
pan achsis. the corrected xy position for the incomming xy definition in
the second picture ist calculated. the second output is binariesed with a 1
to signal a found correlation. in other case the outgoing xy correstonds
exactly to the incomming.
CONTROL MODES:
EXAMPLES:
STATUS:
Preliminary.
SEE ALSO:
FILE
nst_stereo.c