introduction - Academic Science,International Journal of Computer

advertisement
Image Processing using SIM Toolbox
Shivangi Verma
Computer Science & Engineering Department
Krishna Institute of Engineering &Technology,
Ghaziabad, India
shivangi0007@gmail.com
ABSTRACT
Scilab is open source software language.
Scilab is based at Indian Institute of
Technology Bombay (IITB) and founded by
MHRD. Scilab provide many toolboxes like
Scilab image processing (SIP), Scilab Wavelet
Toolbox, Scilab Java and .NET Module,
Scilab Remote Access Module, Scilab
MySQL ,etc. in this we try to develop the
image processing GUI based application with
the help of SIM toolbox.
Keywords
Scilab Java and .NET Module, Scilab Remote
Access Module, Scilab MySQL, Equalis
Communication Systems Module, Equalis
Signal Processing Module, Soft Cruncher
Performance Accelerator and more toolbox are
available on ATOMS Portal .
The rest of the paper is as follows. Sections II
consists image processing introduction and try
to develop the image processing GUI in Scilab
Platform with the help of some functions.
Section III and Section IV consists the
implementation and results. Section V explain
conclusion.
Scilab, Scilab Image Processing (SIM),
INTRODUCTION
IMAGE PROCESSING
INTRODUCTION:
Scilab is a component of the FOSSEE (free
and open source software for science and
engineering education).it is a interpreted and
high level language, with a rich set of features
provided by library [1,2]. Scilab are
dynamically compile and link to other
language and is based at the Indian Institute of
Technology Bombay (IITB) and founded by
MHRD as part of the National Mission on
Education through ICT. Scilab develops in
July 2012 and published by Scilab Enterprises
[3]. It is free open source software packages
and similar to Matlab. The many types of
facilities are providing by Scilab likes: 2D and
3D visualization, optimization, statistics,
control system design, analysis and
application development [4,7 ].
In this paper we use the Scilab Image
processing (SIP) Toolbox to develop image
GUI. It is run on Scilab Platform. SIP aim to
do imaging tasks such as filtering, edge
detection, blurring , histogram manipulation ,
color image processing , face detect ,eye
detect, Crop image , noise in image , pyramid
image, Sobel filtering etc. it included many
image formats likes : JPEG, BMP, GIF, TIFF,
PNG and PCX . So, we try to develop the
image processing GUI. we used the many
function likes Read image, crop image,
Filtering, Edge Detection, Face Detection,
Zoom image ,Add two image, subtract two
image[2,6].
In this language different types of toolbox are
available some are [2] : Scilab Image
Processing Toolbox (SIP) and its variants
(such as SIVP), Scilab Wavelet Toolbox,
Some functions are used in this paper to
implement the image processing likes:
a) Crop function: it is used to crop the
image with the used of imcrop ()
function.
b) Read function: this function is used to
read the image from the path which is
giving by users.
// Programmer can use different functions that
are used to run different fuction of image. This
function is show to only read the images.
c) Add Image fuction: it is used to add
more than one image with the help of
imadd () function.
im=imread("C:\Users\ ……………");
imshow(im);
// Left eye detection code:
d) Face detection: it is used to detect the
face of any image which is giving by
users.
Face=detectface (image);
rectangle=face*diag ([1,1,1,0.7]);
e) Eye detection: it detects the both eyes.
ieye=detectlefteye (subface);
f) Zoom Image: we can large size of
image with the help of zoom function.
imshow (image);
// Add two image
IMPLEMENTATION
im1=imread ('..... ');
In the implementation, we use the Call back ()
function which is called the all pages at scilab
GUI.
ims1=imadd (im1,);
imshow (ims1);
GUI Figure creation ()
f=figure
('figure_position',[420,60],'figure_size',[608,6
04],'auto_resize','on','background',[44],'image',
'Graphic window number %d');
// To Remove Scilab graphics menu we need
to use delmenu command to remove menu.
For example
Delmenu (f.figure_id, gettext('File'))
// To callback function ( ) of image page
Function page2_callback (handles)
Exec ('C:\Users\ABC\Desktop\scilab project\
scilab project\imageprocessing.sce',-1)
End function
// Edge detection
im=imread("................ ");
iedge=edge(ig,'prewitt');
imshow(iedge);
RESULTS
Fig 1. Shows the first page of the image application. in this page user can click the page 2 button
and goes to next page.
Fig 2. Shows all the some button of image application. if user click the Zoom , Edge and face detect button
then its result show as like in Fig 3.
Fig 3.a zoom imzge
Fig 3.b. Crop image
Fig 3.c. edge detect
Fig 3.c. Face detection
CONCLUSION
SIP toolbox is a powerful and easy-to-use
provides the environment for quick
development of image processing result. SIP
toolbox is free open source software .so in this
paper we try to develop the GUI application
for image processing by using Scilab platform.
in which we use many function of SIP tool
with help of these function we easily develop
the image as compare to another languages.
REFERENCES
[1] INRIA, “Scilab.” www.scilab.org.
[2] R. Fabbri, “SIP: Scilab image processing
toolbox.” http://siptoolbox. Source forge.net
[3] Michal el Baudin, “Introduction of Scilab”,
Consortium Scilab, 2011.
[4]
The
Scilab
Consortium.
http://www.scilab.org.
Scilab
[5]http://www.scilab.org/support/documentati
on/tutorials.
[6] Gilberto E. Urroz,
“Programming with Scilab”.
Ph.D.,
P.E.,
[7] J.-P. Chancelier, F. Delebecque, C.
Gomez, M. Goursat, R. Nikoukhah, and S.
Steer. Introduction a Scilab, Deuxi-emeEdition.Springer,2007.
Download