Table of Contents

NAME

QccWAVZerotreeRead QccWAVZerotreeWrite - read and write zerotree structures to ZT-format files

SYNOPSIS

#include "libQccPack.h"

int QccWAVZerotreeRead(QccWAVZerotree *zerotree);
int QccWAVZerotreeWrite(const QccWAVZerotree *zerotree);

DESCRIPTION

QccWAVZerotreeRead() reads the ZT-format file specifed by zerotree->filename into zerotree. If zerotree is not already allocated (as evidenced by zerotree->zerotree = NULL), a call is made to QccWAVZerotreeAlloc(3) to allocate space for the zerotree data before reading the file.

QccWAVZerotreeWrite() writes the zerotree structure in zerotree as the ZT-format file whose name is given as zerotree->filename.

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