Model |
Overview
A model object consists of two photo objects, name left photo and right photo. Other information stored in a model object is base length, RO parameters, and AO parameters.
Each photo, left and right, of the model has a full access to all class functions of photo object. A model is set when Relative Orientation (RO) is done, and two points from left and right photo of the same feature will have the same y-coordinate. In other words, there is no y-parallax. A model coordinate system is introduced when RO is finish. If Absolute Orientation (AO) is done, the relationship between model coordinate and ground coordinate is established.
It should be noticed that each time a model is oriented, values of EOP (Exterior Orientation Parameter) of the left and right photo are automatically updated.
Member data
Name | Data type | Meaning |
id | int | ID of model |
name | String | name of model |
bx | double | The x component of the base line of the modelin |
Lphoto | Photo | left photo object |
Rphoto | Photo | right photo object |
RO_para | Vector | a vector contains relative orientation parameters |
AO_para | Vector | a vector contains absolute orientation parameters |
Operator
no operator provided
Construction function
{Model} ret = MODEL([{Photo} argm1, {Photo} argm2])
argm1 = left photo (default = default of Photo())
argm2 = right photo (default = default of Photo())
Example:
->Model_1 = Model() | an empty model |
->Model_1 = Model(ph1, ph2) |
a model with "ph1" as the left photo, and "ph2" as the right photo |
Lfunction
object.ID() = {int} left-value
object.NAME() = {String} left-value
object.BX() = {double} left-value
object.LPHOTO() = {Photo} left-value
object.RPHOTO() = {Photo} left-value
object.RO_PARA() = {Vector} left-value
object.AO_PARA() = {Vector} left-value
Example:
->Model_1.bx() = 90.0 | set value of bx |
->Model_1.ro_para() = vec_ro | set vector RO parameters to vec_ro |
Class function