Browsing by Author "Wee Kheng LEOW"
Now showing 1 - 2 of 2
Results Per Page
Sort Options
- ItemThe Algebra and Analysis of Adaptive-Binning(2002-08-01T00:00:00Z) Wee Kheng LEOWHistograms are commonly used in content-based image retrieval systems to represent the distributions of colors in images. It is a common understanding that histograms that adapt to images can represent their color distributions more efficiently than do histograms with fixed binnings. However, existing systems almost exclusively adopt fixed-binning histograms because among existing well-known dissimilarity measures, only the computationally expensive Earth Mover's Distance (EMD) can compare histograms with different binnings. Another major concern is that fixed-binning histograms have been regarded as vectors in a linear vector space so that powerful algorithms such as clustering, PCA, and SVD can be applied to process and analyze the histograms. Unfortunately, this approach is not satisfactory because the natural distance measure in linear vector space, the Euclidean distance, is less reliable than other non-Euclidean dissimilarities are in measuring histogram dissimilarity, thus compromising the effectiveness and reliability of the approach. This technical report addresses the above issues in a mathematically sound manner. In this article, adaptive histograms are formally defined and are provided with a well-defined set of operations. Properties of the operations on adaptive histograms are analyzed, leading to mathematically sound definitions of similarity, dissimilarity, and mean of histograms. Extensive test results in \cite{Leow-cvpr2001} have shown that the use of adaptive histograms produces the best overall performance, in terms of good accuracy, small number of bins, no empty bin, and efficient computation, compared to existing methods in histogram retrieval and classification tasks.
- ItemTowards Fully Automated Test Program Generation from Closed Specifications of Classes(2000-03-01T00:00:00Z) Wee Kheng LEOW; Siau Cheng KhooAmong various specification languages, ADL (Assertion Definition Language) and its successor, ADL2, are best known for supporting automated generation of test programs from specifications. Being an opened specification system, ADL requires the user to provide additional supporting functions to define the semantics of a moderately complex function or module. Supporting functions are also needed for ADL to generate test programs for the function or module. This paper proposes a Closed Class Specification (CCS) system for specifying the behavior of a class instead of a function. With CCS, every class method is defined in terms of other methods which are, in turn, defined in their own class specifications. Given a closed specification, it is possible to automatically generate test program for a class without the need of additional supporting functions. This paper describes the framework of CCS's test program generator and illustrates examples of how test programs are generated.