Parent Topic: RTV

VECTOR DATA

Vector data consist of lines and points. A line consists of a list of (X,Y) coordinates called vertices. Vertices are joined by straight line segments called vectors (edges). Points consist of a single (X,Y) coordinate.

The vector data generated by RTV has the following characteristics:

The following example shows the vector data generated for a 3x3 raster image with borders along the image edge.

                 +-------+---+    +-------+---+                
  1   1   3      |       |   |    |     X |   |          X      
                 |   +---+   |    |   +---+   |                
  1   9   3      |   |   |   |    |   | X | X |          X   X
                 +---+---+   |    +---+---+   |                 
  9   3   3      |   |       |    | X |       |      X          
                 +---+-------+    +---+-------+                  

 Raster data         Lines        Lines and Points      Points

  1,3,9         -> raster grey level values
  +----+        -> vectors
  +             -> vertex
  X             -> interior point
The following lines would be generated:

 Line 1:  (2,0),(2,1)
 Line 2:  (0,2),(0,0),(2,0) 
 Line 3:  (0,2),(1,2)
 Line 4:  (1,2),(1,1),(2,1) 
 Line 5:  (2,1),(2,2),(1,2) 
 Line 6:  (0,2),(0,3),(1,3) 
 Line 7:  (1,2),(1,3)
 Line 8:  (2,0),(3,0),(3,3),(1,3)
The following points would be generated:

 Point 1:  (1.5,0.5)    Attribute value: 1
 Point 2:  (1.5,1.5)    Attribute value: 9
 Point 3:  (0.5,2.5)    Attribute value: 9
 Point 4:  (2.5,1.5)    Attribute value: 3
Note that the two pixels with a raster value of 9 are considered as two separate polygons even though they `touch' diagonally. This is because RTV uses 4-connectedness for determining polygons (i.e., touching left-right or up-down but not diagonally).

TOPOLOGY and GIS

One of the major uses of RTV is to convert raster data to vector form in preparation for the export of the image channel (coverage) to a vector GIS system. Typically, the image channel contains the final result of processing rather than raw imagery.

To fully capture the information content of the image, it is important that every polygon be completely enclosed by lines and that each polygon have a single point in its interior tagged with the grey level for that polygon. A collection of vector data of this sort is often called a topology.

If RTV is run with POLYINFO = BOTH and BORDER = ON, then the vector data generated is guaranteed to be a topology completely describing the input image. Note, however, that it is possible to destroy the topology if the vector data is modified by another PACE program (e.g., VED or VECMERG).


Parent Topic: RTV
About PCI Help Gateway