
one-dimensional entropy segmentation method are
poor. Therefore, Abutaleb proposed two-dimension
entropy method in 1989(Abutaleb, 1989).
The two-dimension entropy is obtained from the
two-dimension histogram which is constructed with
using the gray value of image and the average gray
value of image. Two-dimension entropy method is a
region-dependent method. When computing optimal
threshold value, two-dimension entropy method
needs cost more time than one-dimension entropy
method.
In order to reduce the computation time and
improve accuracy of segmentation threshold value,
an improved 2D maximum entropy threshold
segmentation method is proposed. This method
narrows down the search space. And PSO algorithm
is used to solve the optimal segmentation threshold
value. PSO algorithm has advantages of quick
convergence. Therefore it can reduce computation
time. Improved 2D entropy is called spatial
difference attribute information value entropy
(SDAIVE). This improved threshold segmentation
method based on PSO is called PSO-SDAIVE
algorithm.
2 IMPROVEMENT OF 2D GRAY
HISTOGRAM
While segment image with 2D threshold value
method, associated entropy need to be computed and
obtain the optimal segmentation threshold
value(Sahoo, 1988). In order to reduce the solving
time and improve the searching efficiency, the 2D
gray histogram is improved in this paper.
2.1 2D Gray Histogram
In 2D gray histogram, the horizontal axis is the
gray-level value of pixel. It’s range is [0, L-1]; the
vertical axis is the average gray-level value of pixel.
It’s range is [0,L-1]. Let f(m,n) denotes the
gray-level value of pixel which located at point(m,n).
In image,
{ ( , ) | {1, 2,.... }, {1, 2,.... }}
mn m M n N∈∈.
Let g(m,n) is the average gray-level value of the
neighborhood of pixel(m,n). The whole number of
probability value of
((,),(,))
mn gmn is
L
.
In the plan of 2D gray histogram, object pixels
and background pixels locate the diagonal
neighborhood. Noise points and edge pixels are far
from diagonal.
2.2 2D D-value Attribute Gray
Histogram
In traditional 2D gray histogram, the search space is
big and the solving time of the optimal threshold
value is long. In order to narrow down the search
space, 2D gray histogram is improved. According to
pixel attributes, the searching region is reduced.
This improved 2D gray histogram is called 2D
D-value attribute gray histogram. The horizontal
axis of 2D D-value attribute gray histogram is gray
value. The vertical axis is the D-value between gray
value and average gray value. It denotes absolute
value of the difference between
(,)
mn
and
(,)
mn .
The histogram with a given attribute is called
attribute histogram. In this paper, the associated
attribute condition is set. Suppose
12
(,)
fmn L<<
and
(,) (,)fmn gmn
< .The attribute condition
restricts the range of search space. That is the gray
value of pixel is between L
1
and L
2
. The average
gray value is also in given range. Only pixels which
satisfy attribute condition can be searched.
Figure1 shows the plan of 2D D-value attribute
gray histogram. According to attribute condition,
pixels in region G are searched. A pair of value (s,w)
represents segmentation threshold value. Impact of
noise points are reduced by using this improved gray
histogram.
Comparing with the traditional 2D gray
histogram, pixels in region G should satisfy the
following conditions:
1
(,)Lfmns
≤ and
1
max{0, } ( , ) min{ , 1}Lw gmn swL
≤≤+−. Pixels
in region H should satisfy
2
1(,)
fmn L+≤ ≤ and
2
max{0, 1 } ( , ) min{ , 1}swgmn LwL
−≤ ≤ + −.
Figure 1: The plan of 2D D-value attribute gray histogram
3 THE IMPROVED 2D ENTROPY
The essence of image segmentation with entropy is
that utilize the gray probability of image. The gray
information of image includes the gray probability
IJCCI 2009 - International Joint Conference on Computational Intelligence
288