flstb_quantize Quantize the Fast Level Sets Transform of a bilinear interpolated image
flstb_quantize [-l levels] [-o offset] [-s step] bilinear_tree quantized_tree
-l levels : Levels of quantization (Fsignal)
-o offset : Offset of the quantization (default 0.5)
-s step : Step of the quantization (default 1.0)
bilinear_tree : The tree of the interpolated image
quantized_tree : The tree of the quantized image
void flstb_quantize (pLevels , pOffset , pStep , pTree , pQuantizedTree )
Fsignal pLevels ;
float *pOffset , *pStep ;
Shapes pTree , pQuantizedTree ;
The module flstb_quantize is used to extract the shapes at some levels in a bilinear interpolated image. Actually, it is based on the tree of shapes extracted by flst_bilinear (see documentation for this module) and provides with the tree of shapes associated to level lines at given levels.
The exception to this is the root which keeps its original gray level. Notice that if the values of some data points are not in the set of quantization levels, the original image cannot be reconstructed from the extracted tree.
For example, for an image with integral gray values at data points, it could be useful to extract the tree of shapes at half integral levels, since the associated level lines are likely to be more regular than the ones associated to integral levels.
ll_boundaries2, ll_boundaries, ll_edges, ll_extract.
Last Modification date : Thu Jan 24 23:50:42 2002