You are on page 1of 4

Dynamic Restoration of Periodic Noisy Image Using

Upper-Half Spectrum

Muthana Hamd Rabab Rasool


Computer Engineering Dept., Al Mustansirya Uni. Computer Engineering Dept., Al Mustansirya Uni.
Baghdad, Iraq Baghdad, Iraq
Muth700@yahoo.com rabab.rasool2@gmail.com

Abstract— this paper develops a new approach of image the noise reduction process. An adaptive Notch filter is
restoration from multi periodic noises. It utilized the property proposed by [5] and a comparison is made with other SD
of the conjugate symmetry in frequency domain to clean just a filters like; mean and median filter. Mainly, this work
half-size of image band. First, the auto detection and recovery develops two important methods. First, it uses the
procedure was applied to remove or decrease the effect of the advantages of Discrete Fourier Transform (DFT) conjugate
degradation from a whole frequency domain image by locating symmetry property to take off or cancel the half-size of
the spikes and replace them by zero. The procedure is adapted image bands. Therefore, it manipulates or processes just the
to clean just a half image size, or the upper half-spectrum of upper bands. Secondly, it automatically detects the
image band. The mirror property of the two dimensions
degradation band or more precise the spike in the first
discrete Fourier transform is used to re-obtain the lower image
band, where a re-allocating conjugate symmetry procedure is
quarter of the half-size image bands. The proposed work
applied to refill the deleted locations by new de-noisy bands. A results were very satisfied when they have been compared
comparison between the two restoration methods is made by with the other relating approach performance. This paper is
measuring the qualification using peak signal to noise ratio. organized as follows: section I is an introduction, section II
Saving in time and space could be satisfied by processing just provides an idea about conjugate symmetry/mirror property
the upper-half of image band. in Two Dimensions Discrete Fourier Transform (2-D DFT).
The two FD de-noisy procedures are well explained in
Keywords— 2-D DFT; periodic noise; conjugate symmetry; section III. A comparison between the two procedures, the
mirror; spikes full-size and half-size image band is made in section IV.
Section V is a conclusion about the dynamic approach
I. INTRODUCTION performance.
Periodic noise is one of the worst image degradation
models, this kind of noise has a global effect and it could not II. CONJUGATE SYMMETRY OF THE 2-D DFT
be removed or decreased in Spatial Domain (SD). So, image As mentioned before, periodic noisy image has to
transformation from spatial domain to the Frequency transform to the frequency domain, so some particular and
Domain (FD) is requested. The new domain features like unwanted frequencies could be removed. That means the
separablity, conjugate symmetry or mirror are applied to periodic noise in spatial domain is converted into spikes in
restore the original (X×Y) image. The re-allocate algorithm frequency domain and those spikes represent the unwanted
in [1] finds a new approach for image storing and particular frequencies. Fourier transform provides good
transmitting in FD. It processes just a half size of image advantages in separating the unwanted frequencies [3]. Also,
bands, so it ignores or takes-off all the X/2 +2 band in the conjugate symmetry property could be utilized to
storing state. All complex band values in the next X/2 +1 are decrease the band processing and hence to save effort and
computed and re-filled again by calling-back the re- time. For two dimension ሺଡ଼ൈଢ଼ሻ , the image frequency
allocating algorithm; this is happen when an inverse domain is the transformation from spatial domain to the
transformation from FD to SD is demanded. The dynamic frequency domain and it could be implement in two steps.
search in [2] finds a new approach for auto detection and First by applying 1-D DFT on the rows intensity function of
recovery for two spikes in FD. The spike has the maximum ‫ܣ‬ሺ‫ݔ‬ǡ ‫ݕ‬ሻ as in Eq.(1), then apply the 1-D DFT again on the
band value as it represents the periodic noise frequencies in columns of the result, see Eq. (2). Some of conjugate
SD. This method is compared with the common FD filters in symmetry property can be represented in Eq. (3) and (4),
[3] like Ring or Notch filter and the quality of the restored while the mirror property map is more explained in next
image was more stable and relatively better. A high section [1].
resolution frequency analysis is considered in [4] for noise
ெିଵ ேିଵ
reduction in periodic signals. It applies a non-harmonic
ି௝ଶగ௨௫Ȁெ
analysis (NHA) rather than DFT as a re-processing step of ‫ܣ‬ሺ‫ݑ‬ǡ ‫ݒ‬ሻ ൌ  ෍ ݁ ෍ ‫ܣ‬ሺ‫ݔ‬ǡ ‫ݕ‬ሻ݁ ି௝ଶగ௩௬Ȁே 
௫ୀ଴  ௬ୀ଴
978-1-4673-8743-9/16/$31.00 ©2016 IEEE
ெିଵ The half-size noisy image is ready now to be cleaned and
௝ଶగ௨௫
‫ܣ‬ሺ‫ݑ‬ǡ ‫ݒ‬ሻ ൌ  ෍ ‫ܣ‬ሺ‫ݔ‬ǡ ‫ݒ‬ሻ݁ ି ெ  ሺͳሻ this will be explained in detail next section. After de-noising
௫ୀ଴ the first-half image bands, the role of the re-allocating
algorithm is starting now to re-fill the deleted band locations
for 2-D DFT by cleaned bands using the addressing map procedure. It is
ெିଵ ேିଵ easiest and more flexible cleaning just half-size of noisy
௨௫ ௩௬
‫ܣ‬ሺ‫ݑ‬ǡ ‫ݒ‬ሻ ൌ  ෍ ෍  ‫ܣ‬ሺ‫ݔ‬ǡ ‫ݕ‬ሻ݁ ି௝ଶగሺ ெ ା ே ሻ ሺʹሻ image, but the most important issue is which procedure is
௫ୀ଴ ௬ୀ଴
better in restoration the image in SD domain. So, a
 comparison is needed to demonstrate the difference between
The symmetry property could be noticed in formula 3 and 4, them.
‫ כܣ‬ሺ‫ݑ‬ǡ ‫ݒ‬ሻ ൌ ‫ܣ‬ሺെ‫ݑ‬ǡ െ‫ݒ‬ሻ݂‫ܣ݈ܽ݁ݎݎ݋‬ሺ‫ݔ‬ǡ ‫ݕ‬ሻሺ͵ሻ B. Full-size image band de-noising procedure
‫ כܣ‬ሺെ‫ݑ‬ǡ െ‫ݒ‬ሻ ൌ  െ‫ܣ‬ሺ‫ݑ‬ǡ ‫ݒ‬ሻ ݂‫ܣݕݎܽ݊݅݃ܽ݉݅ݎ݋‬ሺ‫ݔ‬ǡ ‫ݕ‬ሻሺͶሻ The traditional FD filters like Ring or Notch are good
methods to block the unwanted frequencies manually.
But in some cases like the Ring, it will also block the
unaffected bands which eventually result on SD image.
The automatic and dynamic procedure, which is
implemented by [2] supposes two Band Selected Filter
(BSF) to block the spikes automatically. Also the
dynamic update of the BSF cut-off frequency makes the
procedure flexible in detection and restoring wide range
of periodic noise frequencies. The spikes represent a
(a) (b) maximum frequency change of periodic noise and their
movement could be controlled by changing the value of
ɘଵ and ɘଶ in (5).
Periodic Noise= •‹‡ሺȦଵ  š ൅  Ȧଶ ›ሻ ൅ †… (5)
Where,
ɘଵ ,ɘଶ : are the horizontal and vertical added noise freq.

Therefore the two BSFs are designed and implemented


(c ) (d) to filter the maximum frequencies in quarter one and
three of FD image. The shape of those two filters may
Fig. 1, (a) moon landing noisy image, (b) the upper-half be a circle or square and they have the ability to update
noisy band, (c) spike(s) cleaning and reflection in Frequency their cut-off frequencies relative to the spike spectrum or
Domain, (d) Spatial Domain image restoration ɘଵ and ɘଶ value. Fig. 2, shows the noisy FD image and
the two Band-selected filters. This cleaning method
III. AUTO DETECTION AND RECOVERY PROCEDURE provides a satisfied and competitive result comparing
The dynamic procedure that is applied in [2] for auto with traditional FD filters like; Ring or Notch filter.
detection and recovery of different periodic noise C. Half-size image band de-noising procedure
frequencies is very effective in finding the maximum
The full-size dynamic procedure could be developed
frequency spike that causes image degradation in spatial
and improved to process and restore just a half-size
domain. Fig. (1), explains the main steps of: halving the
image band. The re-allocating algorithm which is
image band, spike(s) cleaning, band reflection, and image
developed by [1] is used the 2-D DFT mirror/conjugate
restoration.
symmetry advantage to save the mirror band locations in
A. Addressing map and Re-allocating algorithms addressing map, where in this procedure the redundant
An effective procedure is designed and implemented to
utilize the conjugate/mirror symmetry property of the 2-D
DFT in Fig. 1. The role of the addressing map procedure is
to remember the conjugate band locations in the second half
image. It saves these locations as column vectors, row
vectors, or matrices. If X is even in the ሺଡ଼ൈଢ଼ሻ , the second -
half image rows will be an odd number and vice-verse if X
is odd, the second-half rows will be an even number and (a) (b) (c)
that because of the D.C row vector. It always should stays Fig. 2, (a) periodic noisy image, (b) FD image with two
undeleted in the first-half image band. After keeping tracks squares BSF, and (c) FD image with two circles BSF
of all mirror bands, noisy image could be halved and get a
new size to become ሺቀ౔ቁାଵൈଢ଼ሻ .

filter using BSF will minimize the cost and speed up the de-
noising process.
So, if a periodic noisy image is degraded with m spike(s),
the full-size image band needs m BSF while just ࢓Τʹ BSF
is needed for the second procedure. Again, from a
complexity sight, the full-size images can still using one BSF
(a) (b) with many individual stopping bands. Both methods satisfy
Fig. 3, (a) full-size cleaning with two BSFs, (b) half-size wide difference in designing cost and complexity than Ring
cleaning with one BSF or Notch filter. In Ring filter the number of rejected
frequencies equals the number of rejected pixels in frequency
conjugate symmetry bands, i.e., ( (X/2+2) ‫ ׊‬Y ) locations are domain and it can be calculated as follows:
canceled (not replaces by zeros). That means, the new FD ‡ŒǤ ˆ”‡“•ሺோ௜௡௚ሻ = ring circumference × ring thickness
image size would be ( (X/2+1 ) × Y)
Fig. 3, illustrates the difference between the full-size and With Notch filter, number of rejected frequencies are:
half-size FD cleaning. The aim of the half image band ‡ŒǤ ˆ”‡“•ሺே௢௧௖௛ሻ = (row vector + column vector) × 2
cleaning procedure is to get the advantage of the two
previous procedures and to develop a new method in de- Therefore, the rejected band for each filter is,
noising just a half image band after cancelling or taking off Rej. Band = max (Rej. freq) – min (Rej. freq) + 1
the lower half one. So, with a noisy image ݅݉ܽ݃݁ሺ௑ൈ௒ሻ it is
required to process and clean just ( (X/2+1) × Y) of image Many true-value or un-affected frequencies will be blocked
bands. That means, it is required to design just one BSF with using these type of filters (Ring/Notch), while the BSF in
dynamic cut-off frequencies to block the periodic noise or dynamic recovery procedure tries cleaning the only noisy
spike(s) in the first quarter of image band. Then, the re- frequencies and left the un-affected bands [2].
allocating algorithm will start re-filling the lower half image
band by the cleaned conjugate symmetry bands according to VI. CONCLUSION
the pre-processed location map. The dynamic procedure is
An auto detection and recovery procedure for multi-
well explained in the Fig. 4.
periodic noises image has been developed to perform the de-
IV. RESULTS QUALIFICATION AND COMPARISON noising and restoration operation automatically and
effectively rather than manually which other filters do like
The two procedures have been tested on different colored Ring and Notch filter.
images and a comparison is made using the Peak Signal to
Noise Ratio (PSNR) qualification method on the football.jpg The main difference between the traditional frequency
and green.jpg image. These two images are degraded with domain filters and the band selected filter is: the BS filter
multi noise frequencies then they cleaned by two methods will block just the degraded bands and keep the unaffected
independently after transforming them to the FD. one with no change. This could be implemented after
running the addressing map algorithm then taking-off the
The target of full-size and half-size procedures is to half-size of image band. The canceled locations would be re-
remove the periodic noise frequencies from Red, Green, and filled again by clean bands using the re-allocating algorithm.
Blue image plane separately. These images are degraded
with 20 different values of periodic noise, ɘଵǡଶ = 0.1, 0.2, .., The two algorithms have been evaluated using peak
2.0. The dB qualification of the restored images in Fig. 5 signal to noise ratio qualification method. The process of
and Fig. 6 are approximately same for two procedures. The cleaning one quarter in a half size image bands will save
only difference is the small value (less than 0.005 dB) when time and cost effectively. Moreover, saving in time and cost
ɘଵǡଶ = 0.1, after that the dB curves starts to be steady state will be clearer if hardware technique is considered. The
and identical for both procedures. The appearance of the dynamic algorithm is flexible and simple to design. It detects
restored images is also to be same and not only the PSNR spikes in frequency domain automatically and replaces them
qualification. That means, the second cleaning procedure with true band values. This paper presented a new technique
satisfied the same result with half effort, where if procedure of how to process just the upper half of noisy image band
one needs to process B bands or locations, the second and how to clean just one quarter of this upper half, also it
procedure will process only B/2 bands. succeeded restoring the original image using the skills of
addressing map and reallocating algorithms.
V. HARDWARE DESIGN VIEW
If a hardware design issue like Field Programmable Gate
Array (FPGA) takes in consideration, the design of image
F
Periodic noise frequencies (addressing map) (de-noising) re-allocating algorithm
BSF
Restored SD
SD to FD Restored FD FD to SD image (X×Y)
Noisy image Half size image Cleaned bands image bands
Transformation band ((X/2 +1)×Y)
Transformation
bands (X×Y) ((X/2 +1)×Y) (X×Y)
Image (X×Y)

Fig. 4. Auto-detection and recovery procedure for a half-size image band


Figure

9.21

9.2
PSNR(dB)_half_1
9.19
PSNR(dB)_full_2
PSNR (dB)

9.18

9.17

9.16

9.15
0.1 0.2 0.3 0.4 0.5 0.6 0.7 0.8 0.9 2
Periodic noise frequencies, ʘ

Fig. 5. PSNR qualification for football.jpg image

9.705
9.7
9.695
PSNR(dB)_half_1
9.69
PSNR(dB)_full_2
PSNR (dB)

9.685
9.68
9.675
9.67
9.665
9.66
9.655
0.1 0.2 0.3 0.4 0.5 0.6 0.7 0.8 0.9 2

Periodic noise frequencies, ʘ

Fig. 6. PSNR qualification for green.jpg image

REFERENCES [5] Payman M., Majid Behnampou,“Adaptive optimum Notch filter for
periodic noise reduction in digital images,” Amirkabir/Electrical &
Electronics Engineering/ Vol.42/No.1/Spring 2010
[1] R. Abdul Rasool, "Novel approach for image restoration and
transmission ," International Journal of Image Processing (IJIP), [6] Y. Yorozu, M. Hirano, K. Oka, and Y. Tagawa, “Electron
volume (8): issue (5): 2014, pp.220-224. spectroscopy studies on magneto-optical media and plastic substrate
[2] Muthana H. Hamd, “Auto detection and removal of frequency domain interface,” IEEE Transl. J. Magn. Japan, vol. 2, pp. 740-741, August
periodic noise," Global Summit on Computer & Information 1987 [Digests 9th Annual Conf. Magnetics Japan, p. 301, 1982].
Technology (GSCIT), 2014 Tunisia, IEEE Xplore Digital Library, pp. [7] M. Young, The Technical Writer’s Handbook. Mill Valley, CA:
1-4. University Science, 1989.
[3] R. Gonzalez, R. Wood, Digital Image Processing, Pranic Hall, Third
Edition, 2008
[4] T. Yoshizawa, Shigeki H., “Noise reduction for priodic signal using
high-resolution frequency analysis,” Springer, EURASIP Journal on
Audio, Speech, and Music Processing 2011/1/5.

You might also like