You are on page 1of 2

3D AUTOCUT: a 3D segmentation algorithm

based on cellular automata


E. C. Neto and P. C. Cortez and V. E. Rodrigues and Tarique
S. Cavalcante and Igor R. S. Valente

An improved 3D cellular automaton segmentation algorithm is proposed


in this letter. The puporse of this letter is to create a tri-directional
automaton in order to segment 3D volumes. The improvement in this
letter is that it is created a force in the RGB space i norder to improve the
result od the 3D algorithm. Experiments on several synthetic voulmes
have shown that the proposed method achieves better segmentation
results and efficiency than the other methods.

Introduction: Image analysis is one field in the Computer Vision area,


and aims to extract meaningful information from the images. Among the
several steps of a Computer Vision system, the segmentation is one of the
most important steps, which the area of aimed object is obtained [1].
The image segmentation is a process in which the image is divided
into regions or homogeneous parts that can represent one or more objects
of interest, according to some criterion of uniformity [2, 3]. However,
this task is still highly complex for computational systems, especially
to overcome two of the most apparent problems: quantification and
qualification of information represented in many different ways, such as
intensity [4], edges [5], contours [6] and grayscale texture [7].
Some researchers has suggested some 3D image segmentation
algorithms, multilevel banded graph cuts for image segmentation [8]. T.
Srinark and C. Kambhamettu developed an approach on multiresolution
surfaces [9]. Rebouas Filho developed an 3d adaptative active contour
method for 3D image segmentation [10]. Y. Boykov and M.P. Jolly
use graph cuts for interactive organ segmentation [11]. On the other
hand, P.W. de Bruin et.al. proposed an approached based on connected
orthogonal contours for interactive 3D segmentation [12]. M. Meng
proposed an unsupervised algorithm for co-segmentation of a set of 3D
shapes [13]. Almeida et. al [14] created an active rays in order to generate Fig. 1. Proposed method flowchart.
a mesh to segment objects.
The novel segmentation algorithm in this letter contains a 3D
segmentation method based on cellular automata which is tested on
different synthetic images. The proposed method is compared to two
algorithms from the literature, the basic 3D algorithm of Region Growing
[15] and the algorithm from Almeida et. al [14].

Proposed Method: In the Fig. 1 a flowchart of the steps of the proposed


method is illustrated. First, the acquisition step consists in obtaining the
image from a file, or from a dataset, in this paper the images are obtained
from synthetic images. Afterwards, 2D preprocessing of each 3D volume
image is performed. In this 2D pre-processing, the original image passes
through three filters, after this pre-processing, these images are grouped
together forming an image in the RGB space. After the pre-processing
is performed the initialization of the labels, seeds, which will progress Fig. 2 The synthetic 3D images used for the tests with the initial seeds, a)
cylinder, b) sphere, c) cube and d) double cones.
to the permanent state. After initialization, the seeds evolve interactively
until they stabilize.
The tests are processes that seek the preliminary verification of the
efficiency of the method in the segmentation of the image. The volumes and automatically, where a spherical volume of 10 voxels radius was
used on the test are shown on Fig; 2. Four images with the size of generated.
300x300x300 voxels were created with these volumes inside. The choice The last step of the method is interactive segmentation and volume
of these volumes is due to the different characteristics that they have. The growth. From the initial volume, a neighborhood of the labeled voxels is
volume in blue consists of the volume to be segmented and the volume in analyzed and based on the force relationship and the state of the label,
red consists of the volume referring to the initial seeds. the voxel remains with the same label or exchange for a new label. The
The next step in the method is to pre-process 2D images of the volume. volumes starts as a small sphere and finishes by involving the target
The purpose of this preprocessing for the method is to generate the volume, which in the Fig. 1 is a double cone.
forces of each voxel and thereby make the method more efficient. In pre- According to Delves et al. [16], a first step to evaluate a segmented
processing the image is processed by three different filter types, which are image consists of comparing the regions detected in the segmented image
the Gaussian filter, the distance transform and the histogram adjustment. with those in the reference image. This comparison is based on the fitting
After the step of the individual 2D pre-processing of each image, process, by matching the ground thruth region with the segmented region.
the result composes a new set of images, at which point a new image There will be a region that matches both, ground thruth and segmented,
is generated in the RGB color space. This new image in the RGB this region is named fitted region. The best fit region can be evaluated by
space will constitute the forces of each voxel at the moment of the criteria of dice similarity coefficient, which is given by:
interactive segmentation and based on these forces will be processed the
segmentation of the object to be segmented. 2|Iseg Igt |
The next step is the seed initialization and labeling of the voxels to be Dice(Iseg , Igt ) = (1)
|Iseg | |Igt |
segmented. Initialization of the seed volumes were generated manually
where Igt is the ground thruth image and the Iseg is the segmented image
by the proposed algorithm.

ELECTRONICS LETTERS 25th April 2017 Vol. 00 No. 00


Experimental Results: In the Letter, the parameters were the size ow 2 J. C. Nascimento and G. Carneiro, Deep learning on sparse
window was 7 and maximum iteration = 70. The experiments presented manifolds for faster object segmentation, IEEE Transactions on Image
in this section were all performed on Intel Core i7 CPU/ 16.00 GB RAM. Processing, vol. PP, no. 99, pp. 11, 2017.
The method was implemented and the simulations were processed in 3 J. A. Bessa, P. C. Cortez, J. H. da Silva Flix, A. R. da Rocha Neto,
and A. R. de Alexandria, Radial snakes: Comparison of segmentation
python 2.7 and C++. Fig. 3 shows the results of the proposed method
methods in synthetic noisy images, Expert Systems with Applications,
segmentation. vol. 42, no. 6, pp. 3079 3088, 2015.
4 S. Chabrier, C. Rosenberger, H. Laurent, B. Emile, and P. March,
Evaluating the segmentation result of a gray level image, in 2004 12th
European Signal Processing Conference, Sept 2004, pp. 953956.
5 M. R. M. Razali, N. S. Ahmad, R. Hassan, Z. M. Zaki, and W. Ismail,
Sobel and canny edges segmentations for the dental age assessment, in
2014 International Conference on Computer Assisted System in Health,
Dec 2014, pp. 6266.
6 M. M. Farhangi, H. Frigui, A. Seow, and A. A. Amini, 3d active
contour segmentation based on sparse linear combination of training
shapes (scots), IEEE Transactions on Medical Imaging, vol. PP, no. 99,
pp. 11, 2017.
7 M. Gao, H. Chen, S. Zheng, B. Fang, and L. Zhang, Texture image
segmentation using fused features and active contour, in 2016 23rd
International Conference on Pattern Recognition (ICPR), Dec 2016, pp.
20362041.
Fig. 3 The synthetic 3D images used for the tests, a) cylinder, b) sphere, c) 8 C. Xu, Y. Sun, H. Lombaert, and L. Grady, A multilevel banded
cube and d) double cones. graph cuts method for fast image segmentation, Computer Vision, IEEE
International Conference on, vol. 01, no. undefined, pp. 259265, 2005.
The shapes are immersed in a 3D space of dimensions equal to 300 9 T. Srinark, C. Kambhamettu, and R. Kambhamettu, An approach for
3d segmentation on multiresolution surfaces, 2003.
300 300 voxels. The space is initially cleared taking value 1 for all
10 P. P. R. Filho, P. C. Cortez, A. C. da Silva Barros, V. H. C. Albuquerque,
voxels, and then the quoted forms are created centralized in this space, and J. M. R. S. Tavares, Novel and powerful 3d adaptive crisp active
having a value of 0 for all voxels internal to it. The created shapes have contour method applied in the segmentation of {CT} lung images,
the following dimensions (in voxels): Medical Image Analysis, vol. 35, pp. 503 516, 2017.
11 Y. Boykov and M.-P. Jolly, Interactive Organ Segmentation Using
Cylinder - base radius = 30 and height = 160; Graph Cuts. Berlin, Heidelberg: Springer Berlin Heidelberg, 2000,
Sphere - radius = 50; pp. 276286.
Cube - side = 100; 12 P. de Bruin, V. Dercksen, F. Post, A. Vossepoel, G. Streekstra,
Doublecone - base = 100 and height = 200; and F. Vos, Interactive 3d segmentation using connected orthogonal
contours, Computers in Biology and Medicine, vol. 35, no. 4, pp. 329
346, 2005.
The initialization of the volume was done manually. The method was 13 M. Meng, J. Xia, J. Luo, and Y. He, Unsupervised co-segmentation
initialized with a smal sphere in the middle of the volume. Therefore, the for 3d shapes using iterative multi-label optimization, Computer-Aided
volume starts to grow until the volume stops the growing. Design, vol. 45, no. 2, pp. 312 320, 2013, solid and Physical Modeling
2012.
Table 1: Efficiency comparisons corresponding to volumes segmentation 14 T. M. de Almeida, T. da Silveira Cavalcante, and P. C. Cortez,
Three-dimensional radial active contour model: A 3-d to 1-d image
Proposed Method Region Growing Almeida [14]
segmentation technique, IEEE Latin America Transactions, vol. 15,
Cylinder 0,963 0,954 0,936 no. 2, pp. 365373, Feb 2017.
Cube 0,961 0,945 0,889 15 R. C. Gonzalez, R. E. Woods, and S. I. Eddins, Digital Image
Double Cone 0,923 0,901 0,896 Processing, 3rd ed. Knoxville: Gatesmark Publishing, 2009.
Sphere 0,941 0,943 0,938 16 L. M. DELVES, R. WILKINSON, C. J. OLIVER, and R. G. WHITE,
Comparing the performance of sar image segmentation algorithms,
International Journal of Remote Sensing, vol. 13, no. 11, pp. 2121
Table 1 shows the efficiency comparisons corresponding to 2149, 1992.
experiments in Fig. 2. The left-hand side is the type of the object and
the top side of each set of data is the algorithm.
From Table 1, the proposed model has the clear advantages in the
terms of the segmentation efficiency. The proposed method has the
highest rate compared to the others algorithms.

Conclusion: This letter proposes a new technique of segmentation of


images in three dimensions based on cellular automata. In this technique
forces are generated in the RGB space. In this way, the calculations
of force functions can be varied, consequently, the computational
performance for segmentation of 3D structures in general are optimized.
The proposed method achieves the better segmentation results and
efficiency than the active rays [14] and Region Growing [15] methods;
furthermore, it is insensitive to initial volume.

Edson C. Neto (Federal University of Cear - Brazil)


Paulo C. Cortez (Federal University of Cear - Brazil)
Valberto E. Rodrigues (Federal University of Cear - Brazil)
Tarique S. Cavalcante (Federal University of Cear - Brazil)
Igor R. S. Valente (Federal University of Cear - Brazil)
E-mail:
edsoncavalcanti@hotmail.com

References

1 E. C. Neto, S. L. Gomes, P. P. R. Filho, and V. H. C. de Albuquerque,


Brazilian vehicle identification using a new embedded plate
recognition system, Measurement, vol. 70, pp. 36 46, 2015.

You might also like