Software Requirements CBIR
Software Requirements CBIR
Page 2
Software Requirements
Specification
for
Approved
<Internal Guide>
Prepared by
<Student Name>
<Reg Number>
<Date created>
Page 2
Table of Contents
1.Introduction............................................................................................................................... 3
1.1Purpose ...................................................................................................................................3
1.2Document Conventions..............................................................................................................3
1.3Intended Audience and Reading Suggestions ..............................................................................3
1.4Project Scope...........................................................................................................................3
1.5References...............................................................................................................................3
2.Overall Description.................................................................................................................... 3
2.1Product Perspective ...................................................................................................................4
2.2Product Features.......................................................................................................................4
2.3User Classes and Characteristics.................................................................................................4
2.4Operating Environment ..............................................................................................................4
2.5Design and Implementation Constraints......................................................................................4
2.6User Documentation..................................................................................................................4
2.7Assumptions and Dependencies .................................................................................................4
Page 2
1. Introduction
1.1 Purpose
The SRS is a technical specification of requirements for the software products. The goal of
software requirement definition is to completely and consistently specify the technical
requirements for the software product in a concise and unambiguous manner.
Thus, the purpose of this document is to describe the external requirements for the research
and development of visual feature descriptors for content based image retrieval. It is a
culmination of requirements that arose at the various phases of development
Developer: The developer who wants to read, change, modify or add new requirements
into the existing program, must firstly consult this document and update the
requirements with appropriate manner so as to not destroy the actual meaning of them
and pass the information correctly to the next phases of the development process.
User: The user of this program reviews the diagrams and the specifications presented in
this document and determines if the software has all the suitable requirements and if the
software developer has implemented all of them.
Tester: The tester needs this document to validate that the initial requirements of this
programs actually corresponds to the executable program correctly.
For each one of the reader types to better understand this document, here is a suggestion of the
chapters to read in this document:
Page 2
Military: locating and recognizing remotely sensed objects, interpreting satellite data.
Crime prevention and Security Check: Automatic face recognition systems, finger print or
retina scanning for access privileges.
Medical Diagnosis: Using CBIR in a medical database of medical images aid diagnosis
by identifying similar past cases.
1.5 References
This citation is used as a model of reference: [IEEE Std 830-1998]
Page 2
2. Overall Description
2.1 Product Perspective
Due to the rapidly growing amount of digital image data on the Internet and in digital libraries,
there is a great need for large image database management and effective image retrieval tools.
Content-based image retrieval (CBIR) is the set of techniques for searching for similar images
from an image database using automatically extracted image features. Tremendous research
has been devoted to CBIR and a variety of solutions have been proposed within the past ten
years. ."Content-based" means that the search will analyze the actual contents of the image.
The term 'content' in this context might refer colors, shapes, textures, or any other information
that can be derived from the image itself. Without the ability to examine image content,
searches must rely on metadata such as captions or keywords, which may be laborious or
expensive to produce.
Content Based Image Retrieval (CBIR) provides efficient and effective means to extract most
similar images stored in the database based on image contents. It is a technique which aims at
retrieving images which are perceptually and semantically meaningful by making the best use of
a single or combination of visual content descriptors. The major steps are feature extraction and
similarity comparison.
Most current content-based image retrieval systems are still incapable of providing users with
their desired results. The major difficulty lies in the gap between low-level image features and
high-level image semantics. To address the problem, this study reports a framework for effective
image retrieval by employing a novel idea of visual feature extraction and comparison. The
presented algorithm has been integrated into a practical image retrieval system.
Software Interfaces
JDBC API
User Interface
Web Pages
Bellow in figure 1 you can see the schema of the client-server relationship of the system.
WEB SERVER
Retrieve Content
Based Matching
Images
Upload a
search image
CLIENT
Figure1
Page 2
Page 2
Cross platform support: Offers operating support for most of the known and commercial
operating systems
Web Support: The product offers usability in a intranet and internet system
Search: The CBIR software offers image based search and retrieval
System Actors:
Client :The client is the system that connects to the server and handles the query based
on the session and finally submits the information back to the server.
Server :The server is the system that accepts multiple connections from clients and
serves the results.
Apple Mac OS X
Linux/Unix
Microsoft Windows
Page 2
common protocol for internet applications. Performance and extensibility must be taken care of
while developing the system.
Page 2
3. System Features
3.1 Client Interface
3.1.1 Description and Priority
The code is implemented to design a client application in the form of web pages to allow the
user to do a image search. In traditional image search, only keywords are used for searching. In
this module, we design a interface with the option to select a input image that is going to act as
the search content. The input image can be selected and uploaded by the user for the server
code to compare and search from the database of images. This is a high priority feature.
REQ-2:
The feature also requires that the user is able to select an image in jpg format and upload to the
server for further search.
Page 2
REQ-2:
The feature also requires that the user is able to select an image in jpg format and upload to the
server for further search.
Page 2
This feature is the main functionality associated with the system. The stimulus is from the server
after the user opens the browser and submits an image for search. The application responds
with comparing, ranking and displaying the matching images.
Page 2
Page 2
6. Other Requirements
NA
Page 2
Appendix A: Glossary
BMP - Bitmap
CBIR - Content Based Image Retrieval
DWT - Discrete Wavelet Transform
GUI - Graphical User Interface
HTML Hyper text markup language
HTTP Hyper text transfer protocol
JAI - Java Advanced Imaging
JDBC - Java Database Connectivity
JPG Joint Photographic Experts Group
JRE - Java Runtime Environment
JSP Java Server Pages
PC Personal Computer
RAM - Random Access Memory
RDBMS - Relational Database Management System
SRS - Software Requirement Specification
SQL - Structured Query Language
Page 2
Page 2
CLIENT
USER
SELECT QUERY
IMAGE
RETRIEVE MATCHING
IMAGES
RANK IMAGES
DISPLAY RANKED
SEARCH RESULT
SERVER
IMAGE
DATABASE
Page 2
User
View
db
images
Add
new
catego
ry
Catego
ry
Upload
query
image
Add
new
image
create
category
folder on
server
imagedb
Visual
feature
extraction
Upload
image
to
catego
ry
folder
Visual
feature
Image
Search
Gener
ate
visual
feature
Comp
are
visual
featur
es
Display
matche
d image
View
extracte
d visual
features
Page 2
Start
Stop