Professional Documents
Culture Documents
Smoothening/Averaging a image
Gradient operators
Run favorite programs with one keystroke from within Image Viewer
History
Services
• Products.
• Modernize existing Processes & Methods.
• Migrate Legacy Systems into New Platforms.
• Software re-engineering.
• Design and Maintain Client System.
• Design and Maintain Web Applications.
Infrastructure
• Communication
Benefits
Software Facility
• 2 Internet access channels with 512 and 256 Mbit/s per channel
Projects
The projects undertaken are based on intranet, internet, application etc.
focused on particular domains. The company develops software for the
clients, act as a consultancy and also give
SYSTEM STUDY
Introduction
Existing System
• Easy understandability
• User friendly
Benefits
Smoothening/Averaging a image
Converting a grey scale image to a Black White image
Bit reducing in a image
True Full Screen viewer with image zoom support and
unique fly-out menu panels
SYSTEM SPECIFICATION
Visual Basic. Net provides the easiest, most productive language and tool for
rapidly building windows and web applications. VB.Net is a Microsoft platform for XML
web services which allow application to communicate and share data over the internet
regardless of the operating system or programming language used.VB.Net comes with
enhanced visual designers, increased application performance integrated
environment(IDE).
BASIC FEATURES
• Vb.Net comes with a powerful new form designer and in-place menu editor and
automatic control anchoring and docking.
• The .Net framework has a foundation on which one can design, develop and deploy
application.
• VB.Net delivers new productivity features for building more robust application easily
and quickly.
• Using ADO.Net, VB.Net can gain high-speed access to MS SQL server, Oracle, DB2,
Ms-access and more.
• COM interoperability offers seamless bi-directional communication between VB6.0
and VB.Net application.
• VB.Net features include full implementation of inheritance, encapsulation and
polymorphism.
• VB.Net framework offers integrated support for developing mobile web application
and supports a broad range of web services.
• VB.Net provides role-based and code-access security. It also provides easy plugins.
VB.Net comes with an enhanced HTML editor for working with complex web pages.
System design specification
User interface
Design
FUNDAMENTALS OF DESIGN CONCEPTS
3.3DESIGN NOTATIONS
A Context Analysis Diagram (CAD) consists of data flows, entities and only
one process. The input like user communication details, message details and the output
like reports being generated. The CAD of the system “Project Team Data Mining” is
shown in Fig 2.3.1.
BEHAVIORAL MODEL
DATA MODEL
Entity Relationship Diagram (ERD) is a model that describes the store layout of
a system at a high level abstraction. ER-Diagram enables to examine and highlight the
data structures and relationships between data stores in DFD. The relationship between
entity sets is represented by ER relations.
The ERD for the system “Project Team Data Mining” is shown in the Fig 2.5.1 using the
following conventions.
INPUT DESIGN
A screen is an actually a display station that has a buffer for storing data. The main
objective of screen design is for simplicity, accurate and quick data capture or entry.
OUTPUT DESIGN
End Sub
End Sub
#End Region
#Region "Declarations"
Dim pp As New frm_PrintPreview()
#End Region
#Region "Methods"
'''
-----------------------------------------------------------------------
------
''' <summary>
''' This method will be used by the program to Export Image in
Different Formats
''' e.g. in JPG, GIF, BMP & PNG.
''' </summary>
''' <remarks>
''' Used PictureBox.Image's Save Property.
''' </remarks>
''' <history>
''' [Admin] 4/28/2007 Created
''' </history>
'''
-----------------------------------------------------------------------
------
Sub ExportImage()
With sdlg
Case 1
Me.Dimg.Image.Save(sdlg.FileName, ImageFormat.Jpeg)
Case 2
Me.Dimg.Image.Save(sdlg.FileName, ImageFormat.Gif)
Case 3
Me.Dimg.Image.Save(sdlg.FileName, ImageFormat.Bmp)
Case 4
Me.Dimg.Image.Save(sdlg.FileName, ImageFormat.Png)
End Select
End If
End Sub
'''
-----------------------------------------------------------------------
------
''' <summary>
''' This method will be used by the program to Fit the image in the
editor.
''' </summary>
''' <remarks>
''' </remarks>
''' <history>
''' [Admin] 4/28/2007 Created
''' </history>
'''
-----------------------------------------------------------------------
------
Sub FitImage()
Me.Dimg.Width = Me.pnlimg.Width
Me.Dimg.Height = Me.pnlimg.Height
CenterImage()
End Sub
'''
-----------------------------------------------------------------------
------
''' <summary>
''' This method will be used by the program to fill the Panels
''' of Status Bar present in frm_Editor.
''' </summary>
''' <remarks>
''' </remarks>
''' <history>
''' [Admin] 4/28/2007 Created
''' </history>
'''
-----------------------------------------------------------------------
------
Sub FillPanels()
Me.pnlName.Text = imgName
End Select
Me.pnlCount.Text = imgsCurnCnt
'Time to load
Dim RunLength As System.TimeSpan = Now.Subtract(StartTime)
Dim Millisecs As Integer = RunLength.Milliseconds
'Convert it to secs
Dim secs As Integer = Millisecs / 1000
With open
End With
Me.Dimg.Image = Image.FromFile(open.FileName)
imgPath4mlvimgs = open.FileName
End If
CenterImage()
End Sub
'''
-----------------------------------------------------------------------
------
''' <summary>
''' This method will be used by the program to Zoom in the Image in
the Editor.
''' </summary>
''' <remarks>
''' This method will Zoom In the Image as well as keep it in center.
''' </remarks>
''' <history>
''' [Admin] 4/28/2007 Created
''' </history>
'''
-----------------------------------------------------------------------
------
Sub ZoomInImage()
FullImage()
Me.Dimg.Width = CInt(Me.Dimg.Width * 1.25)
Me.Dimg.Height = CInt(Me.Dimg.Height * 1.25)
Me.Dimg.SizeMode = PictureBoxSizeMode.StretchImage
CenterImage()
End Sub
'''
-----------------------------------------------------------------------
------
''' <summary>
''' This method will be used by the program to Zoom out the Image
in the Editor.
''' </summary>
''' <remarks>
''' This method will zoom out the image as well as keep it in
center.
''' </remarks>
''' <history>
''' [Admin] 4/28/2007 Created
''' </history>
'''
-----------------------------------------------------------------------
------
Sub ZoomOutImage()
FullImage()
Me.Dimg.Width = CInt(Me.Dimg.Width / 1.25)
Me.Dimg.Height = CInt(Me.Dimg.Height / 1.25)
Me.Dimg.SizeMode = PictureBoxSizeMode.StretchImage
CenterImage()
End Sub
'''
-----------------------------------------------------------------------
------
''' <summary>
''' This is the main method for keeping the image in center.
''' </summary>
''' <remarks>
''' This is the main method for keeping the image in center.
''' </remarks>
''' <history>
''' [Admin] 4/28/2007 Created
''' </history>
'''
-----------------------------------------------------------------------
------
Sub CenterImage()
End Sub
'''
-----------------------------------------------------------------------
------
''' <summary>
''' This method will be used by the program to Display the Image in
its Full Size.
''' </summary>
''' <remarks>
''' This method will display the image in its full size.
''' </remarks>
''' <history>
''' [Admin] 4/28/2007 Created
''' </history>
'''
-----------------------------------------------------------------------
------
Sub FullImage()
CalculateAspectRatioAndSetDimensions()
CenterImage()
End Sub
#End Region
#Region "Functions"
'''
-----------------------------------------------------------------------
------
''' <summary>
''' This Function will be used by the program to Calculate the
Aspect Ratio and setting Image's
''' Dimensions.
''' </summary>
''' <returns>Double</returns>
''' <remarks>
''' This method will be used to Calculate the Aspect Ratio and
setting Image's
''' Dimensions.
''' </remarks>
''' <history>
''' [Admin] 4/28/2007 Created
''' </history>
'''
-----------------------------------------------------------------------
------
Private Function CalculateAspectRatioAndSetDimensions() As Double
' Calculate the proper aspect ratio and set the image's
dimensions.
Dim ratio As Double
If Dimg.Image.Width > Dimg.Image.Height Then
ratio = Dimg.Image.Width / _
Dimg.Image.Height
Dimg.Height = CInt(CDbl(Dimg.Width) / ratio)
Else
ratio = Dimg.Image.Height / _
Dimg.Image.Width
Dimg.Width = CInt(CDbl(Dimg.Height) / ratio)
End If
Return ratio
End Function
#End Region
#Region "Events"
Me.Close()
End Sub
Me.Dimg.Refresh()
DisplayImage()
FillPanels()
Me.pnlCount.Text = ""
Me.Cursor = Cursors.Default
Me.crop.Pushed = False
Me.Scroll.Pushed = False
Me.pnlHelp.Text = ""
Case 1 'save
Me.Dimg.Refresh()
ExportImage()
Me.Cursor = Cursors.Default
Me.Scroll.Pushed = False
Me.crop.Pushed = False
Me.pnlHelp.Text = ""
Case 2 'print
Me.Dimg.Refresh()
pp.ppc.Document = Me.imgPD
pp.ShowDialog()
Me.Cursor = Cursors.Default
Me.Scroll.Pushed = False
Me.crop.Pushed = False
Me.pnlHelp.Text = ""
Case 3 'sep
Case 4 'zoom in
Me.Cursor = Cursors.Default
Me.Dimg.Refresh()
ZoomInImage()
Me.Scroll.Pushed = False
Me.crop.Pushed = False
Me.pnlHelp.Text = ""
Me.Dimg.Refresh()
Me.Cursor = Cursors.Default
ZoomOutImage()
Me.Scroll.Pushed = False
Me.crop.Pushed = False
Me.pnlHelp.Text = ""
Case 6 'zoom
Me.Dimg.Refresh()
Me.Cursor = Cursors.Default
Me.Scroll.Pushed = False
Me.crop.Pushed = False
Me.pnlHelp.Text = ""
Case 7 'sep
Case 8 'scroll
Me.Dimg.Refresh()
If Me.Scroll.Pushed = False Then
Me.Cursor = New Cursor(Application.StartupPath &
"\scr.cur")
Me.Scroll.Pushed = True
Else
Me.Cursor = Cursors.Default
Me.Scroll.Pushed = False
End If
Me.crop.Pushed = False
Me.pnlHelp.Text = ""
Case 9 'crop
Me.crop.Pushed = True
'displayCropRec()
Else
Me.crop.Pushed = False
Me.Dimg.Refresh()
End If
Me.Scroll.Pushed = False
Me.Cursor = New Cursor(Application.StartupPath &
"\crop.cur")
Case 10 'sep
Case 11 'Resize
Me.Dimg.Refresh()
Me.Scroll.Pushed = False
Me.crop.Pushed = False
Me.pnlHelp.Text = ""
Case 13
Me.Dimg.Refresh()
Dim flip As New frm_Flip()
flip.FImg.Image = Me.Dimg.Image
flip.ShowDialog()
Me.Cursor = Cursors.Default
Me.Scroll.Pushed = False
Me.crop.Pushed = False
Me.pnlHelp.Text = ""
Case 14
'sep
Case 15
Me.Dimg.Refresh()
If MessageBox.Show("Do you really want to delete " &
imgName & " ?", "Image Factory", MessageBoxButtons.YesNo,
MessageBoxIcon.Question) = DialogResult.Yes Then
Me.Dimg.Image = Nothing
pimg.Dispose()
img.Dispose()
File.Delete(imgPath4mlvimgs)
End If
Me.Cursor = Cursors.Default
Me.crop.Pushed = False
Me.Scroll.Pushed = False
Me.pnlHelp.Text = ""
Case 16
Me.Dimg.Refresh()
Me.Cursor = Cursors.Default
Me.Scroll.Pushed = False
Me.crop.Pushed = False
Me.pnlHelp.Text = ""
Case 17
'sep
Case 18
Dim ab As New frm_About()
ab.ShowDialog()
Me.pnlHelp.Text = ""
Case 19
Me.Dimg.Refresh()
Me.Close()
Me.Cursor = Cursors.Default
Me.Scroll.Pushed = False
Me.crop.Pushed = False
End Select
End Sub
Private Sub frm_Editor_Load(ByVal sender As Object, ByVal e As
System.EventArgs) Handles MyBase.Load
FullImage()
FillPanels()
ZoomInImage()
End Sub
Me.Dimg.Refresh()
Me.Dimg.Invalidate()
CenterImage()
End Sub
'''
-----------------------------------------------------------------------
------
''' <summary>
''' This method will be used by the program to position the image
on the paper
''' so that it can be printed according to user's adjustment.
''' </summary>
''' <param name="e"></param>
''' <remarks>
''' </remarks>
''' <history>
''' [Admin] 4/28/2007 Created
''' </history>
'''
-----------------------------------------------------------------------
------
Sub RefreshImage(ByVal e As
System.Drawing.Printing.PrintPageEventArgs)
End Sub
DisplayImage()
FillPanels()
Me.pnlCount.Text = ""
Me.Cursor = Cursors.Default
End Sub
ExportImage()
Me.Cursor = Cursors.Default
End Sub
pp.ppc.Document = Me.imgPD
pp.ShowDialog()
Me.Cursor = Cursors.Default
End Sub
The philosophy behind the testing is to find the errors. A good test is one that has a
high probability of finding an undiscovered error. A successful test is one that uncovers
the undiscovered errors. Test cases are devised with this purpose in mind. A test case is a
set of data that the system will process as an input. However the data are created with the
intent of determining whether the system will process them correctly without any errors
to produce the required output.
The testing phase, an unavoidable `part of software development promotes error
detection, a complete verification determining whether the objectives and the user
requirements are fulfilled. The system test is based on the following:
PROGRAM TESTING
Program testing promotes an error free program by correcting syntax and logical
error. When a program is tested the actual output is compared with the expected output.
When there is a dispensary the sequence of the instruction must be traced to determine
the problem.
INTEGRATION TESTING
In integration testing all modules are clipped under the major module and tested
again to verify the results. A module can have inadvertent, adverse affect on any other or
on the global data structure, causing serious problems. A problem arising due to the poor
interfacing such as data loss is corrected in this phase.
SEQUENTIAL OR SERIES TESTING
Sequential or series testing is checking the logic of one or more programs in the
candidate system, when the output of one program will affect the processing done by
other program.
SYSTEM TESTING
System testing, the final step uncovers the weakness not found in early stages.
This involves validation and testing which determines whether the software functions
such as the user expect it. Modifications are made so that the completion phase it satisfies
the end-user.
There should be careful planning of how the system will be provoked and the
test data design. The system analyst should be quiet clear about the test objectives.
System test data can rarely be compressive enough to test the system fully. Some aspects
of the system will have to be tested using live operation.
SYSTEM MAINTANANCE AND IMPLEMENTATION
System implementation is stage in the project whether the theoretical design is
turned into the working system. It is the process of converting a new system into
operation. The implementation phase of the software development is concerned with
translating design specification into source code. The most crucial stage is giving the
users confidence that the system will work effectively and efficiently.
The implementation phase of the software needs specific skills responsible for
effective implementation. The skills may fall in the area of languages, tools of
development and the new emerging technologies and its application. The performance of
reliability of the system is tested and it gained acceptance. The software reliability is the
ability of a program to perform a required function under a stated condition for a stated
period of time. Thus the system was implemented successfully.
Proper implementation is essential to provide a reliable system to meet
organizational requirements. During the implementation stage a live demon was
undertaken and made in front of end users. The implementation is a stage of project when
the system design is turned into a working system.
5. CONCLUSION
The main objective defined has been achieved successfully. The implementation has been
done in step-by-step process. Each module has been developed and tested. The system has been
designed and runner to satisfy the requirement of the respective organization.
The system is developed in a self-documentary way, which would help any programmer to
analyze it and incorporate enhancement to it. In future, some minor modification can be made
according to the user requirements. The system will be more flexible, reliable and easy way to
understand, since the data are simplified and standardized and error can be greatly controlled.
SCOPE FOR FURTHER ENHANCEMENT
Advantages
Books Referred:
Websites:
1. www.msdn.microsoft.com
2. www.vbcity.com
3. www.vbdotnetheaven.com
4. www.codeguru.com