G'MIC - GREYC's Magic for Image Computing: A Full-Featured Open-Source Framework for Image Processing
GREYC CNRS ENSICAEN UNICAEN

A Full-Featured Open-Source Framework for Image Processing



Latest stable version: 3.4.3        Current pre-release: 3.5.0 (2024/12/02)

Reference

Table of Contents  ▸  List of Commands  ▸  Features Extraction  ▸  huffman_tree◀  hough    |    ifftpolar  ▶

huffman_tree

No arguments

Description:

Generate Huffman coding tree from the statistics of all selected images.

Huffman tree is returned as a 1xN image inserted at the end of the image list, representing the N vector-valued leafs/nodes of the tree, encoded as [ value,parent,child0,child1 ].
Last row of the returned image corresponds to the tree root.
Selected images must contain only positive integer values.
Return maximal value of the input data in the status.

See also:

compress_huffman, decompress_huffman.
G'MIC - GREYC's Magic for Image Computing: A Full-Featured Open-Source Framework for Image Processing

G'MIC is an open-source software distributed under the CeCILL free software licenses (LGPL-like and/or
GPL-compatible). Copyrights (C) Since July 2008, David Tschumperlé - GREYC UMR CNRS 6072, Image Team.