image processing techniques 1

96

Upload: 1988sreejith

Post on 23-Dec-2014

1.575 views

Category:

Education


2 download

DESCRIPTION

Image processing techniques project work

TRANSCRIPT

Page 1: Image processing techniques   1
Page 2: Image processing techniques   1
Page 3: Image processing techniques   1

PROJECT PRESENTATIONON

IMAGE PROCESSINGTECHNIQUES

DONE BY, SREEJITH .B (Reg No:08135010)

Page 4: Image processing techniques   1

INTRODUCTION

1. AbstractHARDWARE REQUIREMENTS 1. Software requirements 2. Language descriptionSYSTEM ANALYSIS 1. Proposed systemWORKING STRATERGY

TABLE OF CONTENTS

Page 5: Image processing techniques   1

INTRODUCTION

Page 6: Image processing techniques   1

ABSTRACTABST

Our project topic is “IMAGE PROCESSING TECHNIQUES”. It is a desktop based application. This project aims at creating various effects for processing an image of format .jpg. Our objective is to give a clear outlook about the various operations or effects that can give to an image to change its original look. We select this topic as our project by acquiring motivations from various existing softwares such as Windows Picture Management likewise…We use java net beans as a supporting software while commencing this project. The pixel grabber function in java helps to grab each image into its pixel level.

 

Page 7: Image processing techniques   1

HARDWARE REQUIREMENTS

In order to implement a new system the choice of a processor with maximum possible speed is made there should be sufficient memory to store data and software tools for efficient processing.

Processor : Pentium IV or aboveClock Speed : 800 MHz Main Memory : 256 MB RAMDisk Storage : 80 GB or aboveMonitor : SVGA ColorKey Board : 108 KeysMouse : LogitechFloppy Disk Drive : 3.5 floppy 1.44 MBCompact Disk Drive: 52 x max

Page 8: Image processing techniques   1

SOFTWARE REQUIREMENTS

Operating System : Windows 2000 or aboveFront End : Java Net Beans 6.5

Page 9: Image processing techniques   1

LANGUAGE DESCRIPTION

JAVA

JAVA

Java is the first and foremost an object-oriented programming language. Java is a programming language originally developed by James Gosling at Sun Microsystems. The language derives much of its syntax from C and C++ but has a simpler object model and fewer low-level facilities. Java applications are typically compiled to byte code (class file) that can run on any Java Virtual Machine (JVM) regardless of computer architecture.

Page 10: Image processing techniques   1

Primary characteristics of Java:

The ease with which you can transition to Java from C or C++ and Java’s object-oriented capabilities are not only the advantages, but also Java has some

Other features such as:

•Simple •Object-oriented•Platform-independent•Robust•Secure•Distributed •Dynamic•Portable•Multithreaded

Page 11: Image processing techniques   1

NET BEANS

Net Beans refers to both a platform framework for Java desktop applications, and an integrated development environment (IDE) for developing with Java, JavaScript, PHP etc.The Net Beans IDE is written in Java and runs everywhere where a JVM is installed, including Windows, Mac OS, Linux, and Solaris. A JDK is required for Java development functionality, but is not required for development in other programming languages. Net Beans IDE 6.5, released in November 2008

Page 12: Image processing techniques   1

Features•CSS editor: with syntax highlighting, code completion and preview. •HTML editor with auto completion, syntax highlighting, basic drag and drop CVS, Subversion, •Mercurial integration: I use it e.g. to synchronize the chapters of my current book with Oreille.•JavaScript editor / debug support •The ability to browse the file system and edit files. NB can be used as a generic editor. •Services: Great database viewer with paging, inline editing etc. •UML support (additional 7MB plug-in): really good tool for creating overview diagrams etc.

Page 13: Image processing techniques   1

SYSTEM ANALYSIS

Page 14: Image processing techniques   1

PROPOSED SYSTEM

H The proposed system is designed to meet almost all

The proposed system is designed to meet almost all effects/operations that can given to an image. Here our proposed system entitled “IMAGE PROCESSING TECHNIQUES”. The main feature of this system is very user friendly and user can get a look to all effects easily, and can do all effects to a single image which is directed to display below the effects name mentioned in the menu page and cancel unnecessary effects easily by using cancel button below the image.

Page 15: Image processing techniques   1

Advantages of proposed system

•Simple and more user friendly•More interactive•It avoids time delay •Reliability•Speed•Accuracy•High data security

Page 16: Image processing techniques   1

WORKING STRATERGY

Page 17: Image processing techniques   1

Menu Tree: 

Project     

Home  

Main Menu File

Edit  

Transforms

Effects

Help            

Project

Page 18: Image processing techniques   1

File

Open

Save

Exit

File menu: About menu:

Help

About

About

Page 19: Image processing techniques   1

Transform menu:

Horizontal Mirror

Vertical Stretch

Vertical Mirror

Rotate 180 deg

Rotate 45 deg

Shear

Horizontal StretchTransfor

mTransform

Page 20: Image processing techniques   1

Zoom InTransform

Zoom In

Zoom Out

Central Crop

250%

350%

400%

150%

300%

100%

50%

200%

Page 21: Image processing techniques   1

Effects

Invert

Edge Detect

RedEyeView

Brightness

GreenEyeView

Blur

BlueEyeView

GreyImage

Sharpen

Custom

Page 22: Image processing techniques   1

InvertGrayImage

Edge DetectHorizontal Stretch

MODULE 1

Page 23: Image processing techniques   1

Home Page:

Page 24: Image processing techniques   1

MAIN MENU:

Page 25: Image processing techniques   1

FILE MENU:

Page 26: Image processing techniques   1

OPEN MENU:

Page 27: Image processing techniques   1

LOADING AND SAVING AN IMAGE 

When you select either open or save menu from the file menu the corresponding dialogue box will appear. We can browse to the decide picture using this dialogue box. After selecting the picture we can insert that into our work area by double clicking the picture or clicking the open button in the dialogue box. In the save dialogue box browse to the folder where we want to save our file name it and click save button. Thus it will save in the corresponding folder. 

Page 28: Image processing techniques   1

LOADING IMAGE:

Page 29: Image processing techniques   1

EDIT MENU::

Page 30: Image processing techniques   1

EFFECTS:

Page 31: Image processing techniques   1

FGGGGGGGGREYIMAGE: Grayscale or grayscale digital image is an image in which the value of each pixel is a single sample, that is, it carries only intensity information. Images of this sort, also known as black-and-white, are composed exclusively of shades of gray, varying from black at the weakest intensity to white at the strongest.

Page 32: Image processing techniques   1

GREYIMAGE:

Page 33: Image processing techniques   1

EDGE DETECTION: This filter detects the edges in a filter. For each pixel, It looks a each channel, finds the local gradient and replaces the channel by a value determined by the gradient. Edges become white while flat areas become black. Edge detection filters work essentially by looking for

contrast in an image. 

Page 34: Image processing techniques   1

EDGEDETECT:

Page 35: Image processing techniques   1

INVERT : This filter will invert the alpha channel of an image. This is not normally terribly useful, but has its uses on accession. There are no parameters to this filter. This filter will invert all the pixels in an image, converting it into its photographic negative. It's pretty much the simplest possible filter: To invert a pixel we, simply subtract each color component from 255. It takes apart the red, green, and blue channels and then inverts them by subtracting them from 255.These inverted values are packed back into a pixel value and returned.

Page 36: Image processing techniques   1

INVERT:

Page 37: Image processing techniques   1

Horizontal StretchA horizontal stretching is the stretching of the graph away from the x-axis.

It use affine transformation

Page 38: Image processing techniques   1

HORIZONTAL STRETCH:

Page 39: Image processing techniques   1

About

Page 40: Image processing techniques   1

Help

Page 41: Image processing techniques   1

THANK YOU……

Page 42: Image processing techniques   1
Page 43: Image processing techniques   1

MODULESRed Eye View

Brightness Horizontal Mirror Vertical Stretch

Shear Central Crop

Page 44: Image processing techniques   1

Red Eye ViewColor filters are sometimes classified according to their type of spectral absorption.The most useful thing to do with this filter is to set two colors to -255 in order to strip them and see one color component of an image. Every color has an implicit alpha value of 1.0 or an explicit one provided in the constructor.

Page 45: Image processing techniques   1

Red Eye View

Page 46: Image processing techniques   1

Brightness

Brightness makes the image lighter or darker .It Increase or decrease the brightness of pixels. Low brightness will result in dark tones while high brightness will result in lighter, pastel tones.

Page 47: Image processing techniques   1

Darken

Page 48: Image processing techniques   1

Brighten

Page 49: Image processing techniques   1

Horizontal Mirror Placing the edge of a mirror on the y-axis will form a reflection in the y-axis.This function is used to flip the source image from left to right.

Page 50: Image processing techniques   1

Horizontal Mirror

Page 51: Image processing techniques   1

Vertical StretchA vertical stretching is the stretching of the graph away from the y-axis.

It use affine transformation

Page 52: Image processing techniques   1

Vertical Stretch

Page 53: Image processing techniques   1

wrrrrrrrrrr ShearShearing slides one edge of an image along the X or Y axis, creating a parallelogram. An X direction shear slides an edge along the X axis, while a Y direction shear slides an edge along the Y axis.Here the x shear is take place.

Page 54: Image processing techniques   1

Shear

Page 55: Image processing techniques   1

C - CropCrop means cutting images down to size.

The size of the displayed image has not been effected by the “crop" operation. The actual image itself has been cropped, but the canvas on which the image is displayed is still the same size as the original canvas.

Page 56: Image processing techniques   1

C - Crop

Page 57: Image processing techniques   1

THANK YOU……

Page 58: Image processing techniques   1
Page 59: Image processing techniques   1

Image Processing Techniques.Highly Flexible & Modified.User Friendly.Image processing is the art and science of manipulating digital images.Java language & Net beans Supporting S/w.It is object oriented and can be used for both desktop application.Four viewing window: intro page, work area, about & help.Various effects & transformations are implemented using various algorithm at the pixel level of images.

Page 60: Image processing techniques   1

BlurGreen Eye ViewVertical Mirror

ZoomInZoomOut

MODULES

Done by, Sreejith .B REG:08135010

Page 61: Image processing techniques   1

Green Eye ViewColor filters are sometimes classified according to their type of spectral absorption:

The most useful thing to do with this filter is to set two colors to -255 in order to strip them and see one color component of an image.

The color class is used encapsulate colors in the default RGB color space or colors in arbitrary color spaces identified by a color space.

RGB use 8 bit color representation.

Page 62: Image processing techniques   1

Working Process:

Here for green filter, keep the green component as it is 225 and just subtract 255 from the red component & blue component.

For green filter set RGB values as (1,255,1).

RGB color with the specified red, green & blue values in the range (0 - 255).

Page 63: Image processing techniques   1

Green Eye View

Page 64: Image processing techniques   1

Blur

Blur is often used to reduce within an image or to produce a less pixilated image.Blur method is opposite of sharpen.Blur method are based on low pass filter.Blur other wise know as SMOOTH.

Page 65: Image processing techniques   1

Working Process:

Blur is also usually based on a single value presenting the image, such as the average value of the image or the middle value.

To produce this blur effect, the filter takes the average of the present pixel value and the value of adjacent pixels and set the present pixel to that average value.

Each pixel in the source image gets spread over and mixed into surrounding pixels.

Page 66: Image processing techniques   1

Blur

Page 67: Image processing techniques   1

Vertical Mirror Vertical Mirror is also referred to as creating a mirror of a image & this function is used to flip the source image from top to bottom.

The reflection transformation produces a mirror image of the object with respect to a specified axis, point or line.

If either the x-axis or y-axis is treated as a mirror, the object has a mirror image or reflection.

Since the reflection of an object is located at the same distance from the mirror axis the original image from the axis.

This reflection is also know as GLIDE REFLECTION

Page 68: Image processing techniques   1

Working Process:The reflection operator geometrically transforms an image such that image element i.e. pixel values, located at position (x1,y1) in an original image are reflected about a user-specified image axis or image point into a new position (x2,y2) in a corresponding output image.

A glide reflection is a transformation in the plane that is the composition of a line reflection and a translation through a line (a vector) parallel to that line of reflection.

Page 69: Image processing techniques   1
Page 70: Image processing techniques   1

Vertical Mirror

Page 71: Image processing techniques   1

ZoomZoom is a transformation that effectively scales down or blows up a pixel map or a position of it with the instruction.

Zoom can be classified into two: ZOOM INZOOM OUT

Page 72: Image processing techniques   1

Working Process:To resizing an image arbitrarily the easiest way to do it is to calculate a factor for the difference between the source and destination in both x and y axis, then use that factor of figures out which pixel on the source image maps to the color being placed on the destination image.

The modified (zoomed image) should be the same size as the original image; in a zoomed image the specified portion of the original image now fills the entire image window.

Page 73: Image processing techniques   1

Zoom In

Page 74: Image processing techniques   1

Zoom Out

Page 75: Image processing techniques   1

THANK YOU……

Page 76: Image processing techniques   1
Page 77: Image processing techniques   1

BlueEyeViewSharpenCustomRotate AboutHelp

MODULES

Page 78: Image processing techniques   1

Color filters are sometimes classified according to their type of spectral absorption.

The most useful thing to do with this filter is to set two colors to -255 in order to strip them and see one color component of an image. For example, for blue filter, keep the red component as it is and just subtract 255 from the green component and red component.

The Color class is used encapsulate colors in the default RGB color space or colors in arbitrary color spaces identified by a ColorSpace.

BlueEyeView

Page 79: Image processing techniques   1

BlueEyeView

Page 80: Image processing techniques   1

Subjective quality of an image indicating clear or distinct reproduction of detail: associated with resolution and contrast. Edge enhancement is an extremely common technique used to make images appear sharper.To sharpen the image is very similar to finding edges, add the original image, and the image after the edge detection to each other, and the result will be a new image where the edges are enhanced, making it look sharper.ConvolveOP convolution filter that applies a given kernel operator to the image data for effect such as sharpening.  

Sharpen

Page 81: Image processing techniques   1

Sharpen

Page 82: Image processing techniques   1

Custom

We can do the same trick to make light rays appear to come out of an object, only this time making the shadow color white and using a zoom blur instead of the ordinary blur, then adding the result on top of the original.

Also custom effect reduces the clarity of an image.

Also custom effect change the order of pixel elements and effect is distortion

Page 83: Image processing techniques   1

Custom

Page 84: Image processing techniques   1

Transform attribute in the Graphics2D context to move, rotate, scale, and shear graphics primitives when they are rendered.

The transform attribute is defined by an instance of the AffineTransform class. An affine transform is a transformation such as translate, rotate, scale, or shear in which parallel lines remain parallel even after being transformed.

The rotate operation rotates an image about a given point by a given angle.

Rotate 45Deg

Page 85: Image processing techniques   1

Rotate 45Deg

Page 86: Image processing techniques   1

Rotate 180DegAffine transformations algorithm is used for

Rotating an Image

Affine transformations are one of the least complicated operations that can be performed in image processing It rorates image in 180Deg

Affine transformations is simply a change in the pixels positions or order.

Page 87: Image processing techniques   1

Rotate180Deg

Page 88: Image processing techniques   1

Rotate 270DegAffine transformations algorithm is used for

Rotating an Image

Affine transformations are one of the least complicated operations that can be performed in image processing

A negative rotation value rotates the image counter-clockwise, while a positive rotation value rotates the image clockwise

Page 89: Image processing techniques   1

Rotate270Deg

Page 90: Image processing techniques   1

The rotate operation rotates an image about a given point by a given angle

Also affine transform is used to rotate an image in 90Deg

The rotate operation rotates an image about a given point by a given angle.

Rotate90Deg

Page 91: Image processing techniques   1

Rotate90Deg

Page 92: Image processing techniques   1

The about page is used to give information about

Product IdProduct versionLicense typeDevelopersDeveloping center and Details of the project

About

Page 93: Image processing techniques   1

About

Page 94: Image processing techniques   1

Help

Page 95: Image processing techniques   1

Help

Page 96: Image processing techniques   1

THANK YOU……