<!DOCTYPE article PUBLIC "-//NLM//DTD JATS (Z39.96) Journal Archiving and Interchange DTD v1.0 20120330//EN" "JATS-archivearticle1.dtd">
<article xmlns:xlink="http://www.w3.org/1999/xlink">
  <front>
    <journal-meta />
    <article-meta>
      <title-group>
        <article-title>2D Image Segmentation using Cell like Spiking Neural P System</article-title>
      </title-group>
      <contrib-group>
        <contrib contrib-type="author">
          <string-name>Y. Preethi Ceon</string-name>
          <xref ref-type="aff" rid="aff1">1</xref>
        </contrib>
        <contrib contrib-type="author">
          <string-name>Hepzibah Christinal</string-name>
          <xref ref-type="aff" rid="aff1">1</xref>
        </contrib>
        <contrib contrib-type="author">
          <string-name>S. Jebasingh</string-name>
          <xref ref-type="aff" rid="aff1">1</xref>
        </contrib>
        <contrib contrib-type="author">
          <string-name>D. Abraham Chandy</string-name>
          <xref ref-type="aff" rid="aff0">0</xref>
        </contrib>
        <aff id="aff0">
          <label>0</label>
          <institution>Department of Electronics and Communication, Karunya Institute of Technology and Sciences</institution>
          ,
          <addr-line>Coimbatore</addr-line>
          ,
          <country country="IN">India</country>
        </aff>
        <aff id="aff1">
          <label>1</label>
          <institution>Department of Mathematics, Karunya Institute of Technology and Sciences</institution>
          ,
          <addr-line>Coimbatore</addr-line>
          ,
          <country country="IN">India</country>
        </aff>
      </contrib-group>
      <abstract>
        <p>A new type of computational model that is stimulated by functions and structure of biological cells is called Membrane Computing. Spiking Neural P Systems (SN P Systems) is an unconventional method of computing, where in the rewriting of multisets is implemented by absorbing a multiset present in the membrane region and simultaneously producing new multiset of alphabets. In the present study, edge segmentation of 2D images using Cell-like Spiking Neural P System with various spikes (cSN+P systems) is considered. .</p>
      </abstract>
    </article-meta>
  </front>
  <body>
    <sec id="sec-1">
      <title>1. Introduction</title>
      <p>The study of new computational paradigms based on natural phenomena constitutes natural
Computing. It abstracts how nature "computes," resulting in new computing models. Neural networks
[15], Genetic algorithms [9], and DNA-based molecular computing [1] are some examples of
wellestablished fields in Natural Computing.</p>
      <p>A computing model that relies on function of cells and structure to process rules and generate
string languages constitutes membrane computing. In general, A P system [16], contains of a
membrane structure with compartments in which the predetermined rules that work in
nondeterministic parallel manner and are evolved using multisets of objects.</p>
      <p>These models can be divided into three groups based on their construction: P systems based on
structure of cell, P systems based on tissue, and P systems based on neurons [18]. Membranes are
ordered as a tree-like structure in the cell-like P System in the first system. The vesicles that make up
acell's interior serves as inspiration for such architecture.</p>
      <p>Tissue P systems are computational models motivated by biological systems along with chemical
reaction in which multiple individuals live and cooperate in a specific environment where objects can
modify when shifting from one region to another. The type of distributed and parallel neural-like
computing model that is stimulated by the mode neurons transfer using spikes are the type of SN P
systems. This work focuses on the approach: cSN+P System.</p>
      <p>SN P system [8], in which neurons communicate with one another via identically shaped electric
impulses called spikes. Using spiking and forgetting rules, the neuron processes information in the form
of spikes. The following is how spiking rules work: The current spikes are absorbed by the neuron,
andnew ones are created. Similarly, the forgetting rule is used to eliminate the count of spikes present
in the nerve cell which is predetermined. The rules get triggered, when the regular expression is
computation in SN P system and the various types of spikes are transmitted to the environment.</p>
      <p>In computer vision, partitioning a digital image into multiple segments is a process. known as
segmentation. By shortening and/or changing an image's representation, segmentation makes the
image simpler to analyse. Substances and borders in images are typically located using image
segmentation. In more technical terms, the process of assigning a label to each which have similar visual
characteristics and same label is known as image segmentation. Few techniques that are available to
segment the image are neural network methods, watershed transformation methods, edge-based
method, region-based method and graph partitioning methods.</p>
      <p>Medical imaging, Traffic control system, Finger print recognition and Object detection are thefew
of the real-world applications of image segmentation. Hepzibah et al., [4,5] used for the first time, P
systems based on tissue for segmenting the 2D images which is a variant of P systems.</p>
      <p>The work on paper is prepared as follows: We discuss the preliminaries of cell-like spiking neural
p system with several types of spikes in section 2. We define a cSN+P systems for segmentationin 2D
image based on edge in section 3.</p>
    </sec>
    <sec id="sec-2">
      <title>2. Preliminaries</title>
      <p>2.1. Cell-Like SN+P System</p>
      <sec id="sec-2-1">
        <title>Where</title>
      </sec>
      <sec id="sec-2-2">
        <title>Where</title>
        <p>A cSN+P system [14] of the power 
≥ 1, is of the form
H = (X, Q1, Q2 … , Q ,  1, … ,   , k0),</p>
      </sec>
      <sec id="sec-2-3">
        <title>1.The group of alphabets is denoted by X and its is finite</title>
        <p>2.Q1, Q2 …, Qm are the neurons of the form
Qi = (Wi,  i), 1 ≤ i ≤  ,
(i) Wiє ∗ denotes prime multiset of spikes confined in Qi;
( ) The spiking rule Here V is an 
(ii)  i has two rules of the succeeding form:

) and 
{ℎe e,</p>
        <p>, i j} and E represents regular language over O.
( ) The forgetting rule 
→ *, with  є ∗ and  є

→  , here V is an arrangement of pairs of the form ( i,</p>
      </sec>
      <sec id="sec-2-4">
        <title>3.The output region of H is indicated by k0 ∈ {0, 1, …,  }</title>
        <p>The spiking rule of the form</p>
        <p>→  works in the following way: The computation begins from the
neuron Qi which has maximum number of spikes and multiset w such that w є  ( ) and  є

( ). When the rule starts to fire, the production of multiset of spikes v є 
are consumed bythe
spikes u and are transmitted to the target indicated. If each of the neuron holds accurately the spikes v,
then the firing rule V → λ starts to work. Because the global clock is assumed, the system's operation
is synchronized. If n number of rules are present in the neuron at the similar time, any one of rule is
used is chosen non-deterministically. The transition of system is formed by application of firing or
forgetting rules in a neuron. Any transition sequence begins with the initial configurations. When rule
is not applicable, the computation ends and reaches its configuration.</p>
        <p>The different types of spikes released from the output neuron in a tentative configuration whichis
the output of the cSN+P system. The series of spikes produced from the output neuron forms the edge
pixel generated by the cSN+P system.</p>
      </sec>
    </sec>
    <sec id="sec-3">
      <title>3. Segmentation of 2D Images using cSN+P System</title>
      <p>The two -dimensional digital image 3 with size    ( .  є Ν) is a object in four-sided net(i, j)
called pixels with 1 ≤ i ≤  and 1 ≤ j ≤  [3]. The ordered set of all colours in 3 be the alphabet of
colors of 3 ( ⊆  ) [4]. The number of colour of this alphabet is denoted by the size of  − | |. Let us
consider that for every pixel of 3 is correlated to a colour of  . The pixel (i, j) is encoded with
connected color  є C as the object  ij. The image is coded as the set { ij:  ∈   1 ≤ i ≤   1
≤ j ≤  }. Pixels  1 = ( ,  ) and  2 = (e, ƒ) are given and they are said to be adjacent ( 1.  2) = √(
– e)2 + ( − ƒ)2 is 1. The 4-adjacency neighborhood concept is used to study the relation between
pixels to segment the images.</p>
      <p>We can partition an image into regions in this manner, with each area consisting of two-by-two
nearby pixels with the same associated colour. The region's boundary is defined as the group of pixels
in particular region that have the characteristic of being next to other pixels with a variety of color
associated colour. In this section, the edge-segmentation algorithm is used to segment the images. The
labels of the pixels in the 2D images are given as input to the system. The successive application of
firing rules to the input 2D image identifies the boundary pixels and sends them to the environment.
The system applies the rules using 4 adjacency and 2 adjacency neighbourhood on the pixels of the
input image. The resultant segmented 2D image is observed in the output neuron of the system.</p>
    </sec>
    <sec id="sec-4">
      <title>3.1 Image Segmentation using Cell-like Spiking Neural P System with various types of spikes</title>
      <p>Theorem 3.1</p>
      <p>The m x n 2D image can be segmented by a Cell -like Spiking Neural P System with various types
of spikes having 1 neuron.</p>
      <p>Proof:</p>
      <p>We define a family of cSN+P System for edge segmentation of 2-D images. For each  , 
the system is defined as follows:
∈  ,
 = (,  ,  0,  0,  0)
Where,
•
•  = []1
•  0 = { ij,   }</p>
      <p>O = { ij,   } where  ij,   are the labels of the input image</p>
    </sec>
    <sec id="sec-5">
      <title>4. Overview of the computation</title>
      <p>The system has one membrane  0 having firing rules defined in the set  0. The multiset  ij,
  spikes is present in the membrane  0. The rules in  0 are applied to the initial set of spikes where
the region  0 gets activated.</p>
      <p>The rule  0 is applied, when an image has different associated colours with two adjacent pixels, the
pixel with the less associated colour will remain in the same neuron and other pixels are sent out using
spiking rules.</p>
      <p>Similarly, the rule  0 is applied, when an image has four adjacent pixels with different associated
colours, the pixel with the less associated colour will remain in the same neuron and other pixels are
sent out using spiking rules.</p>
      <p>Suppose that the system chooses firing rule  ij  k / k → ( k , o ) non-deterministically. This rule
consumes a spike  ij and sends  ij spike to the environment. The edge cells are sent out using the
 
This rule consumes a spike   and sends   spike to the environment. The edge cells are sent out
using the spiking rule and other pixels will remain in the neuron  0.
→ (  , o ).</p>
      <p>i+1 i+1j
then the system will send the spikes  i+1j out, which is four adjacency in image. Similarly, all other
rules are applied and the edge cells are sent out using the spiking rule and other pixels will remain in
the neuron  0. At last, the second set of rules are pertained and send pixels at edge to the output cell.</p>
      <p>If the firing rule  ij ij+1  i+1j i+1j+1 → (</p>
      <p>, o ) is selected by the system non-deterministically</p>
    </sec>
    <sec id="sec-6">
      <title>5. Conclusion</title>
      <p>At present, we studied edge segmentation of the m x n 2D images with the aid of cSN+P systems.
Further, need to study segmentation of 3D images. Furthermore, application of the system in medical
image processing will be our future work.
6. References
[1] Adleman, L.M.: Molecular computations of solutions to combinatorial problems. Science 226,
1021–1024 (1994)
[2] Costagliola, Gennaro, Filomena Ferrucci, and Carmine Gravino. "Adding symbolic information
to picture models: definitions and properties." Theoretical Computer Science 337.1-3
(2005): 51-104.
[3] Christinal, Hepzibah A., Daniel Díaz-Pernil, and Pedro Real Jurado. "Segmentation in 2D and
3D image using tissue-like P system." Iberoamerican Congress on Pattern Recognition.</p>
      <p>Springer, Berlin, Heidelberg, 2009.
[4] Christinal, Hepzibah A., Daniel Díaz-Pernil, and Pedro Real. "Region-based segmentation of 2D
and 3D images with tissue-like P systems." Pattern Recognition Letters 32.16 (2011):
22062212.
[5] Christinal, Hepzibah A., et al. "Color segmentation of 2D images with thresholding."
International Conference on Eco-friendly Computing and Communication Systems. Springer,
Berlin, Heidelberg, 2012.
[6] Ezhilraman, S. Vahini, and Sujatha Srinivasan. "State of the art in image processing &amp; big data
analytics: issues and challenges." International Journal of Engineering &amp; Technology 7.2.33
(2018): 195-199.
[7] Freeman, Herbert. "Computer processing of line-drawing images." ACM 215 Computing</p>
      <p>Surveys (CSUR) 6.1 (1974): 57-97.
[8] Grandjean, Etienne, and Frédéric Olive. "A logical approach to locality in pictures languages."</p>
      <p>Journal of Computer and System Sciences 82.6 (2016): 959-1006.
[9] Holland, J.H., 1992. Adaptation in Natural and Artificial Systems. MIT Press, Cambridge, MA,</p>
      <p>USA.
[10] Ionescu, Mihai, Gheorghe P˘aun, and Takashi Yokomori. "Spiking neural P systems."</p>
      <p>Fundamenta informaticae 71.2, 3 (2006): 279-308.
[11] Ionescu, Mihai, et al. "Spiking neural P systems with several types of spikes. Proceedingsof the
Ninth Brainstorming Week on Membrane Computing, 220183-192. Sevilla, ETS de Ingenierí
aInformática, 31 de enero-4 de febrero,2011 (2011).
[12] Jebasingh. S, G. Johnsy and P.S. Divya “Chain Code P system using Cycle Grammar”,</p>
      <p>International Journal of Recent Techonology and engineering, Vol-8 Issue 2, July 2019.
[13] Leandro Nunes de Castro, Fundamentals of natural computing: an overview, Physics of Life</p>
      <p>Reviews, Volume 4, Issue 1, 2007, Pages 1-36, ISSN 1571-0645.
[14] Maurer, H. A., G. Rozenberg, and E. Welzl. "Using string languages to describe picture
languages." Information and Control 54.3 (1982): 155-185.
[15] McCulloch, W.S., Pitts, W.: A logical calculus of the ideas immanent in nervous activity.Bulletin
of Mathematical Biophysics 5, 115–133 (1943)
[16] P˘aun, Gheorghe. "Computing with membranes." Journal of Computer and SystemSciences 61.1
(2000): 108-143.
[17] Nakamura, Akira. "Picture languages." Foundations of Image Understanding. Springer, Boston,</p>
      <p>MA, 2001. 127-155.
[18] P˘aun, G., P´erez-Jim´enez, M.J., Riscos-N´u˜nez, A.: Tissue P System with cell division. In
Second Brainstorming Week on Membrane Computing, Sevilla, Report RGNC 01/2004, pp.
380–386 (2004)
[19] Preethi.C.Y, Hepzibah A. Christinal , S. Jebasingh, and A. Chandy. ” Generation of CyclePicture
Languages Using Sequential Spiking Neural P System” Advances in Mathematics: Scientific
Journal 2020, Vol. 9, No. 2: 583-590
[20] Rosenfeld, Azriel. Picture languages: formal models for picture recognition. Academic Press,
2014.
[21] G. Rozenberg, T. Back, and J. N. Kok, eds., Handbook of Natural Computing. Berlin,</p>
      <p>Germany: Springer-Verlag, 2012.
[22] Subramanian, K. G. "P systems and picture languages." International Conference on</p>
      <p>Machines, Computations, and Universality. Springer, Berlin, Heidelberg, 2007.
[23] Zhang, Ge-Xiang, and Lin-Qiang Pan. "A survey of membrane computing as a new branch of
natural computing." Chinese journal of computers 33.2 (2010): 208-214.</p>
    </sec>
  </body>
  <back>
    <ref-list />
  </back>
</article>