Professional Documents
Culture Documents
Image Processing
Image Processing
Abstract:
Image processing is technique which involves different operation that can be performed
on image. Image processing plays vital role in photography, computer science and many other
fields. This project is mainly concerned with basic operations on image. So that user can get
required visual apperance.
Vision 2K9
Page 1
Python
Contents:
Vision 2K9
Page 2
Python
Sr.No.
Title
Page No.
Abstract
Introduction
Scope
Objectives
Implementation
Advantages
10
Application
11
Reference
11
INTRODUCTION:
Image processing is one form of signal processing for which the input is an image,
such as photographs or frames of video; the output of image processing can be either an image or
Vision 2K9
Page 3
Python
a set of characteristics or parameters related to the image. Most image-processing techniques
involve treating the image as a two-dimensional signal and applying standard signal-processing
techniques to it.
Image processing modifies pictures to improve them (enhancement, restoration), extract
information (analysis, recognition), and change their structure (composition, image editing).
Images can be processed by optical, photographic, and electronic means, but image processing
using digital computers is the most common method because digital methods are fast, flexible,
and precise.
In this project we are providing different image processing tool with GUI so it makes
easy for user to give desired effects to image. Here we have used Python Image Processing
Library. Python was invented by Python, Guido van Rossum Python is a interpreted ,
interactive,dynamic object-oriented programming language that can be used for many kinds of
software development. It offers strong support for integration with other languages and tools,
comes with extensive standard libraries, and can be learned in a few days. Many Python
programmers report substantial productivity gains and feel the language encourages the
development of higher quality, more maintainable code. Python runs on Windows, Linux/Unix,
Mac OS X, OS/2, Amiga, Palm Handhelds, and Nokia mobile phones. Python has also been
ported to the Java and .NET virtual machines.
The language comes with a large standard library that covers areas such as string
processing (regular expressions, Unicode, calculating differences between files), Internet
protocols (HTTP, FTP, SMTP, XML-RPC, POP, IMAP, CGI programming), software
engineering (unit testing, logging, profiling, parsing Python code), and operating system
interfaces (system calls, filesystems, TCP/IP sockets)
Probably tens of thousands of users, though it's difficult to obtain an exact count decided
to use the language Python.
Vision 2K9
Page 4
Python
Scope:
Image processing is blooming technology. Image processing has lot of application in
different fields like medical, computer science etc. In this project we have implemented some of
the image processing operations which will help the user to understand the concept of image
processing. Therefore the scope of this and such projects is increasing.
Objectives:
1. The purpose of this project is to allow users to explore how digitized images can be
image enhancement
3. GUI provides better interaction between user & system.
4. The user can manipulate the image with desired look.
Implementation:
This project uses Python Image Processing Library (PIL). The Python Imaging Library
adds image processing capabilities to Python interpreter. This library provides extensive file
format support, an efficient internal representation, and fairly powerful image processing
capabilities.The core image library is designed for fast access to data stored in a few basic pixel
Vision 2K9
Page 5
Python
formats. It should provide a solid foundation for a general image processing tool.The Python
Imaging Library is ideal for image archival and batch processing applications.The current
version identifies and reads a large number of formats. The current release includes
TkPhotoImage and BitmapImage interfaces, that can be used with PythonWin and other
Windows-based toolkits. Many other Graphics User Interface (GUI) toolkits come with some
kind of PIL support. There's a histogram method allowing you to pull some statistics out of an
image. This can be used for global statistical analysis.
The GUI uses TKinter module of PIL. The Tkinter module ("Tk interface") is the
standard Python interface to the Tk GUI toolkit from Scriptics (formerly developed by Sun
Labs).Both Tk and Tkinter are available on most Unix platforms, as well as on Windows and
Macintosh systems. Starting with the 8.0 release, Tk offers native look and feel on all platforms.
Tkinter consists of a number of modules. GUI has made computers much easier to work with
them.
By using Python Image Processing Library we can give different effects to images like
inversion, cropping, pasting rotating image, flipping image using different methods ,converting
image to different modes ,image filtering, image enhancement, drawing different geometrical
shapes on image, taking screen shots, converting image to mirror image, posterized , solarized
image, gray scale image, black and white image ,expanding equalizing deforming colorizing,
fitting image in frame, brightening, sharpening, darkening the image etc.
Here are some screen shots for different image processing operations :
1)Emboss effect:Before operation :
Vision 2K9
After operation:
Page 6
Python
After operation:
Vision 2K9
After operation:
Page 7
Python
After operation:
Vision 2K9
Page 8
Python
Advantages:
1. Improving visual appearance of image to human viewer.
2. Preparing images for measurement of features & structure present.
Vision 2K9
Page 9
Python
3. User friendly software.
4. Typical reason to use the GUI tools are to save time and energy to get quick answer and
get your job done.
5.Photo manipulation is the application of image editing techniques to photographs in
order to create an illusion or deception (in contrast to mere enhancement or
correction),
6. Non photorealistic rendering focuses on enabling a wide variety of expressive styles for
digital art.
Application:
This project can be used in photography.
Vision 2K9
Page 10
Python
Reference:
Books:
1.bject Oriented Programming in Python
By Michael H.Goldoldwasser & David Letscher.
2. An Introduction To Python
By Guido Van Rossum & Fred L. Darke.
3. Core Python Programming
By Wesley J.Chun.
4.Learning Python
By Mark Lutz.
Websites:
www.python.org
www.pythonware.com
Vision 2K9
Page 11
Python
Vision 2K9
Page 12