SPOT Class Function Manual (T-Z)

VAR

| HOME | BACK |

Purpose

To determine the value of the variance of all elements in a SPOT object.

Class

SPOT

Usage

{double} ret  =  object.VAR()

Example:

->x = sp1.var()

->

See also (class function)

max, min, mean, sd

| HOME | BACK |


VECGCP2RC

| HOME | BACK |

Purpose

To convert from a vector of x y z ground control point coordinates to a vector of row and column numbers.  The transformation is done by collinearity equation using the current EOP (Exterior Orientation Parameters).

Class

SPOT

Usage

{VecIndx} ret  =  object.VECGCP2RC({VecPt3D} argm1)

argm1 = list of x y z ground coordinates

Example:

->vec_index = sp1.vecgcp2rc(vec_xyz)

->

See also (class function)

vecrc2gcp, vidrc2gcp

| HOME | BACK |


VECGCP2XPYT

| HOME | BACK |

Purpose

To convert from a vector of x y z ground control point coordinates to a vector of xp yt photo / time coordinates.  The transformation is done by collinearity equation using the current EOP (Exterior Orientation Parameters).

Class

SPOT

Usage

{VecPt2D} ret  =  object.VECGCP2XPYT({VecPt3D} argm1)

argm1 = list of x y z ground coordinates

Example:

->vec_xpyt = sp1.vecgcp2xpyt(vec_xyz)

->

See also (class function)

vecxpyt2gcp, vidxpyt2gcp

| HOME | BACK |


VECRC2GCP

| HOME | BACK |

Purpose

To convert from a vector of row and column numbers to a vector of x y z ground control point coordinates.  The transformation is done by collinearity equation using the current EOP (Exterior Orientation Parameters).  This function requires a constant ground elevation, at which all light rays intersect the terrain.

Class

SPOT

Usage

{VecPt3D} ret  =  object.VECRC2GCP({VecPt2D} argm1, {double} argm2)

argm1 = list of row and column numbers

argm2 = ground elevation   (in ground coordinate system unit)

Example:

->vec_xyz = sp1.vecrc2gcp(vec_rc, 500.5)

->

See also (class function)

vecgcp2rc, vidgcp2rc

| HOME | BACK |


VECRC2XPYT

| HOME | BACK |

Purpose

To convert from a vector of row and column numbers to a vector of xp yt photo / time coordinates. 

Class

SPOT

Usage

{VecPt2D} ret  =  object.VECRC2XPYT({VecPt2D} argm1)

argm1 = list of row and column numbers

Example:

->vec_xpyp = sp1.vecrc2xpyt(vec_rc)

->

See also (class function)

vecxpyt2rc, vidxpyt2rc

| HOME | BACK |


VECRC2XY

| HOME | BACK |

Purpose

To convert from a vector of row and column numbers to a vector of x y image rectangular coordinates. 

Class

SPOT

Usage

{VecPt2D} ret  =  object.VECRC2XY({VecPt2D} argm1)

argm1 = list of row and column numbers

Example:

->vec_xy = sp1.vecrc2xy(vec_rc)

->

See also (class function)

vecxy2rc, vidxy2rc

| HOME | BACK |


VECXPYT2GCP

| HOME | BACK |

Purpose

To convert from a vector of xp yt photo / time coordinates to a vector of x y z ground control point coordinates.  The transformation is done by collinearity equation using the current EOP (Exterior Orientation Parameters).  This function requires a constant ground elevation, at which all light rays intersect the terrain.

Class

SPOT

Usage

{VecPt3D} ret  =  object.VECXPYT2GCP({VecPt2D} argm1, {double} argm2)

argm1 = list of xp yt photo / time coordinates

argm2 = ground elevation   (in ground coordinate system unit)

Example:

->vec_xyz = sp1.vecxpyt2gcp(vec_xpyt, 500.5)

->

See also (class function)

vecgcp2xpyt, vidgcp2xpyt

| HOME | BACK |


VECXPYT2RC

| HOME | BACK |

Purpose

To convert from a vector of xp yt photo / time coordinates to a vector of row and column numbers.

Class

SPOT

Usage

{VecIndx} ret  =  object.VECXPYT2RC({VecPt2D} argm1)

argm1 = list of xp yt photo / time coordinates

Example:

->vec_index = sp1.vecxpyt2rc(vec_xpyt)

->

See also (class function)

vecrc2xpyt, vidrc2xpyt

| HOME | BACK |


VECXPYT2XY

| HOME | BACK |

Purpose

To convert from a vector of xp yt photo / time coordinates to a vector of x y image rectangular coordinates. 

Class

SPOT

Usage

{VecPt2D} ret  =  object.VECXPYT2XY({VecPt2D} argm1)

argm1 = list of xp yt photo / time coordinates

Example:

->vec_xy = sp1.vecxpyt2rc(vec_xpyt)

->

See also (class function)

vecxy2xpyt, vidxy2xpyt

| HOME | BACK |


VECXY2RC

| HOME | BACK |

Purpose

To convert from a vector of x y image rectangular coordinates to a vector of row and column numbers.

Class

SPOT

Usage

{VecIndx} ret  =  object.VECXY2RC({VecPt2D} argm1)

argm1 = list of x y image rectangular coordinates

Example:

->vec_ind = sp1.vecxy2rc(vec_xy)

->

See also (class function)

vecrc2xy, vidrc2xy

| HOME | BACK |


VECXY2XPYT

| HOME | BACK |

Purpose

To convert from a vector of x y image rectangular coordinates to a vector of x y photo coordinates.  The transformation is done by  2D transformation using the current IOP (Interior Orientation Parameters). 

Class

SPOT

Usage

{VecPt2D} ret  =  object.VECXY2XPYT({VecPt2D} argm1)

argm1 = list of x y image rectangular coordinates

Example:

->vec_xy = sp1.vecxy2xpyt(vec_xpyp)

->

See also (class function)

vecxpyt2xy, vidxpyt2xy

| HOME | BACK |


VIDGCP2RC

| HOME | BACK |

Purpose

To convert from a vector of x y z ground control point coordinates to a vector of row and column numbers.  The transformation is done by collinearity equation using the current EOP (Exterior Orientation Parameters).

Both input and output coordinates will have ID number.  This function will also determine standard deviation, using the law of error propagation.

Class

SPOT

Usage

{VecIdIndx} ret  =  object.VIDGCP2RC({VecIdPt3D} argm1)

argm1 = list of x y z ground coordinates with ID and SD

Example:

->vec_index = sp1.vidgcp2rc(vec_xyz)

->

See also (class function)

vecrc2gcp

| HOME | BACK |


VIDGCP2XPYT

| HOME | BACK |

Purpose

To convert from a vector of x y z ground control point coordinates to a vector of xp yt photo / time coordinates.  The transformation is done by collinearity equation using the current EOP (Exterior Orientation Parameters).

Both input and output coordinates will have ID number.  This function will also determine standard deviation, using the law of error propagation.

Class

SPOT

Usage

{VecIdPt2D} ret  =  object.VIDGCP2XPYT({VecIdPt3D} argm1)

argm1 = list of x y z ground coordinates with ID and SD

Example:

->vec_xpyt = sp1.vidgcp2xpyt(vec_xyz)

->

See also (class function)

vecxpyt2gcp

| HOME | BACK |


VIDRC2GCP

| HOME | BACK |

Purpose

To convert from a vector of row and column numbers to a vector of x y z ground control point coordinates.  The transformation is done by collinearity equation using the current EOP (Exterior Orientation Parameters).  This function requires a constant ground elevation, at which all light rays intersect the terrain.

Both input and output coordinates will have ID number.  This function will also determine standard deviation, using the law of error propagation.

Class

SPOT

Usage

{VecIdPt3D} ret  =  object.VIDRC2GCP({VecIdPt2D} argm1, {double} argm2)

argm1 = list of row and column numbers with ID and SD

argm2 = ground elevation   (in ground coordinate system unit)

Example:

->vec_xyz = sp1.vidrc2gcp(vec_rc, 500.5)

->

See also (class function)

vecgcp2rc

| HOME | BACK |


VIDRC2XPYT

| HOME | BACK |

Purpose

To convert from a vector of row and column numbers to a vector of xp yt photo / time coordinates. 

Both input and output coordinates will have ID number.  This function will also determine standard deviation, using the law of error propagation.

Class

SPOT

Usage

{VecIdPt2D} ret  =  object.VIDRC2XPYT({VecPt2D} argm1)

argm1 = list of row and column numbers with ID and SD

Example:

->vec_xpyp = sp1.vidrc2xpyt(vec_rc)

->

See also (class function)

vecxpyt2rc

| HOME | BACK |


VIDRC2XY

| HOME | BACK |

Purpose

To convert from a vector of row and column numbers to a vector of x y image rectangular coordinates. 

Both input and output coordinates will have ID number.  This function will also determine standard deviation, using the law of error propagation.

Class

SPOT

Usage

{VecIdPt2D} ret  =  object.VIDRC2XY({VecIdPt2D} argm1)

argm1 = list of row and column numbers with ID and SD

Example:

->vec_xy = sp1.vecrc2xy(vec_rc)

->

See also (class function)

vecxy2rc

| HOME | BACK |


VIDXPYT2GCP

| HOME | BACK |

Purpose

To convert from a vector of xp yt photo / time coordinates to a vector of x y z ground control point coordinates.  The transformation is done by collinearity equation using the current EOP (Exterior Orientation Parameters).  This function requires a constant ground elevation, at which all light rays intersect the terrain.

Both input and output coordinates will have ID number.  This function will also determine standard deviation, using the law of error propagation.

Class

SPOT

Usage

{VecIdPt3D} ret  =  object.VIDXPYT2GCP({VecIdPt2D} argm1, {double} argm2)

argm1 = list of xp yt photo / time coordinates with ID and SD

argm2 = ground elevation   (in ground coordinate system unit)

Example:

->vec_xyz = sp1.vidxpyt2gcp(vec_xpyt, 500.5)

->

See also (class function)

vecgcp2xpyt

| HOME | BACK |


VIDXPYT2RC

| HOME | BACK |

Purpose

To convert from a vector of xp yt photo / time coordinates to a vector of row and column numbers.

Both input and output coordinates will have ID number.  This function will also determine standard deviation, using the law of error propagation.

Class

SPOT

Usage

{VecIdIndx} ret  =  object.VIDXPYT2RC({VecIdPt2D} argm1)

argm1 = list of xp yt photo / time coordinates with ID and SD

Example:

->vec_index = sp1.vidcxpyt2rc(vec_xpyt)

->

See also (class function)

vecrc2xpyt

| HOME | BACK |


VIDXPYT2XY

| HOME | BACK |

Purpose

To convert from a vector of xp yt photo / time coordinates to a vector of x y image rectangular coordinates. 

Both input and output coordinates will have ID number.  This function will also determine standard deviation, using the law of error propagation.

Class

SPOT

Usage

{VecIdPt2D} ret  =  object.VIDXPYT2XY({VecIdPt2D} argm1)

argm1 = list of xp yt photo / time coordinates with ID and SD

Example:

->vec_xy = sp1.vidxpyt2rc(vec_xpyt)

->

See also (class function)

vecxy2xpyt

| HOME | BACK |


VIDXY2RC

| HOME | BACK |

Purpose

To convert from a vector of x y image rectangular coordinates to a vector of row and column numbers.

Both input and output coordinates will have ID number.  This function will also determine standard deviation, using the law of error propagation.

Class

SPOT

Usage

{VecIdIndx} ret  =  object.VIDXY2RC({VecIdPt2D} argm1)

argm1 = list of x y image rectangular coordinates with ID and SD

Example:

->vec_ind = sp1.vidxy2rc(vec_xy)

->

See also (class function)

vecrc2xy

| HOME | BACK |


VIDXY2XPYT

| HOME | BACK |

Purpose

To convert from a vector of x y image rectangular coordinates to a vector of x y photo coordinates.  The transformation is done by  2D transformation using the current IOP (Interior Orientation Parameters). 

Both input and output coordinates will have ID number.  This function will also determine standard deviation, using the law of error propagation.

Class

SPOT

Usage

{VecIdPt2D} ret  =  object.VIDXY2XPYT({VecIdPt2D} argm1)

argm1 = list of x y image rectangular coordinates with ID and SD

Example:

->vec_xy = ph1.vidxy2xpyt(vec_xpyp)

->

See also (class function)

vecxpyt2xy

| HOME | BACK |


VLOAD

| HOME | BACK |

Purpose

To virtually load a SPOT image object, saved as Noobeed format.  The document file is read but the data file.  The function simply opens the data file and get ready to perform some functions. 

Please note that only a limited set of functions is available for a virtually loaded photo.  Function supported in a vload photo are goget, goset, gosetmat, min, max, mean, sd, var, and those function that do not requated data, such as nrow, ncol, rc2xy, xy2rc etc.

The function "EO", and all coordinate conversion functions, such as "rc2xpyp", "xpyp2gcp", etc., do not require that the SPOT object must be fully loaded.  For example it is possible to virtually loaded a SPOT and perform the orientation, then save the results by using function "savedoc".  Working by this way can save a lot of memory and also can reduce a lot of computer time used in reading data.

Class

SPOT

Usage

{void} object.VLOAD({String} argm1, [{String} argm2])

argm1 = file name for the documentation file (default extension is ".txt")

argm2 = file name for the data file  

        (default file name is same file name as argm1 with an extension ".raw")

Example:

->sp1 = SPOT()

->A.vload("my_scene")

SPOT virtually loaded...

->

See also (class function)

load

| HOME | BACK |


XPYT2GCP

| HOME | BACK |

Purpose

To convert from an xp yt photo / time coordinate to an x y z ground control point coordinate.  The transformation is done by collinearity equation using the current EOP (Exterior Orientation Parameters).  This function requires a constant ground elevation, at which the light ray intersects the terrain.

Class

SPOT

Usage

{Pt3D} ret  =  object.XPYT2GCP({double} argm1, {double} argm2, {double} argm3)

argm1 = xp photo coordinate

argm2 = yt time coordinate

argm3 = ground elevation   (in ground coordinate system unit)

Example:

->pt_xyz = sp1.xpyt2gcp(12.544, 2.986, 500.5)

->

See also (class function)

gcp2xpyt

| HOME | BACK |


XPYT2RC

| HOME | BACK |

Purpose

To convert from an xp yt photo / time coordinate to a row and column number. 

Class

SPOT

Usage

{Index} ret  =  object.XPYP2RC({double} argm1, {double} argm2)

argm1 = xp photo coordinate

argm2 = yt time coordinate

Example:

->ind1 = sp1.xpypt2rc(12.544, 2.986)

->

See also (class function)

rc2xpyt

| HOME | BACK |


XPYT2XY

| HOME | BACK |

Purpose

To convert from an xp yt photo / time coordinate to an x y image rectangular coordinate. 

Class

SPOT

Usage

{Pt2D} ret  =  object.XPYP2XY({double} argm1, {double} argm2)

argm1 = xp photo coordinate

argm2 = yt time coordinate

Example:

->pt_xy = sp1.xpyt2xy(12.544, 2.986)

->

See also (class function)

xy2xpyt

| HOME | BACK |


XY2RC

| HOME | BACK |

Purpose

To convert from an x y image rectangular coordinate to  row and column index number. 

Class

SPOT

Usage

{Index} ret  =  object.XY2RC({double} argm1, {double} argm2)

argm1 = x image rectangular coordinate

argm2 = y image rectangular coordinate

Example:

->ind1 = sp1.xy2rc(12.544, 22.986)

->

See also (class function)

rc2xy

| HOME | BACK |


XY2XPYT

| HOME | BACK |

Purpose

To convert from an x y image rectangular coordinate to  xp yt photo / time coordinate. 

Class

SPOT

Usage

{Pt2D} ret  =  object.XY2XPYT({double} argm1, {double} argm2)

argm1 = x image rectangular coordinate

argm2 = y image rectangular coordinate

Example:

->pt_xpyp = sp1.xy2xpyt(12.544, 22.986)

->

See also (class function)

xpyt2xy

| HOME | BACK |