Vous êtes sur la page 1sur 4

533

A novel frequency domain approach to automated


pseudo-colouring of images
K. A. Navas Naveen S, George Thottan R. Jayadevan, Assim. S
Associate Professor B Tech Students M Tech Students
Govt. Engineering College Govt. Engineering College Govt. Engineering College
Thrissur Thrissur Thrissur
Kerala, India Kerala, India Kerala, India
Email: kanavas@rediffmail.com Email: naveen@rediffmail.com Email: rnath.jayadevan@gmail.com
Email: george@thesimpsons.com assimsajeev@gmail.com

AbstractPseudo colouring is widely used to colour This technique however lacks an aesthetic appeal. In [5],
monochrome images or to artificially colour an existing colour reference image is chosen by matching signatures of the
image to highlight specific features in that image or to enhance images in database with the query image. Matching is done
visual quality. A novel automated pseudo-colouring technique is
proposed in this paper. The proposed method comprises of two by correlating query and database signature vectors using their
steps; reference image selection from the database and colour internal product. This method fails to select the most suitable
transfer using histogram interpolation. The first step relies on reference image from the database for pseudo-colouring. The
Content Based Image Retrieval (CBIR) using wavelet transform. Automatic mood transfer proposed by Chuang-kai Yang et al
The performance of our method is compared with other au- [6] involves the methods such as image classification based on
tomated pseudo-colouring approaches through visual inspection
based on MOS (Mean Opinion Score). The simulation results colour mood, image segmentation and colour mood transfer.
prove that the proposed method has many merits compared to However the extend of pixels coloured in the pseudo-coloured
existing techniques. image is not satisfactory. The existing techniques consider
only luminance details of pixels in an image and it fails to
I. I NTRODUCTION extract the specific features in query image. The optimality
Pseudo-colouring is one of the most common tasks in image of automated pseudo-colouring is primarily determined by the
processing for the colourization of gray scale images in order efficiency of reference image selection algorithm.
to enhance their visual appeal [1]. Its applications include
colourizing black and white films, medical images, satellite
From the literature review, authours could gather that there
images, restoring old photographs etc.
is a room for research in pseudo-colouring of gray scale
The efficiency of pseudo-colouring technique is based on
images. In this paper, a novel automated pseudo-colouring
three main features viz; Distinguishability, Aesthetic sense and
technique has been proposed. The novelty of work is reflected
Extend of pixels coloured. Distinguishability means to identify
in the choice of reference image selection algorithm which
specifically the different features or objects in a pseudo-
works on the principle of Content Based Image Retrieval
coloured image. Aesthetic sense defines the sense of beauty
(CBIR) using wavelet transform [7], [8]. The algorithm in-
and it differs from person to person. Extend of pixel colouring
volves steps such as wavelet decomposition of images in the
shows the total number of pixels that were coloured by
database, feature vector calculation and finally reference image
the pseudo-colouring technique. In the conventional pseudo-
selection from the database through matching. Manhattan
colouring technique, the source or reference image is provided
distance is used to find the closest match between query
by the user along with query image [2], [3]. This requires
and database images [9]. Histogram Interpolation algorithm
human intervention, which consumes large processing time
proposed by Cheng-Hsiung Heish et al [10] is made use
and it is not functional when large number of images or video
for pseudo-colouring. The YCbCr colour space is employed
to be pseudo-coloured.
for interpolation and luminance matching. High efficiency
Recently, several automated pseudo-colouring techniques
of reference image selection algorithm and preservation of
have been developed in which user needs to provide only
specific features in the image are the major benefits of the
the query image. Meanwhile reference image is automatically
proposed method compared to existing algorithms.
selected by the computer from the database of colour im-
ages using an appropriate algorithm. Ye Ji et al proposed a
technique in [4] where reference image selection is based on The paper is organized as follows. The methodology of
texture spectrum similarity. Colour transfer algorithm involves the proposed technique is explained in section II. Results and
luminance correction, sampling using texture spectrum and discussions are given in section III. Section IV concludes the
transfer of chromaticity values based on luminance matching. paper.

978-1-4244-9477-4/11/$26.00 2011 IEEE


534

Query image Feature vector


Faj calculation

Computation of Selection of reference Pseudocolouring using Pseudocoloured


manhattan distance with shortest man. dis. histogram interpolation image

Reference Tree structured Feature vector


image database DWT Fij calculation
Reference image selection

Fig. 1. Block Diagram for the proposed technique

II. M ETHODOLOGY
n
X
This section briefly explains two basic steps involved in the M
Dqi = |f qj f ij | (1)
proposed automated pseudo-colouring technique. j=1
1) Reference image selection from image database using
CBIR based on wavelet transform. where f qj and f ij are the feature vectors of query and
2) Pseudo-colouring query image using selected reference database images respectively and n is the length of feature
image with the application of Histogram Interpolation vector. The image in database having the smallest Manhattan
algorithm. distance is identified as the reference image. The reference
image thus selected is used for pseudo-colouring the query
The block diagram for the proposed technique is shown in
image. Efficiency of the algorithm could be improved by
Fig. 1. It contains two sections; reference image selection and
increasing the level of decomposition of reference images in
pseudo-colouring which are discussed below briefly.
database.
A. Reference Image Selection
B. Pseudo-colouring
The challenge in the reference image retrieval is to develop
the methods that can capture important characteristics of an The conventional pseudo-colouring technique involves the
image, which makes it unique, and allows its accurate iden- conversion of query and reference image into a decorrelated
tification. A unique wavelet transform based reference image colour space followed by luminance matching and pixel
selection algorithm is discussed in this section. The tree struc- colouring. However, it fails to colour those pixels which
tured wavelet transform using 8-tap Daubechies coefficients have no luminance matching. This problem is solved in
is used for image decomposition since it is superior to the Pseudo-colouring based on Histogram Interpolation which has
conventional transforms namely; Discrete Cosine Transform additional advantages of reduction in randomness of data
(DCT), Discrete Sine Transform (DST), Discrete Hadamard and introduction of smoothness between adjacent data. The
Transform (DHT) and pyramid-structured wavelet transforms decorrelated colour space used in this technique is YCbCr,
[8]. since accuracy gets enhanced compared to l and HSI colour
The reference image selection procedure involves three spaces [5]. Histogram Interpolation based pseudo-colouring
basic steps. First step is the decomposition of images in algorithm is briefly discussed in this section.
database using tree structured wavelet transform resulting The reference and query images are first converted to
in the formation of sub-bands. The level of decomposition YCbCr colour space. Then a pixel-by-pixel luminance match-
depends on the size of image and energy content in each ing is carried out between query image and reference image.
sub-band. In the second step, feature vector calculation of The matched pixels in gray scale image are replaced by cor-
each image in the database is done. The feature parameters responding pixels in reference image. In case of no luminance
selected in this work are standard deviation and energy, since match, Histogram interpolation algorithm is applied for that
their combination gives higher efficiency for the algorithm particular pixel. Using interpolation result, unmatched pixel in
compared to other combinations such as mean and standard gray scale image is coloured using estimated Cb and Cr values.
deviation, mean and energy etc [7]. These feature parameters This procedure is repeated for all pixels and the coloured
corresponding to each of the sub-bands at each decomposition image thus obtained is converted back into RGB colour space
level are used to construct a feature vector. The final step for the final output.
involves the selection of the most suitable reference image The merits of reference image selection using CBIR and
from database. In this step, feature vector for query image is histogram interpolation-based pseudo-colouring approach are
computed by the same procedure and then Manhattan distance incorporated in the proposed frequency domain technique.
is used to compute similarity between query image and list Therefore, this method succeeds in addressing the issues such
M
of reference images in database. Manhattan distance Dqi is as preserving fine details and the edges in query image while
expressed as maintaining the luminance values of pixels.
535

III. R ESULTS AND DISCUSSION for the proposed technique in Fig. 2(b) and Fig. 3(b) show
This section provides simulation results of the proposed that the algorithm produces good results for the images with
technique. A visual quality of images produced by the pro- low and high information level, while preserving fine details
posed Frequency Domain Pseudo-colouring (FDPC) technique and edge features. Fig. 2(b) and Fig. 3(b) were rated high
is compared with other recently reported pseudo-colouring MOS (above 4.5) suggesting that the method is successful in
techniques such as Transfer Colour to Gray scale (TG), In- pseudo-colouring images.
teractive Colour Transfer (ICT) and Mood Transfer to Images The following experiments were done to assess the perfor-
(MTI). The popular subjective quality measure, Mean Opinion mance of the proposed technique.
Score (MOS) was used as visual quality measure because 1) The reference image was selected by the user and quality
subjective evaluation is superior to quantitative measures such of the pseudo-coloured image was assessed using MOS.
as Peak Signal to Noise Ratio (PSNR), Weighted PSNR 2) The reference image was selected automatically and
(WPSNR), VSNR (Visual SNR), Visual Information Fidelity quality of the pseudo-coloured image was assessed using
(VIF) etc [11], [12]. MOS and compared with that obtained in step 1.
Images of different sizes belonging to different categories 3) Complexity of the proposed algorithm was assessed in
were used for the evaluation of the proposed technique. terms of computation time.
Simulations were carried out in a Core 2 Duo, 2.00 GHz 4) Distinguishability, aesthetic sense and extend of pixel
Processor-based computer using MATLAB version 7.8. The colouring were subjectively assessed on a large set of
proposed algorithm was simulated using the images of size images (28 different sized images belonging to different
256 256, 512 512 and 1024 1024 belonging to the class types). Average values of the parameters were plotted.
of medical, natural, human, benchmark and satellite images.
However, some of the selected results are given in this paper.
Fig. 2 and 3 depict the results of proposed technique applied
to human and natural scene images.

(a) Input image (b) User selected image (c) Output image

Fig. 4. Pseudo-colouring with User selected Reference Image

(a) Input image (b) Output image

Fig. 2. Proposed method applied to human images

(a) Input image (b) Automatically (c) Output image


selected image

Fig. 5. Pseudo-colouring with automatically selected Reference Image

The results shown in Fig. 4(c) and Fig. 5(c) indicate that
(a) Input image (b) Output image
by visual inspection, the fine details and edge features of
Fig. 3. Proposed method applied to natural scene images the query image are better preserved and highlighted in the
pseudo-coloured image obtained with the proposed method
Fig. 2(b) is the pseudo-coloured image obtained by applying than with user-intervened process.
proposed method on human image given in Fig. 2(a). Fig. 3(b) MOS of images were assessed by 32 undergraduate students
is the pseudo-coloured image obtained when applied it on the in the age group of 21 years who did not have any colourblind-
natural scene image given in Fig. 3(a). ness ailments. Each of them were given 23 slides showing the
The results show that the proposed algorithm is very effec- pseudo-coloured output image based on different techniques.
tive in the selection of appropriate reference image with the MOS of each image was calculated based on the rank given
change of query image. Image given in Fig. 2(a) consists of to the images for distinguishability, aesthetic sense and extend
low information level while it has sharp edge features, where of pixels coloured.
as the image in Fig. 3(a) consists of fine details and higher Table I summarizes different scores obtained for four dif-
level of information than Fig. 2(a). The experimental results ferent methods based on the features compared.
536

TABLE I
MOS VALUES OF VARIOUS PARAMETERS IV. C ONCLUSION
A novel automated pseudo-colouring technique has been
Techniques discussed in this paper. This algorithm uses Wavelet Transform
Comparison Features
FDPC TG ICT MTI based CBIR and Histogram Interpolated pseudo-colouring.
The technique ranks much better compared to the user inter-
Distinguishability 3.56 3.03 3.00 3.54 active pseudo-colouring technique, which is a time consuming
process and not ascertains a superior visual quality. The
Aesthetic sense 3.1 2.62 5.00 3.05 proposed method outweighs other automated pseudo-colouring
techniques in terms of preserving unique features, fine details
Extend of pixel colouring 3.23 3.49 4.16 3.15
and edge features of the query image. The experiment results
show that FDPC method produces good results for the images
with different information level and size. Authours are engaged
in research focusing on the development of an automatic
pseudo-colouring technique using advanced two-dimensional
transforms such as Contourlet Transform, relying upon its
Pixel colouring added advantages compared to Wavelet Transform.
MTI
Further research is possible in the following extensions also.
ICT 1) Automated pseudo-colouring based on a reliable objec-
Aesthetic sense tive quantitative measures.
TG
FDPC
2) Techniques proscribing wrongful pseudo-colouring such
as colouring black hair by green or red.
Distinguishability 3) investigation of multispectral fusion techniques in
pseudo-colouring.
0 1 2 3 4 5
R EFERENCES
Fig. 6. Comparison between the proposed method and other methods [1] Tomihisa Welsh, Michael Ashikhmin, Klaus Mueller, Transferring
Colour to Gray scale Images, Proc. Siggarph, ACM Press, 2002 pp.277-
280.
Fig. III shows the graph, comparing the proposed technique [2] Ye Ji, Yan Chen, Rendering Gray scale Image Using Colour Feature,
IEEE Int. Conf. on Machine Learning and Cybernetics, Vol. 5, pp.3017-
(FDPC) with other three pseudo-colouring methods (TG, ITC 3021, Kunming, China, 2008.
and MTI) based on three main features. The values given in [3] Erik Reinhard, Michael Ashikhmin, Bruce Gooch, Peter Shirley, Colour
the table are not based on a single simulation result. It is Transfer between Images, IEEE Trans. Computer Graphicsand Applica-
tions, Vol. 21, no. 5, pp. 34-41, 2001.
obtained by averaging the corresponding values for more than [4] Ye Ji, Hong-Bo Liu , Xiu-Kun Wang, Yi-Yuan Tang, Colour Transfer
20 simulations with different images. The graph is plotted to Gray scale Images using Texture Spectrum, IEEE Third Int. Conf.
using values from the table. on Machine Learning and Cybernetics, Shanghai, Vol.no. 7, pp. 4057 -
4061, 26-29 August 2004.
From Fig. III it is clear that the proposed technique scores [5] Yogesh Rathore, Avinash Dhole, Ramnivas Giri, Umesh Agrawal,
much better than TG in Distinguishability and Aesthetic sense, Colourization of Gray Scale Images using Fully Automated Approach,
International Journal of Electronics & Communication Technology,
although the Extend of pixels coloured is slightly high for Vol.1, no.1, pp. 16-19, December 2010.
TG. The Distinguishability feature of FDPC is superior to ICT [6] Chuan-Kai Yang, Li-Kai Peng, Automatic Mood Transferring between
method while it falls for other features. Since ICT uses swatch colour images, IEEE Trans. Computer Graphics and Applications, 2009.
[7] Manesh Kokare, B.N. Chatterji and P.K. Biswas, Wavelet Transform
colouring, it has enhanced results in a certain way but demands Based Texture Features For Content Based Image Retrieval, PhD
more user intervention, makes it much time consuming which Thesis, Electronics and Electrical Communication Engineering Depart-
is very less in the proposed method. The comparison between ment,Indian Institute of Technology, Kharagpur.
[8] T. Chang and C.C. Kuo, Texture Analysis and Classification with Tree-
the proposed technique and Mood Transfer to Images indicate Structured Wavelet Transform, IEEE Trans.Image Processing, Vol.2
that FDPC scores higher for aesthetic sense and extend of pixel No.4, pp.429-441, 1993.
colouring. Distinguishability feature shows almost the same [9] Dar-Jen Chang, Ahmed H. Desoky, Ming Ouyang, Eric C. Rouchka,
Compute pairwise Manhattan distance and Pearson correlation coef-
result for Mood transfer and FDPC, but we need to specify ficient of data points with GPU, Computer Engineering & Computer
the particular mood from 24 possible moods for the former. Science Department University of Louisville, Kentucky, USA.
The time taken to obtain the pseudo-coloured output image [10] Cheng-Hsiung Hsieh, Chih Ming Lin and Fung Jung Chang, Pseudo-
colouring with Histogram Interpolation, Ninth International Conference
using the proposed method is nearly 6 seconds. Pseudo- on Hybrid Intelligent Systems, 2009.
colouring method in which the reference image is selected with [11] K. A. Navas, Aravind M. L, Sasikumar M, A Novel Quality Measure for
the user intervention is much time consuming, since the user Information Hiding in Images, Proc. IEEE Computer Society Conference
on Computer Vision and Pattern recognition workshops, 23-28 June
himself needs to check each reference image in the database. 2008, Alaska, US.
Hence such an approach cannot accommodate a delay of less [12] K. A. Navas, Sasikumar M, Image qualty metrics: future directions,
than 6 seconds at any stage and the situation gets worse as IETE Technical Review, Vol 28, Issue 1, pp 51-56, Jan-Feb 2011.
the number of reference images in the database increases.

Vous aimerez peut-être aussi