Table of Contents

NAME

QccWAVZerotreeMakeFullTree QccWAVZerotreeMakeEmptyTree - create full or empty zerotree structure

SYNOPSIS

#include "libQccPack.h"

int QccWAVZerotreeMakeFullTree(QccWAVZerotree *zerotree);
int QccWAVZerotreeMakeEmptyTree(QccWAVZerotree *zerotree);

DESCRIPTION

QccWAVZerotreeMakeFullTree() makes zerotree "full" by marking every symbol in zerotree as significant; i.e., it sets every node in zerotree to QCCWAVZEROTREE_SYMBOLSIGNIFICANT.

QccWAVZerotreeMakeEmptyTree() makes zerotree "empty" by marking every symbol in zerotree as "null" via a call to QccWAVZerotreeMakeSymbolNull(3) .

If zerotree has not been allocated prior to calling these routines, QccWAVZerotreeAlloc(3) is called before manipulating the zerotree symbols. In the case of QccWAVZerotreeMakeEmptyTree(), QccWAVZerotreeMakeFullTree() is called after allocating so that all zerotree nodes are set to valid symbols, specifically QCCWAVZEROTREE_SYMBOLSIGNIFICANT, before making them "null".

RETURN VALUE

These routines return 0 on success, and 1 on failure.

SEE ALSO

QccWAVZerotree(3) , QccPackWAV(3) , QccPack(3)

J. M. Shapiro, "Embedded Image Coding Using Zerotrees of Wavelet Coefficients," IEEE Transactions on Signal Processing, vol. 41, no. 12, pp. 3445-3462, December 1993.

AUTHOR

Copyright (C) 1997-2021 James E. Fowler


Table of Contents



Get QccPack at SourceForge.net. Fast, secure and Free Open Source software downloads