low-pass sub-band LL is the multiresolution approximation of the original image, and the other three are high frequency sub-bands representing horizontal, vertical and diagonals edges,respectively. The LL band is again subject to the sameprocedure.LL HLLH HH
Figure 1. The result of 2D image HWT decomposition.
This wavelet decomposition can be repeatedly applied onthe low-low-pass sub-band at a coarser scale unless it only hasone component as shown in fig. 2.Let D be a given image block of size NxN. D can bedecomposed into one component low-pass signal by a logN/log 2 pyramidal HWT. In the case of N=8, D can betransformed to one component by 3 decomposition (Fig. 2).The LL
3
band in level 3 is the multiresolution approximation of LL
2
bands in level 2. The coefficients HL
3,
LH
3
and HH
3
of thehighest level denote the coarsest edges along horizontal,vertical and diagonal directions respectively in level 2.LL
3
HL
3
LH
3
HH
3
HL
2
LH
2
HH
2
HL
1
LH
1
HH
1
Figure 2. The result of three level HWT pyramidal decomposition of animage block of size 8x8.
We will refer to these coefficients obtained at the highestlevel hereafter as WH
D
for HL
3
, WV
D
for LH
3
and HH
3
forWD
D
.If both WH
D
and WV
D
are small, then the block D tends tohave less edge structure (smooth block). When a block has highdegree of edge structure, either WH
D
or WV
D
will be large. If WH
D
is larger, D will have horizontal edge properties. On theother hand, if WV
D
is larger, then D will have vertical edgeproperties. Finally, those blocks with high magnitudes of WH
D
and/or WV
D
are designed as heterogeneous domain blocks. Thetype of each block D is determined as follows:
WW
WH
WVDD
ifTandTthenDisasmoothdomainblock elseDisaheterogeneous domainblock
< <
(1)where |.| denotes the absolute value of its variable and T
W
is athreshold.Thus, an image block D can be determined as belonging tosmooth or heterogeneous type by using its vertical coefficientWV
D
and its horizontal coefficient WH
D
obtained by apyramidal HWT at the highest level.The computation of WH
D
and WV
D
do not require thecalculation of other wavelets coefficients. Indeed, let D be animage block of size 4x4 represented as follows:1 2 3 45 6 7 89 10 11 1213 14 15 16Then, analyzing the expression of the coefficients WH
D
andWV
D
obtained after two pyramidal HWT, allow us to find thefollowing simplified formula:
D
ABWH16
−=
(2)
D
CDWV16
−=
(3)where
A12563478
= + + + + + + +
,
B910131411121516
= + + + + + + +
,
C1256101314
= + + + + + +
,
D347811121516
= + + + + + + +
.
B.
The proposed method
The proposed method is aimed to reduce the encoding timeby reducing the cardinal of the domain pool. As only a fractionof the domain pool is used in fractal encoding and the set of theused blocks is localized along edges and in the regions of highcontrast of the image (designed as heterogeneous blocks), it’spossible to reduce the cardinal of the domain pool bydiscarding the smooth domain blocks. Therefore, each rangebloc is compared only to the heterogeneous domain blocks.This method of reduction of the domain pool is simple sinceonly few computations are required to calculate the coefficientsWH
D
and WV
D
of a domain block D to classify it as smooth orheterogeneous.The threshold T
W
can be fixed or chosen in an adaptiveway. Determining T
W
adaptively allow us to choose thespeedup ratio. The main idea is to set the thresholds such that afraction
α
of the domain pool can be discarded. The value of
α
can be one third, tow thirds,... of the domain pool. Due to thefact that the encoding time depends on the number of comparisons between range and domain blocks, the speedupratio can be estimated.The determination of the threshold T
W
, which depends onthe fraction
α
of the domain pool to be eliminated, issummarised as follows:
•
For each domain block D, calculate the Haar waveletcoefficient WH
D
and WV
D
.
Set S
D
=max(|WH
D
|,|WV
D
|).
•
Sort all the values of S
D
in increasing order.
(IJCSIS) International Journal of Computer Science and Information Security,Vol. 8, No. 8, November 201031http://sites.google.com/site/ijcsis/ISSN 1947-5500