Table of Contents
QccWAVShapeAdaptiveMaskBAR - calculate the boundary-to-area ratio (BAR)
for a transparency mask
#include "libQccPack.h"
int QccWAVShapeAdaptiveMaskBAR(const
QccMatrix mask, int num_rows, int num_cols, double *bar_value);
QccWAVShapeAdaptiveMaskBAR() measures the "complexity" of the shape of
a transparency mask with a boundary-to-area ratio (BAR) defined as the total
number of mask pixels that lie on the boundary of the opaque object expressed
as a proportion of the total number of opaque pixels in the object. The
calculated BAR value is returned in bar_value.
The BAR metric was
first proposed by Fowler (see below).
QccWAVShapeAdaptiveMaskBAR()
returns 0 on success and 1 on error.
QccWAVWaveletShapeAdaptiveDWT2D(3)
,
QccWAVWaveletInverseShapeAdaptiveDWT2D(3)
, QccWAVWavelet(3)
, QccPackWAV(3)
,
QccPack(3)
J. E. Fowler, "Shape-Adaptive Tarp Coding," submitted to the 2003
International Conference on Image Processing, Barcelona, Spain, December
2002.
S. Li and W. Li, "Shape-Adaptive Discrete Wavelet Transforms for Arbitrarily
Shaped Visual Object Coding," IEEE Transactions on Circuits and Systems
for Video Coding, vol. 10, pp. 725-743, August 2000.
Copyright (C)
1997-2021 James E. Fowler
Table of Contents