Professional Documents
Culture Documents
Loay E. George
Department of Astronomy, College of Science, University of Baghdad. Baghdad-Iraq.
Received: 15/1/2005 Accepted: 31/10/2005
Abstract
In this research work a new fractal coding scheme based on IFS-transform for
zero-mean range-domain blocks is investigated. Some improvements were
performed on the IFS-matching stage, these improvements implies the use of
moment indexing as a criteria to filter the domain blocks that suitable to match the
range blocks, in addition to the use of stopping search condition based on the
monitoring the minimum matching error, these additional coding steps will reduce
the required long fractal coding time. The test results indicated that the proposed
improvements had reduced the required coding time to more than 10 times without
significant degradation in image quality (MSE or PSNR) level. Also the results
indicated that the brightness preserved IFS-method gives compression results better
than the traditional fractal coding method, and the offset coefficients values could be
better encoded by using DPCM.
اﻟﺧﻼﺻﺔ
ﻓﻲ ﻫذا اﻟﺑﺣث ﺗم اﻗﺗراح ﻫﻳﻛﻝ ﺟدﻳـد ﻣـﺳﺗﻧد ﻋﻠـﻰ طرﻳﻘـﺔ اﻟﺗرﻣﻳـز ﺑﺎﺳـﺗﺧدام اﻟﻛـﺳورﻳﺎت وﺧـﺻﺎﺋص اﻟﻌـزوم
ﻓﺧـﺻﺎﺋص، اﺳﺗﺧدﻣت طرﻳﻘﺔ اﻟﻌـزوم ﻟﺗﺣـﺳﻳن أداء ﻣرﺣﻠـﺔ اﻟﻣطﺎﺑﻘـﺔ.ﻟﺗرﻗﻳم اﻟﻣﻘﺎطﻊ ﻟﻣﺻﻔوﻓﺎت اﻟﻣدﻳﺎت ﻟﻠﺻور
إن طرﻳﻘــﺔ. وذﻟــك ﻣــن ﺧــﻼﻝ ﺣــﺳﺎب اﻟﻘــﻳم اﻟﻣﻛﻣﻣــﺔ،اﻟﻌــزوم ﻗــد ﺗــم اﺳــﺗﺧداﻣﻬﺎ ﻛﻣﻌﻳــﺎر ﻟﺗــﺻﻧﻳف ﻣﻘــﺎطﻊ اﻟــﺻورة
إن اﺳﺗﺧدام.اﻟﺗﺻﻧﻳف اﻟﻣذﻛورة ﺳﺗﺳﺎﻋد ﻋﻠﻰ ﺗﺣدﻳد ﻋدد اﻟﻣﻘﺎطﻊ اﻟﺗﻲ ﺳﺗدﺧﻝ ﻓﻲ ﻋﻣﻠﻳﺔ اﻟﻣطﺎﺑﻘﺔ
ﻣـرة ﻛﻣـﺎ إن اﻟﻧﺗـﺎﺋﺞ أﺛﺑﺗـت ان اﻟطرﻳﻘـﺔ اﻟﺟدﻳـدة15 ﺷرط اﻟﺗوﻗف ﻗد اﺳﻬم ﻓﻲ زﻳﺎدة ﻛﻔﺎءة ﻋﻣﻠﻳـﺔ اﻟـﺿﻐط ﺑﻣﻘـدار
.اﻋطت ﻧﺗﺎﺋﺞ ﺟودة ﻋﻳﺎﻧﻳﺔ اﻓﺿﻝ ﺑﻛﺛر ﻣن اﻟطرق اﻟﺗﻘﻠﻳدﻳﺔ
190
George Iraqi Journal of Science, Vol.47, No.1, 2006, PP. 190-194
o ,….…..(4)
long time to compress single image. Some 2
m 1 m 1
methods to reduce the PIFS encoding time have
been proposed. Some proposed methods involves
m
i 0
di
2
di
i 0
combination of fractal coding either with cosine
transform (DCT) [5] or Wavelet transform [6],
In each range-domain matching instance before
other coding methods are based on utilization of
determining the value of χ2, the scale (s) and
pyramidal coding scheme [7,8], or using some
offset (o) values should firstly imposed to the
classification criteria to classify range-domain
blocks [9]. clipping conditions ( o min o o max ) and
(| s | s max ) , (o min , o max ) are the lower and upper
Image Fractal Coding boundaries of the permissible values of offset,
PIFS image encoder consists of a set of s max is the maximum permissible scale value.
transforms on regions of the image. The set of Secondly, they should quantized by using
regions (i.e., the domain blocks) from which the the following equations:
transform domains are chosen overlap, while the
regions (i.e., the range blocks) forming the ranges s
of the transformation are tiled. i s round ( 2 a 1 2 ) ,…………..(5)
The set of transformations consist of a spatial s max
contraction (e.g., averaging each 4 neighboring 2b 1
pixels) to construct a kxk blocks from a 2kx2k io round ( o o min ) ,…...(6)
o
blocks, followed by one of the 8 square symmetry max o min
operations (4 rotations and 4 reflections), s max
s q a -1 i s ,………………………..(7)
followed by a contractive affine transformation 2 2
on the grey scale values (for a block with pixel o o
values. s o maxb min io o min ,…………….(8)
For a range block with pixel values (r 0 , r 1, ....,r m- 2 1
1 ), and the domain block (d 0 ,d 1 ,....,d m-1 ),
the contractive affine approximation is, Where, (i s and i o ) are the quantization indices of
scale and offset coefficients. (s q and o q ) are the
ri sd i o ,.................................( 1 ) quantized values of scale and offset coefficients
respectively.
Where s (scale) and o (offset) are the affine The quantized values of scale and offset
transform coefficients, ri s are the approximate parameters should be used to construct the
(constructed) range values. The scale (s) and approximates r' and the sum of errors (χ2)
offset (o) parameters are determined by applying To asses the involved computational complexity;
the least sum (χ2) of square errors between r' and consider an nxn image and kxk
r values [10]: range blocks. The number of tiled range blocks is
n2/k2, while the number of domain blocks is (n-
m 1 2k-1)2. The computation of best match between a
2 ( r r )
i 0
i i
2
range block and a domain block is O(k2).
Considering k to be constant, the computational
,…………….…….(2)
2
2 complexity of an exhaustive search is O(n4).
0; 0 The most direct and easy way to reduce the
s o
search complexity is by monitoring the matching
m 1 m 1 m 1
r
error; at any matching instance the IFS matching
m d i ri di i error is checked, if it is below a pre-defined
i 0 i 0 i 0
s ,…..…..…..(3) permissible level (threshold) then the
2
m 1 m 1 registered domain block is considered as the best
m
i 0
di
2
di
i 0
matched block and, then, the search across the
domain blocks is stopped.
191
274
George Iraqi Journal of Science, Vol.47, No.1, 2006, PP. 190-194
m 1
where,
m 1
Where,
1
r
m r
i 0
i ,…………………………….(10) kc
k 1
2
,……………...………….……..(19)
1
m 1 k is the block width (or height).
d
m d i ,……………….…….……..(11)
i 0 Now, let us consider the following Moments-
Ratio factor (R):
To determine the scale (s) value, the method of M ( 0 ,1 )
least sum of square errors (depicted in equation 2) M ( 1,0 ) if M(1,0) M (0,1)
is applied to get,
R ,.….(20)
1 m 1 M ( 1,0 ) if M(0,1) M (1,0)
m i 0
d i ri Q M ( 0 ,1 )
s if d2 0 ,.….…(12)
d
2
It is easily to prove that the magnitude of R factor
0 if d2 0 is rotation and reflection invariant. Also
combining equations (20), (18) and (9), we can
m 1
2 easily prove that:
s s d2 2Q
2 2
r d i ri ,...(13)
m i 0 Rd Rr' ,…………………..….………(21)
Where, This result implies that "if the range and domain
Q dr ,………………………..………(14) blocks satisfy the contractive affain transform
m 1
(equation 5), then their ratio factors (R d and R r )
1
d2
m d
i 0
i
2
d 2 ,……………………(15) should have similar magnitudes. This doesn't
means that any two blocks have similar R
m 1 magnitudes are necessarily similar to each
1
r2
m r
i 0
i
2
,……………….……..…..(16) other".
This fact is utilized to improve (speed up) the
range-domain search task. Instead of compare all
domain blocks with each affain transformed
Block Indexing using Moments range block, we need only to test the domain
For a 2-D discrete function f(x,y), the blocks whose R magnitudes are similar to that of
moment of order (p+q) about the center point the tested range block. To implement this idea the
(x c ,y c ) is defined as [11]: following block indexing algorithm is conducted:
1. For each domain block:
a. Determine its moment ratio R d .
192
274
George Iraqi Journal of Science, Vol.47, No.1, 2006, PP. 190-194
193
274
George Iraqi Journal of Science, Vol.47, No.1, 2006, PP. 190-194
194
274