SlideShare a Scribd company logo
IOSR Journal of Computer Engineering (IOSRJCE)
ISSN: 2278-0661, ISBN: 2278-8727 Volume 6, Issue 5 (Nov-Dec. 2012), PP 21-29
www.iosrjournals.org
www.iosrjournals.org 21 | Page
An Efficient Algorithm for the Segmentation of Astronomical
Images
Gintu Xavier, Tintu Erlin Philip, Deepthi T.V.N, K.P Soman
(Centre for Excellence in Computational Engg. and Networking, Amrita Vishwa Vidyapeetham, India)
Abstract : In this paper, an efficient algorithm for segmenting celestial objects from astronomical images is
proposed. The proper segmentation of astronomical objects like planets, comets, galaxies, asteroids etc. is a
difficult task due to the presence of innumerous bright point sources in the frame, presence of noise, weak edges
of celestial objects, low contrast etc. In order to overcome these bottlenecks, multiple preprocessing steps are
performed on the actual image prior to segmenting the desired object(s). Level Set segmentation is the key
technique of this proposed method. The result of the proposed algorithm on various celestial objects
substantiates the effectiveness of the proposed method.
Keywords – Classification, Level Set Segmentation, Pattern Recognition, TV Denoising, Wavelet Transform.
I. Introduction
Survey and statistical analysis of the ever expanding universe has been of growing concern over the
past few decades. Many automated techniques have been proposed based on which the Data Mining software
are built [1- 5]. Continuous evolution of the techniques is taking place to improve the performance of such a
system. For most of the imaging surveys, detection and extraction of astronomical objects/sources for further
classification is the primary step towards database creation [1, 3]. The performance of a Data Mining process
depends on the efficiency of all the sequential steps involved, of which segmentation is the primary step.
Efficiency of the image segmentation technique for extracting celestial object(s) in-turn affects all the
bottom-up processes. Segmentation of celestial objects from the images obtained from satellite/telescope is a
difficult task, due to the presence of bright point sources, noises, low contrast due to long distances and
disturbances, lack of clear-cut boundaries etc. [1, 2, 4]. Previous methods employed for segmenting the
astronomical objects includes watershed segmentation [6-7], binary thresholding etc. The spatial and the texture
information of the astronomical objects are not retained in the above mentioned processes. The further
classification of the astronomical objects becomes efficient if the texture and the shape of the objects can be
retained to a great extent. The proposed algorithm takes care of these features satisfactorily. The preprocessing
steps take care of the difficulties in achieving proper segmentation. The presence of point sources can adversely
affect the evolution of the level set contour which is taken care by eroding the bright sources. Total Variation
Denoising [13, 14] applied to the Stationary Wavelet Decomposed image [11, 12] satisfactorily removes noise
with edge preservation. Adaptive histogram equalization technique is used to enhance the contrast of the image.
The lack of clear-cut boundary/edges for the celestial objects usually affects the segmentation. An active
contour based level set segmentation technique using Signed Pressure Force (SPF) as the stopping function [22]
takes care of the problem. It also offers global segmentation using a single initial contour.
The paper is structured as follows: Section II describes removal of bright point sources. Section III
presents Stationary Wavelet Transform followed by TV Denoising and contrast stretching in Section IV and
Section V respectively. Section VI describes the Active contour level set segmentation technique. Section VII
gives the proposed algorithm and Section VIII describes the implementation steps. Results are depicted in
Section IX and the conclusion is given in Section X.
II. Removal of Bright Point Sources
Astronomical images usually contain numerous bright point sources (stars, distant galaxies etc.). These
point sources are to be primarily removed for the proper segmentation in the final stage. The removal of such
abrupt change in intensities prevents the evolving level set contour, from getting stuck at the local regions. Local
peak search using a matched filter or a cleaning process [3] are usually used to remove the unresolved point
sources. But, multiple pass through the filter which is required during these processes, would diffuse the image
and may result in the break-up of the components of the extended sources [1, 3]. Erosion-a morphological
An Efficient Algorithm For The Segmentation Of Astronomical Images
www.iosrjournals.org 22 | Page
enhancement process [8], would serve the purpose without affecting the shape and structure of the celestial
objects to an extent. Matlab command „imerode‟, with suitable shape and size for the structuring element
removes the peak intensities satisfactorily without severe damage to the edge information.
III. Stationary Wavelet Transform
Wavelet Transform which is a powerful tool in image processing, is used in this method prior to image
denoising. Universe is assumed to be isotropic and so are the celestial objects. Wavelet Transform does not
privilege any particular direction in the image [4, 10] and hence is well suited for astronomical image
processing.
Normal denoising causes noticeable loss of the high frequency contents, along with the smoothing of
the edge features. Instead, denoising applied on wavelet transform takes care of preserving the high frequency
edge components to an extent, ultimately facilitating proper segmentation. Also, it is desirable to preserve the
spatial information at each level and hence Stationary Wavelet Transform rather than the translation-variant
Discrete Wavelet Transform (DWT) is used. A simplest way to obtain this translational invariance is not to
perform any sub-sampling [9-11]. The filters are to be up-sampled at each level of decomposition by padding
low and high pass filters with zeros [10-12]. This method is commonly referred to as the “Ã Trous” algorithm
[11, 12].
Mathematically, the SWT decomposes the image I(x, y) into J scales of wavelet planes Wj(x, y)
associated with the wavelet function and a smoothened plane CJ(x, y) associated with the scaling function. This
can be mathematically represented as:
1
( , ) ( , ) ( , )
J
J j
j
I x y C x y W x y

   (1)
The iterative process to calculate CJ(x, y) and Wj(x, y) can be represented as:
0 ( , ) ( , )C x y I x y , on initializing J=0
1( , ) , ( , )j j jC x y H C x y , for j=1, 2…..J (2)
where,
1 1
1 1
,
, ( , ) ( , ) ( 2 , 2 )j j
j j j
n m
H C x y h n m C x n y m 
   
1( , ) ( , ) ( , )j J JW x y C x y C x y  (3)
The Wj‟s and CJ represents the wavelet transform planes and the result of a single level SWT transform with
J=1, is given as an example in Figure 1.
Figure 1: 1-level wavelet transform planes
An Efficient Algorithm For The Segmentation Of Astronomical Images
www.iosrjournals.org 23 | Page
IV. TV Denoising
Astronomical images are inherent to noise and hence need filtering to properly segment the celestial
objects. Out of many denoising techniques, Total Variation denoising gives satisfactory Peak Signal-to-Noise-
Ratio (PSNR) value compared to other methods like Split Bregman, Edge Enhanced diffusion etc. Total
Variation denoising formulation and its solution [13, 14] is given below.
If U0 represents the noisy image, U the clean image and  the control parameter, then the optimization
problem is defined as:
 
2
0min ( )
U
E U U U U     (4)
 
22 2
0( , , )x y x yF U U U U U U U    , is the objective function. (5)
The final Euler Lagrange equation [13] for the above function is:
 
 
2 2
0 3/22 2
2
2 0
xx y x y xy yy x
x y
U U U U U U U
U U
U U

 
  

(6)
The solution for (6) is found using gradient-descent method as:
 
 
2 2
03/22 2
2
2
xx y x y xy yy x
x y
U U U U U U UU E
U U
t U U U

  
    
  
This formulation is iteratively applied to the approximation and detail coefficients of the 1-level stationary
wavelet transformed planes. The denoised image is retrieved using Inverse SWT (ISWT).
V. Adaptive Histogram Equalization
The celestial images are usually of low contrast and hence, contrast stretching would be a suitable
preprocessing step before the final segmentation. The denoising performed on the image results in smoothing of
the edges, making it difficult for the segmentation constraint to lock the evolving contour to the edges. Contrast
stretching offers an improvement to the final segmentation process by providing enhancement to the details in
the image. Here we use Adaptive Histogram Equalization (AHE) which differs from ordinary histogram
equalization [6, 15, 16]. This method brings out more details in the image compared to histogram equalization
by local contrast stretching, where several histograms corresponding to each distinct sections of the image are
calculated. This information is used to redistribute the lightness values of the image thereby improving the local
contrast of an image. This step is performed after the denoising step as the AHE amplifies the noise present in
the image.
VI. Level Set Segmentation
Segmentation being the bottom level processing step in any image analysis and pattern recognition
processes, it has to be performed with as much accuracy as possible in order to avoid the propagation of errors
throughout the bottom-up processes. The classification of the celestial objects calls for a primary segmentation
step that accurately segments the celestial objects [1, 2, 5 ]. The main constraint for astronomical image
segmentation is the lack of well defined and sharp edges. Hence, the segmentation method used should be
efficient enough so that, the shape and texture of the blur-edged objects (e.g. Comets, galaxies etc) can be
segmented out [17-20].
In the proposed algorithm, the method used for the segmentation of celestial objects is a region based
active contour model using level sets. The region based models that uses statistical information is more superior
to the edge based model, as the Edge Stopping Function (ESF) fails to lock on to the boundary properly due to
the lack of sharp edges. The proposed algorithm uses a region based model following [22] and references
therein. This method applies a Signed Pressure Force (SPF) [17] to stop the evolution of the contour, instead of
the conventional ESF [21-23].
In this method level set function  is initialized to constants rather than the concept of taking level set
as a Signed Distance Function (SDF). The values of the level set function remain the same both inside and
outside the curve or interface, but the signs are opposite. The SPF function [17] take values in the range [-1, 1]
based on which the contour expands when inside the object and shrinks when outside the object [22].
Let, C (q): [0, 1] → R2
be a parameterized planar curve in X where X is a subset of R2
and I be the
given image. SPF function is defines as:
An Efficient Algorithm For The Segmentation Of Astronomical Images
www.iosrjournals.org 24 | Page
1 2
1 2
( )
2( ( )) ,
max(| ( ) |)
2
c c
I x
spf I x x X
c c
I x


 


(8)
where c1 and c2 are the average intensities inside and outside the contour, respectively. Mathematical
representation for c1 and c2 are:
1
( ). ( )
( )
( )
X
X
I x H dx
c
H dx






(9)
2
( ).(1 ( ))
( )
(1 ( ))
X
X
I x H dx
c
H dx








(10)
where the regularized Heaviside function [22] is represented as:
1 2
( ) 1 arctan
2
z
H z
 
  
    
  
The level set formulation for an edge based model is:
| | .
| |
g div g
t
 
  

   
      
   
(11)
where α is the velocity term and g  is the ESF.
On Substituting the SPF instead of the ESF in equation (11), the level set formulation becomes (as mentioned in
[22]):
( ( )). | | ( ( )). ,
| |
spf I x div spf I x x X
t
 
  

   
       
   
(12)
The term ( / | |)| |div      is the curvature term and is used to regularize the level set function .
For being a level set function, it satisfies the condition 1  . So the curvature term can be written as
 which is the Laplacian of level set function . The evolution of a level set function with its Laplacian is
equivalent to the Gaussian kernel filtering of the level set on every iteration [18, 19, 22]. The level of
regularization can be controlled by the standard deviation of the Gaussian filter. As Gaussian filter is used to
regularize the level set, an additional regularization term ( / | |)| |div      can be neglected. Moreover,
the term ( ( )).spf I x   in (12) can be removed, as the model uses statistical information of the regions.
Hence, the level formulation reduces to:
( ( )). | |,spf I x x X
t

 

  

(13)
The procedures of the segmentation technique used in this paper are:
a. Initialization of the level set function  :
0 0
0
0
( , 0) 0
x
x t x
x



  

  
  
where  > 0 is a constant, 0 is a subset in the image domain  and 0 is the boundary of 0 .
An Efficient Algorithm For The Segmentation Of Astronomical Images
www.iosrjournals.org 25 | Page
b. Compute 1( )c  and 2 ( )c  using (9) and (10) respectively.
c. Evolve the level set function based on (13).
d. Gaussian filter regularization of the level set; *G 
e. Check for the convergence of level set evolution. If not, return to step b.
This method offers global segmentation which is desirable for the segmentation of astronomical
images, as an image frame may contain more than one celestial object. This method is robust to noise and can
segment objects with weak edges. Also, the initial contour can be set anywhere in the image. For celestial
objects with non homogenous intensities in the interior, this method proves to be efficient over the C–V model.
VII. Proposed Algorithm
Flow graph of the proposed algorithm for the segmentation of the celestial objects from an astronomical image
is given below:
Figure 2: Flow graph of the proposed algorithm
VIII. Implementation
8.1. Image of a galaxy [24] is used to demonstrate the processing steps. The image is converted to a grayscale
image for easy processing. The size of the image is taken to be 250x250. The grayscale image of the galaxy is
shown in Fig. 3.
Figure 3: Original image
Active Contour Level-Set based
Segmentation
Contrast Adjustments
Inverse Wavelet Transform
TV Denoising
1-Level Wavelet Decomposition
Morphological
Adjustments (erode)
Original Image
An Efficient Algorithm For The Segmentation Of Astronomical Images
www.iosrjournals.org 26 | Page
8.2. The image has innumerous bright point sources which affects the proper evolution of the segmentation
curve. To remove the point sources, a simple morphological processing – erosion, is performed. The structuring
element size can be suitably selected by the user, depending on the average size of the point sources. Fig.4
shows the eroded image using „disk‟ of size 2 as the structuring element. This facilitates proper segmentation at
the final step. The output of the erosion process is:
Figure 4: Eroded image
8.3. Wavelet decomposition using Stationary Wavelet Transform (SWT) is performed before the denoising to
retain the high frequency edge information to an extent and to avoid translation variance. The wavelet used is
Biorthogonal wavelet-„bior2.4‟. Fig. 5 shows the approximation and detail coefficient representation of the
image.
Figure 5: Wavelet decomposition
8.4. TV denoising is performed on each of the decomposed planes i.e., approximation and the detail
coefficient planes. Denoising for an iteration of 10 with the control parameter  = 0.1 is performed. The
parameters can be adjusted for various levels of noisiness. A PSNR of 48.69 is obtained for this particular
image. Fig. 6 represents the denoised image obtained after performing inverse SWT.
Figure 6: Denoised image after ISWT
8.5. The output of the adaptive histogram equalization applied to the denoised image is given in Fig. 7
Figure 7: Contrast stretched image
An Efficient Algorithm For The Segmentation Of Astronomical Images
www.iosrjournals.org 27 | Page
8.6. The active contour based level set method is applied to the contrast stretched image. The initial contour
defined over the image is as shown below:
Figure 8: Initialization of level set
The values for the parameters used in the segmentation process are: Standard deviation for the Gaussian filter:
σ = 1, number of iteration for the curve evolution = 100, delta =10 and the tuning factor µ=.25. µ can be varied
for properly segmenting different images. The output at the 100th
iteration is:
Figure 9:Final contour
The segmented celestial object(s) is extracted from Fig. 9 by setting the background to black.
Figure 10:Segmented galaxy
8.7. This image is then projected on to the original image, to retrieve the information content lost during the
erode operation. This step regains the original information to an extent. The final output of the segmentation
process is shown in Fig.11.
Figure 11:Final segmented image
An Efficient Algorithm For The Segmentation Of Astronomical Images
www.iosrjournals.org 28 | Page
IX. Results
The algorithm is applied to celestial objects like comets, galaxies, asteroids and planets. The processing
steps are same as described in Section VII. The output of the proposed algorithm for various celestial objects
are:
X. Conclusion
The subjective analysis of the above results clearly supports the efficiency of the proposed algorithm.
The algorithm gives satisfactory results for even the blur- edged objects. The output of this segmentation
process can be given as the input for the higher processing steps in Data Mining tasks. The classification of the
above segmented astronomical objects can be easily performed with the shape and intensity as the features. The
proposed algorithm finds application in the classification and cataloging of celestial objects obtained from
satellites or telescopes.
References
[1] Emmanuel Bertin, Mining pixels: The extraction and classification of astronomical sources, Mining the Sky Eso astrophysics
symposia 2001, pp 353-371.
[2] P. Suetnes, P.Fua and A. J. Hanson, Computational strategies for object recognition, ACM Computing Surveys, Vol. 24, pp. 05-
61, 1992.
[3] Venkatadri.M, Dr. Lokanatha C. Reddy, A Review on Data mining from Past to the Future, International Journal of Computer
Applications, Volume 15– No.7, February 2011, 112-116.
[4] Jean-Luc Starck and Fionn Murtagh, Handbook of Astronomical image and Data Analysis, Springer-Verlag-2002.
[5] E. Aptoula, S. Lef`evre and C. Collet, Mathematical morphology applied to the segmentation and classification of galaxies in
multispectral images, European Signal Processing Conference (EUSIPCO), Italy, 2006.
[6] Dibyendu Ghoshal, Pinaki Pratim Acharjya, A Modified Watershed Algorithm for Stellar Image, International Journal of Computer
Applications, Volume 15– No.7, February 2011, 112-116.
[7] M. Frucci and G. Longo, Watershed transform and the segmentation of astronomical images, In Proceedings of Astronomical
Data Analysis III, Naples, Italy, April 2004.
[8] Gonzales, Digital image processing (Pearson Education India, 2009).
[9] K.P Soman, K.I Ramachandran, N.G Reshmi, Insight into wavelet transform, PHI Learning Pvt. Ltd., 2010.
Original image Segmented Output
An Efficient Algorithm For The Segmentation Of Astronomical Images
www.iosrjournals.org 29 | Page
[10] A. Manjunath, H.M.Ravikumar, Comparison of Discrete Wavelet Transform (DWT), Lifting Wavelet Transform (LWT) Stationary
Wavelet Transform (SWT) and S-Transform in Power Quality Analysis, European Journal of Scientific Research, Vol.39, No.4
(2010), pp.569-576.
[11] Xiadong Zhang, Deren Li, Ã Trous wavelet decomposition applied to image edge detection, Geographic information sciences, Vol.
7, No. 2, 2001.
[12] Marta Peracaula, Arnau Oliver, Albert Torrent, Xavier Llado, Jordi Freixenet and Joan Mart, Segmenting extended structures in
radio astronomical images by filtering bright compact sources and using wavelets decomposition, 18th IEEE International
Conference on Image Processing, 2011.
[13] Vicent Caselles, Total variation based image denoising and restoration, International Congress of Mathematicians, Spain-2006
[14] K.P Soman, R. Ramanathan, Digital signal and image processing-The sparse way, Elsevier India-2012
[15] R.A Hummel, Image enhancement by histogram transformation, Computer vision, graphics and image processing,1977,184-195
[16] Stephen M Pizer, E Philip Amburn, John D Austin, Robert Chromartie et al., Adaptive histogram equalization and its variations,
Computer vision, graphics and image processing ,1988.
[17] C.Y. Xu, A. Yezzi Jr., J.L. Prince, On the relationship between parametric and geometric active contours, Processing of 34th
Asilomar Conference on Signals Systems and Computers, 2000, pp. 483–489.
[18] Shi, W.C. Karl, Real-time tracking using level sets, IEEE Conference onComputer Vision and Pattern Recognition 2 (2005) 34–41.
[19] P. Perona, J. Malik, Scale-space and edge detection using anisotropic diffusion, IEEE Transaction on Pattern Analysis and
Machine Intelligence 12 (1990)
[20] M. Kass, A. Witkin, D. Terzopoulos, Snakes: active contour models, International Journal of Computer Vision 1 (1988) 321–331.
[21] V. Caselles, R. Kimmel, G. Sapiro, Geodesic active contours, International,Journal of Computer Vision 22 (1) (1997) 61–79.
[22] Kaihua Zhan, Lei Zhang,, Huihui Song, Wengang Zhou, Active contours with selective local or global segmentation: A new
formulation and level set method, Image and Vision Computing 28 (2010) 668–676.
[23] G.P. Zhu, Sh.Q. Zhang, Q.SH. Zeng, Ch.H. Wang, Boundary-based image segmentation using binary level set method, Optical
Engineering 46 (2007).
[24] http://archive.stsci.edu visited on 1st
October 2012.

More Related Content

PDF
Feature extraction based retrieval of
PDF
3 video segmentation
PPTX
Marker Controlled Segmentation Technique for Medical application
PDF
A version of watershed algorithm for color image segmentation
PDF
Change Detection of Water-Body in Synthetic Aperture Radar Images
PDF
AUTOMATIC THRESHOLDING TECHNIQUES FOR SAR IMAGES
PDF
AUTOMATIC THRESHOLDING TECHNIQUES FOR SAR IMAGES
PPTX
Video Segmentation
Feature extraction based retrieval of
3 video segmentation
Marker Controlled Segmentation Technique for Medical application
A version of watershed algorithm for color image segmentation
Change Detection of Water-Body in Synthetic Aperture Radar Images
AUTOMATIC THRESHOLDING TECHNIQUES FOR SAR IMAGES
AUTOMATIC THRESHOLDING TECHNIQUES FOR SAR IMAGES
Video Segmentation

What's hot (20)

PPTX
Image parts and segmentation
PDF
Data-Driven Motion Estimation With Spatial Adaptation
PDF
OBIA on Coastal Landform Based on Structure Tensor
PDF
Image Registration using NSCT and Invariant Moment
PDF
Ijetr011917
PPTX
4.Do& Martion- Contourlet transform (Backup side-4)
DOC
Research Paper v2.0
PDF
An efficient image segmentation approach through enhanced watershed algorithm
PDF
Online framework for video stabilization
PPTX
Segmentation Techniques -II
PDF
Background Subtraction Based on Phase and Distance Transform Under Sudden Ill...
PPTX
Region based image segmentation
PPT
Presentation on deformable model for medical image segmentation
PPTX
Segmentation Techniques -I
PDF
Review on Optimal image fusion techniques and Hybrid technique
PPTX
Copy-Rotate-Move Forgery Detection Based on Spatial Domain
PDF
Bio medical image segmentation using marker controlled watershed algorithm a ...
PDF
V.KARTHIKEYAN PUBLISHED ARTICLE 1
PDF
Image classification in remote sensing
PPTX
IMAGE SEGMENTATION TECHNIQUES
Image parts and segmentation
Data-Driven Motion Estimation With Spatial Adaptation
OBIA on Coastal Landform Based on Structure Tensor
Image Registration using NSCT and Invariant Moment
Ijetr011917
4.Do& Martion- Contourlet transform (Backup side-4)
Research Paper v2.0
An efficient image segmentation approach through enhanced watershed algorithm
Online framework for video stabilization
Segmentation Techniques -II
Background Subtraction Based on Phase and Distance Transform Under Sudden Ill...
Region based image segmentation
Presentation on deformable model for medical image segmentation
Segmentation Techniques -I
Review on Optimal image fusion techniques and Hybrid technique
Copy-Rotate-Move Forgery Detection Based on Spatial Domain
Bio medical image segmentation using marker controlled watershed algorithm a ...
V.KARTHIKEYAN PUBLISHED ARTICLE 1
Image classification in remote sensing
IMAGE SEGMENTATION TECHNIQUES
Ad

Viewers also liked (20)

PDF
B018131117
PDF
E017322833
PDF
O0126291100
PDF
L012627682
PDF
M1304029193
PDF
B013111321
PDF
N1303018286
PDF
J010525864
PDF
A012220109
PDF
C1102011317
PDF
H1102034954
PDF
H1103015764
PDF
T01232160169
PDF
E1103032933
PDF
D012323139
PDF
O017429398
PDF
Influence of soil texture and bed preparation on growth performance in Plectr...
PDF
A018110108
PDF
H018214754
PDF
D010332935
B018131117
E017322833
O0126291100
L012627682
M1304029193
B013111321
N1303018286
J010525864
A012220109
C1102011317
H1102034954
H1103015764
T01232160169
E1103032933
D012323139
O017429398
Influence of soil texture and bed preparation on growth performance in Plectr...
A018110108
H018214754
D010332935
Ad

Similar to An Efficient Algorithm for the Segmentation of Astronomical Images (20)

PPT
Siddu_RegiocccccccccccccccccnGrowing.ppt
PDF
A STUDY AND ANALYSIS OF DIFFERENT EDGE DETECTION TECHNIQUES
PDF
Fd36957962
PDF
Observing ultra-high energy cosmic rays with prototypes of the Fluorescence d...
PDF
Image Segmentation Using Pairwise Correlation Clustering
PDF
J017426467
PPTX
Remotely sensed image segmentation using multiphase level set acm
PDF
VO Course 11: Spatial indexing
PDF
Hybrid Multilevel Thresholding and Improved Harmony Search Algorithm for Segm...
PDF
Different Image Segmentation Techniques for Dental Image Extraction
PDF
ROLE OF HYBRID LEVEL SET IN FETAL CONTOUR EXTRACTION
PDF
ROLE OF HYBRID LEVEL SET IN FETAL CONTOUR EXTRACTION
PDF
ROLE OF HYBRID LEVEL SET IN FETAL CONTOUR EXTRACTION
PDF
Role of Hybrid Level Set in Fetal Contour Extraction
PDF
JJenkinson_Thesis
PDF
Recognition of optical images based on the
PDF
1200 cash[2]
PDF
Data Science Education: Needs & Opportunities in Astronomy
PPTX
Image segmentation
Siddu_RegiocccccccccccccccccnGrowing.ppt
A STUDY AND ANALYSIS OF DIFFERENT EDGE DETECTION TECHNIQUES
Fd36957962
Observing ultra-high energy cosmic rays with prototypes of the Fluorescence d...
Image Segmentation Using Pairwise Correlation Clustering
J017426467
Remotely sensed image segmentation using multiphase level set acm
VO Course 11: Spatial indexing
Hybrid Multilevel Thresholding and Improved Harmony Search Algorithm for Segm...
Different Image Segmentation Techniques for Dental Image Extraction
ROLE OF HYBRID LEVEL SET IN FETAL CONTOUR EXTRACTION
ROLE OF HYBRID LEVEL SET IN FETAL CONTOUR EXTRACTION
ROLE OF HYBRID LEVEL SET IN FETAL CONTOUR EXTRACTION
Role of Hybrid Level Set in Fetal Contour Extraction
JJenkinson_Thesis
Recognition of optical images based on the
1200 cash[2]
Data Science Education: Needs & Opportunities in Astronomy
Image segmentation

More from IOSR Journals (20)

PDF
A011140104
PDF
M0111397100
PDF
L011138596
PDF
K011138084
PDF
J011137479
PDF
I011136673
PDF
G011134454
PDF
H011135565
PDF
F011134043
PDF
E011133639
PDF
D011132635
PDF
C011131925
PDF
B011130918
PDF
A011130108
PDF
I011125160
PDF
H011124050
PDF
G011123539
PDF
F011123134
PDF
E011122530
PDF
D011121524
A011140104
M0111397100
L011138596
K011138084
J011137479
I011136673
G011134454
H011135565
F011134043
E011133639
D011132635
C011131925
B011130918
A011130108
I011125160
H011124050
G011123539
F011123134
E011122530
D011121524

Recently uploaded (20)

PDF
A comparative study of natural language inference in Swahili using monolingua...
PPTX
A Presentation on Artificial Intelligence
PDF
Encapsulation_ Review paper, used for researhc scholars
PPTX
KOM of Painting work and Equipment Insulation REV00 update 25-dec.pptx
PDF
Mushroom cultivation and it's methods.pdf
PDF
Approach and Philosophy of On baking technology
PPTX
SOPHOS-XG Firewall Administrator PPT.pptx
PDF
Microsoft Solutions Partner Drive Digital Transformation with D365.pdf
PDF
gpt5_lecture_notes_comprehensive_20250812015547.pdf
PDF
Web App vs Mobile App What Should You Build First.pdf
PDF
Video forgery: An extensive analysis of inter-and intra-frame manipulation al...
PDF
Univ-Connecticut-ChatGPT-Presentaion.pdf
PPTX
Digital-Transformation-Roadmap-for-Companies.pptx
PDF
NewMind AI Weekly Chronicles - August'25-Week II
PPTX
1. Introduction to Computer Programming.pptx
PPTX
OMC Textile Division Presentation 2021.pptx
PPTX
TechTalks-8-2019-Service-Management-ITIL-Refresh-ITIL-4-Framework-Supports-Ou...
PDF
August Patch Tuesday
PDF
Building Integrated photovoltaic BIPV_UPV.pdf
PDF
MIND Revenue Release Quarter 2 2025 Press Release
A comparative study of natural language inference in Swahili using monolingua...
A Presentation on Artificial Intelligence
Encapsulation_ Review paper, used for researhc scholars
KOM of Painting work and Equipment Insulation REV00 update 25-dec.pptx
Mushroom cultivation and it's methods.pdf
Approach and Philosophy of On baking technology
SOPHOS-XG Firewall Administrator PPT.pptx
Microsoft Solutions Partner Drive Digital Transformation with D365.pdf
gpt5_lecture_notes_comprehensive_20250812015547.pdf
Web App vs Mobile App What Should You Build First.pdf
Video forgery: An extensive analysis of inter-and intra-frame manipulation al...
Univ-Connecticut-ChatGPT-Presentaion.pdf
Digital-Transformation-Roadmap-for-Companies.pptx
NewMind AI Weekly Chronicles - August'25-Week II
1. Introduction to Computer Programming.pptx
OMC Textile Division Presentation 2021.pptx
TechTalks-8-2019-Service-Management-ITIL-Refresh-ITIL-4-Framework-Supports-Ou...
August Patch Tuesday
Building Integrated photovoltaic BIPV_UPV.pdf
MIND Revenue Release Quarter 2 2025 Press Release

An Efficient Algorithm for the Segmentation of Astronomical Images

  • 1. IOSR Journal of Computer Engineering (IOSRJCE) ISSN: 2278-0661, ISBN: 2278-8727 Volume 6, Issue 5 (Nov-Dec. 2012), PP 21-29 www.iosrjournals.org www.iosrjournals.org 21 | Page An Efficient Algorithm for the Segmentation of Astronomical Images Gintu Xavier, Tintu Erlin Philip, Deepthi T.V.N, K.P Soman (Centre for Excellence in Computational Engg. and Networking, Amrita Vishwa Vidyapeetham, India) Abstract : In this paper, an efficient algorithm for segmenting celestial objects from astronomical images is proposed. The proper segmentation of astronomical objects like planets, comets, galaxies, asteroids etc. is a difficult task due to the presence of innumerous bright point sources in the frame, presence of noise, weak edges of celestial objects, low contrast etc. In order to overcome these bottlenecks, multiple preprocessing steps are performed on the actual image prior to segmenting the desired object(s). Level Set segmentation is the key technique of this proposed method. The result of the proposed algorithm on various celestial objects substantiates the effectiveness of the proposed method. Keywords – Classification, Level Set Segmentation, Pattern Recognition, TV Denoising, Wavelet Transform. I. Introduction Survey and statistical analysis of the ever expanding universe has been of growing concern over the past few decades. Many automated techniques have been proposed based on which the Data Mining software are built [1- 5]. Continuous evolution of the techniques is taking place to improve the performance of such a system. For most of the imaging surveys, detection and extraction of astronomical objects/sources for further classification is the primary step towards database creation [1, 3]. The performance of a Data Mining process depends on the efficiency of all the sequential steps involved, of which segmentation is the primary step. Efficiency of the image segmentation technique for extracting celestial object(s) in-turn affects all the bottom-up processes. Segmentation of celestial objects from the images obtained from satellite/telescope is a difficult task, due to the presence of bright point sources, noises, low contrast due to long distances and disturbances, lack of clear-cut boundaries etc. [1, 2, 4]. Previous methods employed for segmenting the astronomical objects includes watershed segmentation [6-7], binary thresholding etc. The spatial and the texture information of the astronomical objects are not retained in the above mentioned processes. The further classification of the astronomical objects becomes efficient if the texture and the shape of the objects can be retained to a great extent. The proposed algorithm takes care of these features satisfactorily. The preprocessing steps take care of the difficulties in achieving proper segmentation. The presence of point sources can adversely affect the evolution of the level set contour which is taken care by eroding the bright sources. Total Variation Denoising [13, 14] applied to the Stationary Wavelet Decomposed image [11, 12] satisfactorily removes noise with edge preservation. Adaptive histogram equalization technique is used to enhance the contrast of the image. The lack of clear-cut boundary/edges for the celestial objects usually affects the segmentation. An active contour based level set segmentation technique using Signed Pressure Force (SPF) as the stopping function [22] takes care of the problem. It also offers global segmentation using a single initial contour. The paper is structured as follows: Section II describes removal of bright point sources. Section III presents Stationary Wavelet Transform followed by TV Denoising and contrast stretching in Section IV and Section V respectively. Section VI describes the Active contour level set segmentation technique. Section VII gives the proposed algorithm and Section VIII describes the implementation steps. Results are depicted in Section IX and the conclusion is given in Section X. II. Removal of Bright Point Sources Astronomical images usually contain numerous bright point sources (stars, distant galaxies etc.). These point sources are to be primarily removed for the proper segmentation in the final stage. The removal of such abrupt change in intensities prevents the evolving level set contour, from getting stuck at the local regions. Local peak search using a matched filter or a cleaning process [3] are usually used to remove the unresolved point sources. But, multiple pass through the filter which is required during these processes, would diffuse the image and may result in the break-up of the components of the extended sources [1, 3]. Erosion-a morphological
  • 2. An Efficient Algorithm For The Segmentation Of Astronomical Images www.iosrjournals.org 22 | Page enhancement process [8], would serve the purpose without affecting the shape and structure of the celestial objects to an extent. Matlab command „imerode‟, with suitable shape and size for the structuring element removes the peak intensities satisfactorily without severe damage to the edge information. III. Stationary Wavelet Transform Wavelet Transform which is a powerful tool in image processing, is used in this method prior to image denoising. Universe is assumed to be isotropic and so are the celestial objects. Wavelet Transform does not privilege any particular direction in the image [4, 10] and hence is well suited for astronomical image processing. Normal denoising causes noticeable loss of the high frequency contents, along with the smoothing of the edge features. Instead, denoising applied on wavelet transform takes care of preserving the high frequency edge components to an extent, ultimately facilitating proper segmentation. Also, it is desirable to preserve the spatial information at each level and hence Stationary Wavelet Transform rather than the translation-variant Discrete Wavelet Transform (DWT) is used. A simplest way to obtain this translational invariance is not to perform any sub-sampling [9-11]. The filters are to be up-sampled at each level of decomposition by padding low and high pass filters with zeros [10-12]. This method is commonly referred to as the “Ã Trous” algorithm [11, 12]. Mathematically, the SWT decomposes the image I(x, y) into J scales of wavelet planes Wj(x, y) associated with the wavelet function and a smoothened plane CJ(x, y) associated with the scaling function. This can be mathematically represented as: 1 ( , ) ( , ) ( , ) J J j j I x y C x y W x y     (1) The iterative process to calculate CJ(x, y) and Wj(x, y) can be represented as: 0 ( , ) ( , )C x y I x y , on initializing J=0 1( , ) , ( , )j j jC x y H C x y , for j=1, 2…..J (2) where, 1 1 1 1 , , ( , ) ( , ) ( 2 , 2 )j j j j j n m H C x y h n m C x n y m      1( , ) ( , ) ( , )j J JW x y C x y C x y  (3) The Wj‟s and CJ represents the wavelet transform planes and the result of a single level SWT transform with J=1, is given as an example in Figure 1. Figure 1: 1-level wavelet transform planes
  • 3. An Efficient Algorithm For The Segmentation Of Astronomical Images www.iosrjournals.org 23 | Page IV. TV Denoising Astronomical images are inherent to noise and hence need filtering to properly segment the celestial objects. Out of many denoising techniques, Total Variation denoising gives satisfactory Peak Signal-to-Noise- Ratio (PSNR) value compared to other methods like Split Bregman, Edge Enhanced diffusion etc. Total Variation denoising formulation and its solution [13, 14] is given below. If U0 represents the noisy image, U the clean image and  the control parameter, then the optimization problem is defined as:   2 0min ( ) U E U U U U     (4)   22 2 0( , , )x y x yF U U U U U U U    , is the objective function. (5) The final Euler Lagrange equation [13] for the above function is:     2 2 0 3/22 2 2 2 0 xx y x y xy yy x x y U U U U U U U U U U U        (6) The solution for (6) is found using gradient-descent method as:     2 2 03/22 2 2 2 xx y x y xy yy x x y U U U U U U UU E U U t U U U             This formulation is iteratively applied to the approximation and detail coefficients of the 1-level stationary wavelet transformed planes. The denoised image is retrieved using Inverse SWT (ISWT). V. Adaptive Histogram Equalization The celestial images are usually of low contrast and hence, contrast stretching would be a suitable preprocessing step before the final segmentation. The denoising performed on the image results in smoothing of the edges, making it difficult for the segmentation constraint to lock the evolving contour to the edges. Contrast stretching offers an improvement to the final segmentation process by providing enhancement to the details in the image. Here we use Adaptive Histogram Equalization (AHE) which differs from ordinary histogram equalization [6, 15, 16]. This method brings out more details in the image compared to histogram equalization by local contrast stretching, where several histograms corresponding to each distinct sections of the image are calculated. This information is used to redistribute the lightness values of the image thereby improving the local contrast of an image. This step is performed after the denoising step as the AHE amplifies the noise present in the image. VI. Level Set Segmentation Segmentation being the bottom level processing step in any image analysis and pattern recognition processes, it has to be performed with as much accuracy as possible in order to avoid the propagation of errors throughout the bottom-up processes. The classification of the celestial objects calls for a primary segmentation step that accurately segments the celestial objects [1, 2, 5 ]. The main constraint for astronomical image segmentation is the lack of well defined and sharp edges. Hence, the segmentation method used should be efficient enough so that, the shape and texture of the blur-edged objects (e.g. Comets, galaxies etc) can be segmented out [17-20]. In the proposed algorithm, the method used for the segmentation of celestial objects is a region based active contour model using level sets. The region based models that uses statistical information is more superior to the edge based model, as the Edge Stopping Function (ESF) fails to lock on to the boundary properly due to the lack of sharp edges. The proposed algorithm uses a region based model following [22] and references therein. This method applies a Signed Pressure Force (SPF) [17] to stop the evolution of the contour, instead of the conventional ESF [21-23]. In this method level set function  is initialized to constants rather than the concept of taking level set as a Signed Distance Function (SDF). The values of the level set function remain the same both inside and outside the curve or interface, but the signs are opposite. The SPF function [17] take values in the range [-1, 1] based on which the contour expands when inside the object and shrinks when outside the object [22]. Let, C (q): [0, 1] → R2 be a parameterized planar curve in X where X is a subset of R2 and I be the given image. SPF function is defines as:
  • 4. An Efficient Algorithm For The Segmentation Of Astronomical Images www.iosrjournals.org 24 | Page 1 2 1 2 ( ) 2( ( )) , max(| ( ) |) 2 c c I x spf I x x X c c I x       (8) where c1 and c2 are the average intensities inside and outside the contour, respectively. Mathematical representation for c1 and c2 are: 1 ( ). ( ) ( ) ( ) X X I x H dx c H dx       (9) 2 ( ).(1 ( )) ( ) (1 ( )) X X I x H dx c H dx         (10) where the regularized Heaviside function [22] is represented as: 1 2 ( ) 1 arctan 2 z H z              The level set formulation for an edge based model is: | | . | | g div g t                      (11) where α is the velocity term and g  is the ESF. On Substituting the SPF instead of the ESF in equation (11), the level set formulation becomes (as mentioned in [22]): ( ( )). | | ( ( )). , | | spf I x div spf I x x X t                       (12) The term ( / | |)| |div      is the curvature term and is used to regularize the level set function . For being a level set function, it satisfies the condition 1  . So the curvature term can be written as  which is the Laplacian of level set function . The evolution of a level set function with its Laplacian is equivalent to the Gaussian kernel filtering of the level set on every iteration [18, 19, 22]. The level of regularization can be controlled by the standard deviation of the Gaussian filter. As Gaussian filter is used to regularize the level set, an additional regularization term ( / | |)| |div      can be neglected. Moreover, the term ( ( )).spf I x   in (12) can be removed, as the model uses statistical information of the regions. Hence, the level formulation reduces to: ( ( )). | |,spf I x x X t         (13) The procedures of the segmentation technique used in this paper are: a. Initialization of the level set function  : 0 0 0 0 ( , 0) 0 x x t x x              where  > 0 is a constant, 0 is a subset in the image domain  and 0 is the boundary of 0 .
  • 5. An Efficient Algorithm For The Segmentation Of Astronomical Images www.iosrjournals.org 25 | Page b. Compute 1( )c  and 2 ( )c  using (9) and (10) respectively. c. Evolve the level set function based on (13). d. Gaussian filter regularization of the level set; *G  e. Check for the convergence of level set evolution. If not, return to step b. This method offers global segmentation which is desirable for the segmentation of astronomical images, as an image frame may contain more than one celestial object. This method is robust to noise and can segment objects with weak edges. Also, the initial contour can be set anywhere in the image. For celestial objects with non homogenous intensities in the interior, this method proves to be efficient over the C–V model. VII. Proposed Algorithm Flow graph of the proposed algorithm for the segmentation of the celestial objects from an astronomical image is given below: Figure 2: Flow graph of the proposed algorithm VIII. Implementation 8.1. Image of a galaxy [24] is used to demonstrate the processing steps. The image is converted to a grayscale image for easy processing. The size of the image is taken to be 250x250. The grayscale image of the galaxy is shown in Fig. 3. Figure 3: Original image Active Contour Level-Set based Segmentation Contrast Adjustments Inverse Wavelet Transform TV Denoising 1-Level Wavelet Decomposition Morphological Adjustments (erode) Original Image
  • 6. An Efficient Algorithm For The Segmentation Of Astronomical Images www.iosrjournals.org 26 | Page 8.2. The image has innumerous bright point sources which affects the proper evolution of the segmentation curve. To remove the point sources, a simple morphological processing – erosion, is performed. The structuring element size can be suitably selected by the user, depending on the average size of the point sources. Fig.4 shows the eroded image using „disk‟ of size 2 as the structuring element. This facilitates proper segmentation at the final step. The output of the erosion process is: Figure 4: Eroded image 8.3. Wavelet decomposition using Stationary Wavelet Transform (SWT) is performed before the denoising to retain the high frequency edge information to an extent and to avoid translation variance. The wavelet used is Biorthogonal wavelet-„bior2.4‟. Fig. 5 shows the approximation and detail coefficient representation of the image. Figure 5: Wavelet decomposition 8.4. TV denoising is performed on each of the decomposed planes i.e., approximation and the detail coefficient planes. Denoising for an iteration of 10 with the control parameter  = 0.1 is performed. The parameters can be adjusted for various levels of noisiness. A PSNR of 48.69 is obtained for this particular image. Fig. 6 represents the denoised image obtained after performing inverse SWT. Figure 6: Denoised image after ISWT 8.5. The output of the adaptive histogram equalization applied to the denoised image is given in Fig. 7 Figure 7: Contrast stretched image
  • 7. An Efficient Algorithm For The Segmentation Of Astronomical Images www.iosrjournals.org 27 | Page 8.6. The active contour based level set method is applied to the contrast stretched image. The initial contour defined over the image is as shown below: Figure 8: Initialization of level set The values for the parameters used in the segmentation process are: Standard deviation for the Gaussian filter: σ = 1, number of iteration for the curve evolution = 100, delta =10 and the tuning factor µ=.25. µ can be varied for properly segmenting different images. The output at the 100th iteration is: Figure 9:Final contour The segmented celestial object(s) is extracted from Fig. 9 by setting the background to black. Figure 10:Segmented galaxy 8.7. This image is then projected on to the original image, to retrieve the information content lost during the erode operation. This step regains the original information to an extent. The final output of the segmentation process is shown in Fig.11. Figure 11:Final segmented image
  • 8. An Efficient Algorithm For The Segmentation Of Astronomical Images www.iosrjournals.org 28 | Page IX. Results The algorithm is applied to celestial objects like comets, galaxies, asteroids and planets. The processing steps are same as described in Section VII. The output of the proposed algorithm for various celestial objects are: X. Conclusion The subjective analysis of the above results clearly supports the efficiency of the proposed algorithm. The algorithm gives satisfactory results for even the blur- edged objects. The output of this segmentation process can be given as the input for the higher processing steps in Data Mining tasks. The classification of the above segmented astronomical objects can be easily performed with the shape and intensity as the features. The proposed algorithm finds application in the classification and cataloging of celestial objects obtained from satellites or telescopes. References [1] Emmanuel Bertin, Mining pixels: The extraction and classification of astronomical sources, Mining the Sky Eso astrophysics symposia 2001, pp 353-371. [2] P. Suetnes, P.Fua and A. J. Hanson, Computational strategies for object recognition, ACM Computing Surveys, Vol. 24, pp. 05- 61, 1992. [3] Venkatadri.M, Dr. Lokanatha C. Reddy, A Review on Data mining from Past to the Future, International Journal of Computer Applications, Volume 15– No.7, February 2011, 112-116. [4] Jean-Luc Starck and Fionn Murtagh, Handbook of Astronomical image and Data Analysis, Springer-Verlag-2002. [5] E. Aptoula, S. Lef`evre and C. Collet, Mathematical morphology applied to the segmentation and classification of galaxies in multispectral images, European Signal Processing Conference (EUSIPCO), Italy, 2006. [6] Dibyendu Ghoshal, Pinaki Pratim Acharjya, A Modified Watershed Algorithm for Stellar Image, International Journal of Computer Applications, Volume 15– No.7, February 2011, 112-116. [7] M. Frucci and G. Longo, Watershed transform and the segmentation of astronomical images, In Proceedings of Astronomical Data Analysis III, Naples, Italy, April 2004. [8] Gonzales, Digital image processing (Pearson Education India, 2009). [9] K.P Soman, K.I Ramachandran, N.G Reshmi, Insight into wavelet transform, PHI Learning Pvt. Ltd., 2010. Original image Segmented Output
  • 9. An Efficient Algorithm For The Segmentation Of Astronomical Images www.iosrjournals.org 29 | Page [10] A. Manjunath, H.M.Ravikumar, Comparison of Discrete Wavelet Transform (DWT), Lifting Wavelet Transform (LWT) Stationary Wavelet Transform (SWT) and S-Transform in Power Quality Analysis, European Journal of Scientific Research, Vol.39, No.4 (2010), pp.569-576. [11] Xiadong Zhang, Deren Li, Ã Trous wavelet decomposition applied to image edge detection, Geographic information sciences, Vol. 7, No. 2, 2001. [12] Marta Peracaula, Arnau Oliver, Albert Torrent, Xavier Llado, Jordi Freixenet and Joan Mart, Segmenting extended structures in radio astronomical images by filtering bright compact sources and using wavelets decomposition, 18th IEEE International Conference on Image Processing, 2011. [13] Vicent Caselles, Total variation based image denoising and restoration, International Congress of Mathematicians, Spain-2006 [14] K.P Soman, R. Ramanathan, Digital signal and image processing-The sparse way, Elsevier India-2012 [15] R.A Hummel, Image enhancement by histogram transformation, Computer vision, graphics and image processing,1977,184-195 [16] Stephen M Pizer, E Philip Amburn, John D Austin, Robert Chromartie et al., Adaptive histogram equalization and its variations, Computer vision, graphics and image processing ,1988. [17] C.Y. Xu, A. Yezzi Jr., J.L. Prince, On the relationship between parametric and geometric active contours, Processing of 34th Asilomar Conference on Signals Systems and Computers, 2000, pp. 483–489. [18] Shi, W.C. Karl, Real-time tracking using level sets, IEEE Conference onComputer Vision and Pattern Recognition 2 (2005) 34–41. [19] P. Perona, J. Malik, Scale-space and edge detection using anisotropic diffusion, IEEE Transaction on Pattern Analysis and Machine Intelligence 12 (1990) [20] M. Kass, A. Witkin, D. Terzopoulos, Snakes: active contour models, International Journal of Computer Vision 1 (1988) 321–331. [21] V. Caselles, R. Kimmel, G. Sapiro, Geodesic active contours, International,Journal of Computer Vision 22 (1) (1997) 61–79. [22] Kaihua Zhan, Lei Zhang,, Huihui Song, Wengang Zhou, Active contours with selective local or global segmentation: A new formulation and level set method, Image and Vision Computing 28 (2010) 668–676. [23] G.P. Zhu, Sh.Q. Zhang, Q.SH. Zeng, Ch.H. Wang, Boundary-based image segmentation using binary level set method, Optical Engineering 46 (2007). [24] http://archive.stsci.edu visited on 1st October 2012.