CompressPyr

DESCRIPTION

Converts an expanded pyramid (the form used in release 1 of Explorer) to a compressed pyramid with no data between levels 'level' and 0. If a compressed pyramid is passed to the Input port and no change in compression level is requested, the output refers to the input pyramid (no copy is made).

INPUTS

Port: Input
Type: Pyramid
Constraints: n-layer.
optional-baseLat.
n-D compression.
n-compression type.
The expanded pyramid that is to be compressed.

WIDGETS

Port: Level
Type: Option Menu
Menu Item: Lines
Menu Item: Polygons
Menu Item: Polyhedra
Menu Item: Collections
The compression level. Pyramid elements at this level are replaced by references to a pyramid dictionary, which is included in the output pyramid structure.

Port: Merge
Type: Option Menu
Menu Item: No
Menu Item: Yes
If the input pyramid is compressed and the user requests recompression at a lower level, it is possible that many elements will be duplicated in the output pyramid. Merging (the default) removes the duplication at this level, while not merging leaves it in place. No merging is done when the merging widget is hidden.

OUTPUTS

Port: Compressed
Type: Pyramid
Constraints: n-layer.
optional-baseLat.
1..4-D compression.
unique..multiple-compression type.
The fully compressed copy of the input, or a pointer to the input pyramid in the case of an already compressed input.

PROBLEMS

SEE ALSO

ExpandPyr PrintPyr
[ Documentation Home ]
© The Numerical Algorithms Group Ltd, Oxford UK. 1996