Table of Contents ▸ List of Commands ▸ Values Manipulation ▸ decompress_from_keypoints | ◀ decompress_clut | decompress_huffman ▶ |
decompress_from_keypoints
Arguments:
- _width>0,_height>0,_depth>0 or
- (no arg)
Description:
Decompress selected sets of keypoints as images (opt. of specified size).A set of keypoints is defined as a vector-valued image, such that:
The first pixel is a vector which encodes the [ Width,Height,Depth ] of the decompressed image.
The second pixel is a vector which encodes [ Min,Max,Use_RBF ], where Min and Max defines the value range of the decompressed image, and Use_RBF tells is the decompression scheme must use RBFs (Use_RBF=1) or Multiscale Diffusion PDE's (Use_RBF=0).
The remaining pixels define the keypoint coordinates and values, as:
[ x_k,y_k,z_k, v1_k,...,vN_k ] for a 3D target image of N-valued vectors.
[ x_k,y_k, v1_k,...,vN_k ] for a 2D target image of N-valued vectors.
[ x_k, v1_k,...,vN_k ] for a 1D target image of N-valued vectors.
where the coordinates x_k, y_k and z_k are defined respectively in ranges [0,Width-1], [0,Height-1] and [0,Depth-1].If the width, height and depth arguments are provided, they define the size of the decompressed image, : overriding then the original image size [ Width,Height,Depth ] defined in the keypoints header.