SlideShare a Scribd company logo
1 of 14
Download to read offline
5/31/2014
Assignment - 05
Using MATLAB
Submitted To: Sir. Imran Ali Memon
Subject: Geo-Informatics
Submitted By: Atiqa Ijaz Khan
Roll No: Geol-02
MPhil Geomatics
Institute of Geology, university of the Punjab
Page 1 of 13
ASSIGNMENT - 05
Question.1:
Differentiate the following Matlab commands with example and write shortly about
their application and characteristics.
1. Imshow
It is used to display an image. It tried to fit the image onto the screen. But if is too large
it shows a warning message. It scales an image by using interpolation to re-fit for display.
One can show two images on a same figure plot by ‘imshow’. In comparison to
‘imtool’, ‘imshow’ dose not display automatic pixel values at the bottom.
‘Imshow’ can display images by passing:
 Image URL, if not in the current folder,
 Complete image name if in the current folder, and,
 Variable name in which image is stored previously.
2. Geoshow
It projects and displays the latitude and longitude vectors using projection stored in the
axes. Of not, then it display in the default Plate Carree projection.
To use ‘geoshow’, function ‘shaperead’ must include ‘‘UseGeoCoords’, true’. Otherwise
it will create a mapstruct, with X and Y, without lat and long.
It can go with: points, multipoints, lines, and, polygons
Not a current
folder
Stored in
Workspace
Page 2 of 13
ASSIGNMENT - 05
Displays the lat and long instead
of XY
Page 3 of 13
ASSIGNMENT - 05
Page 4 of 13
ASSIGNMENT - 05
3. Mapshow
It display map coordinate xy vectors. The default is to show in lines. If use ‘geoshow’
instead, it will show a warning message in the command window. But displays the
image using ‘mapshow’
XY instead of
lat and long
Page 5 of 13
ASSIGNMENT - 05
Question No.2:
The edge command is used to find edges in intensity image. Use this command on a
image with different parameters and edge techniques. Write down about the differences
and application of all variants of edge command.
Edge detection is an image processing technique for finding the boundaries of objects
within images. It works by detecting discontinuities in brightness. Edge detection is used
for image segmentation and data extraction in areas such as image processing, computer
vision, and machine vision. It let you identify object boundaries in an image.
Common edge detection algorithms include Sobel, Canny, Prewitt, and Roberts
methods.
1st
Method (General Syntax):
>> D = imread('D.jpg');
>> G = rgb2gray(D);
>> E = edge(G);
Page 6 of 13
ASSIGNMENT - 05
2nd
Method (Sobel):
>> E = edge(I, 'sobel');
>> imshow(E)
It returns those points where gradient of image is maximum.
By default, ‘edge’ uses the technique ‘sobel’ to detect the edges of an image. It will
display edges for a binary image and gray image. But no for 3D images like, rgb.
3rd
Method (Prewitt):
>> E = edge(I, 'prewitt');
>> imshow(E)
4th
Method (Roberts):
>> E = edge(I, 'roberts');
>> imshow(E)
Page 7 of 13
ASSIGNMENT - 05
5th Method (Laplacian of ):
>> E = edge(I, 'log');
>> imshow(E)
6th
Method (Zero-cross):
>> E = edge(I, 'zerocross');
Page 8 of 13
ASSIGNMENT - 05
>> imshow(E)
7th
Method (Canny):
>> E = edge(I, 'canny');
>> imshow(E)
Page 9 of 13
ASSIGNMENT - 05
Sr.
No
Algorithms Methods Merits De-merits
01. Sobel
Uses 3*3 mask,
separately on x-y axis
Most common 1st
order, simple
Sensitive to noise.
02. Prewitt
It’s done by
averaging filter and
1st
order
differentiation
Simple 1st
order
technique
Less accurate,
sensitive to noise.
03. Roberts
Perform 2*2 mask on
2D spatial gradient
measurement on an
image
Basic 1st order
technique,
Sensitive to noise,
not for 3D images.
04.
LoG
(Laplacian
of
Gaussian)
Use 3*3 mask with
central value to be
+ve, while all other
are –ve, so to have
the sum = 0. Applied
on 2D isotropic
measurements of 2nd
derivative.
Test wide area
around pixels, find
correct places of
edges, highlights
the region of rapid
intensity changes,
and show dark
and white line
along the BLOB.
Not good at curves
and corners, for
good results apply
it to already
smoothen images,
and is independent
of directions.
05. Canny
Use Gaussian filter,
to find out the
maxima threshold
(white), and non-
maxima (black),
incorporating the
directions.
Most Better
powerful,
detection in noise
conditions,
Complex
computations.
Edge Detection Algorithms
Classical-Directional (1st Order)
Sobel Prewitt Roberts
Zero-
crossing
Laplacian
2nd
Directioanl
Derivative
LoG Gaussian
Canny
Shen_Cast
an
Page 10 of 13
ASSIGNMENT - 05
Question No.3:
What is world file. Write its extensions and structure of the file, the command to read
and write a world file in Matlab.
A world file is a plain text computer data file used by geographic information
systems to geo-reference raster map images. The file specification was introduced by
ESRI.
The world file adds extension of ‘w’ with the normal used extensions, like tif to tfw.
World files do not specify a coordinate system; this information is generally stored
somewhere else in the raster file itself or in another companion file. The generic
meaning of world file parameters are:
 Line 1: A: pixel size in the x-direction in map units/pixel.
 Line 2: D: rotation about y-axis.
 Line 3: B: rotation about x-axis.
 Line 4: E: pixel size in the y-direction in map units, almost always negative.
 Line 5: C: x-coordinate of the center of the upper left pixel.
 Line 6: F: y-coordinate of the center of the upper left pixel.
A better description of the A, D, B and E parameters would be:
 Line 1: A: x component of the pixel width.
 Line 2: D: y component of the pixel width.
 Line 3: B: x component of the pixel height.
 Line 4: E: y component of the pixel height, almost always negative.
All four parameters are expressed in the map units depending on the coordinate system
associated with the raster.
World files describing a map on the Universal Transverse Mercator coordinate
system (UTM) use these conventions:
 D and B are usually 0, since the image pixels are usually made to align with the
UTM grid
 C is the UTM easting
 F is the UTM northing
 Units are always meters per pixel
The transformation parameters are stored in the world file in this order:
20.17541308822119 = A
0.00000000000000 = D
0.00000000000000 = B
-20.17541308822119 = E
Page 11 of 13
ASSIGNMENT - 05
424178.11472601280548=C
4313415.90726399607956= F
If the base name follows the convention of ‘.3’ for extension, then skipped the middle
one to append ‘w’ for world-file extension, like ‘tif’ to ‘tfw’.
If now, then ‘w’ is appended to the full image extension name, like ‘jpeg’ to ‘jpegw’.
If does not contain any extension, then, ‘.wld’ is appended to the base image name.
WORLDFILEWRITE:
The general syntax is:
worldfilewrite (R, worldfilename.extw)
It requires a:
 Map raster reference object
 Geographic raster reference object
 3-by-2 referencing matrix
Page 12 of 13
ASSIGNMENT - 05
WORLDFILEREAD:
The general syntax for ‘worldfileread’ is:
R = worldfileread (worldFileName, coordinatesystemtype, rastersize)
It will construct a spatial reference object. It can be:
 Planar for projected coordinates, or,
 Geographical for lat-long system.
This can be accessed by ‘coordinateSystemType’ string. The ‘raster-size’ should match
image size corresponding the world-file.
Page 13 of 13
ASSIGNMENT - 05
1. Chao, Yang. "A comparison of medical image analysis algorithms for edge
detection." 2010.
2. H.S. Bhadauria, Annapurna Singh, Anuj Kumar. "Comparison between Various
Edge Detection Methods on Satellite Images." Comparison between Various
Edge Detection Methods on 3, no. 6 (2013): 324-328.
3. Hao Yuan Kueh, Eugenio Marco, and Sivaraj Sivaramakrishnan. "Image analysis
for biology." n.d.
4. MapInfo Products Knowledge Base. n.d.
http://testdrive.mapinfo.com/TechSupp/MIProd.nsf/05edbd1e930f8d4d85257
12500748199/61409cb5b20c23f28525771a0054558a?OpenDocument
(accessed May 31, 2014).
5. MathWorks. "mathworks." Mapping Toolbox User Guide. n.d. (accessed May
2014).
6. Morris, Dr. Tim. Image Processing with MATLAB. n.d. (accessed May 2014).
7. Pushpajit A. Khaire & Dr. N. V. Thakur. "A Fuzzy Set Approach for Edge
Detection." International Journal of Image Processing 6, no. 6 (2012): 403-412.
8. Raman Maini & Dr. Himanshu Aggarwal. "Study and Comparison of Various
Image Edge Detection Techniques." International Journal of Image Processing 3,
no. 1 (n.d.).
9. Tauler, Romà. Mapping. n.d. (accessed May 2014).
10. Using ArcIMS 9.2 Understanding World File. n.d.
http://webhelp.esri.com/arcims/9.2/general/topics/author_world_files.htm
(accessed May 31, 2014).

More Related Content

What's hot

Practical Digital Image Processing 2
Practical Digital Image Processing 2Practical Digital Image Processing 2
Practical Digital Image Processing 2Aly Abdelkareem
 
Object tracking with SURF: ARM-Based platform Implementation
Object tracking with SURF: ARM-Based platform ImplementationObject tracking with SURF: ARM-Based platform Implementation
Object tracking with SURF: ARM-Based platform ImplementationEditor IJCATR
 
Image segmentation
Image segmentationImage segmentation
Image segmentationDeepak Kumar
 
Threshold Selection for Image segmentation
Threshold Selection for Image segmentationThreshold Selection for Image segmentation
Threshold Selection for Image segmentationParijat Sinha
 
Enhanced Algorithm for Obstacle Detection and Avoidance Using a Hybrid of Pla...
Enhanced Algorithm for Obstacle Detection and Avoidance Using a Hybrid of Pla...Enhanced Algorithm for Obstacle Detection and Avoidance Using a Hybrid of Pla...
Enhanced Algorithm for Obstacle Detection and Avoidance Using a Hybrid of Pla...IOSR Journals
 
Edge Detection and Segmentation
Edge Detection and SegmentationEdge Detection and Segmentation
Edge Detection and SegmentationA B Shinde
 
Practical Digital Image Processing 3
 Practical Digital Image Processing 3 Practical Digital Image Processing 3
Practical Digital Image Processing 3Aly Abdelkareem
 
Image Segmentation using Otsu's Method - Computer Graphics (UCS505) Project PPT
Image Segmentation using Otsu's Method - Computer Graphics (UCS505) Project PPTImage Segmentation using Otsu's Method - Computer Graphics (UCS505) Project PPT
Image Segmentation using Otsu's Method - Computer Graphics (UCS505) Project PPTAkshit Arora
 
Image segmentation
Image segmentationImage segmentation
Image segmentationMukul Jindal
 
Ajay ppt region segmentation new copy
Ajay ppt region segmentation new   copyAjay ppt region segmentation new   copy
Ajay ppt region segmentation new copyAjay Kumar Singh
 
An automatic algorithm for object recognition and detection based on asift ke...
An automatic algorithm for object recognition and detection based on asift ke...An automatic algorithm for object recognition and detection based on asift ke...
An automatic algorithm for object recognition and detection based on asift ke...Kunal Kishor Nirala
 

What's hot (20)

Practical Digital Image Processing 2
Practical Digital Image Processing 2Practical Digital Image Processing 2
Practical Digital Image Processing 2
 
Object tracking with SURF: ARM-Based platform Implementation
Object tracking with SURF: ARM-Based platform ImplementationObject tracking with SURF: ARM-Based platform Implementation
Object tracking with SURF: ARM-Based platform Implementation
 
Image segmentation
Image segmentationImage segmentation
Image segmentation
 
Image segmentation
Image segmentation Image segmentation
Image segmentation
 
Threshold Selection for Image segmentation
Threshold Selection for Image segmentationThreshold Selection for Image segmentation
Threshold Selection for Image segmentation
 
Enhanced Algorithm for Obstacle Detection and Avoidance Using a Hybrid of Pla...
Enhanced Algorithm for Obstacle Detection and Avoidance Using a Hybrid of Pla...Enhanced Algorithm for Obstacle Detection and Avoidance Using a Hybrid of Pla...
Enhanced Algorithm for Obstacle Detection and Avoidance Using a Hybrid of Pla...
 
Edge Detection and Segmentation
Edge Detection and SegmentationEdge Detection and Segmentation
Edge Detection and Segmentation
 
Segmentation Techniques -II
Segmentation Techniques -IISegmentation Techniques -II
Segmentation Techniques -II
 
Dip Image Segmentation
Dip Image SegmentationDip Image Segmentation
Dip Image Segmentation
 
Im seg04
Im seg04Im seg04
Im seg04
 
Practical Digital Image Processing 3
 Practical Digital Image Processing 3 Practical Digital Image Processing 3
Practical Digital Image Processing 3
 
Image segmentation
Image segmentationImage segmentation
Image segmentation
 
Image Segmentation using Otsu's Method - Computer Graphics (UCS505) Project PPT
Image Segmentation using Otsu's Method - Computer Graphics (UCS505) Project PPTImage Segmentation using Otsu's Method - Computer Graphics (UCS505) Project PPT
Image Segmentation using Otsu's Method - Computer Graphics (UCS505) Project PPT
 
Image segmentation
Image segmentationImage segmentation
Image segmentation
 
3D reconstruction
3D reconstruction3D reconstruction
3D reconstruction
 
Image segmentation
Image segmentationImage segmentation
Image segmentation
 
regions
regionsregions
regions
 
Ajay ppt region segmentation new copy
Ajay ppt region segmentation new   copyAjay ppt region segmentation new   copy
Ajay ppt region segmentation new copy
 
An automatic algorithm for object recognition and detection based on asift ke...
An automatic algorithm for object recognition and detection based on asift ke...An automatic algorithm for object recognition and detection based on asift ke...
An automatic algorithm for object recognition and detection based on asift ke...
 
Segmentation
SegmentationSegmentation
Segmentation
 

Similar to 02_atiqa ijaz khan_05_2014

Performance of Efficient Closed-Form Solution to Comprehensive Frontier Exposure
Performance of Efficient Closed-Form Solution to Comprehensive Frontier ExposurePerformance of Efficient Closed-Form Solution to Comprehensive Frontier Exposure
Performance of Efficient Closed-Form Solution to Comprehensive Frontier Exposureiosrjce
 
Stereo Correspondence Algorithms for Robotic Applications Under Ideal And Non...
Stereo Correspondence Algorithms for Robotic Applications Under Ideal And Non...Stereo Correspondence Algorithms for Robotic Applications Under Ideal And Non...
Stereo Correspondence Algorithms for Robotic Applications Under Ideal And Non...CSCJournals
 
A Novel Edge Detection Technique for Image Classification and Analysis
A Novel Edge Detection Technique for Image Classification and AnalysisA Novel Edge Detection Technique for Image Classification and Analysis
A Novel Edge Detection Technique for Image Classification and AnalysisIOSR Journals
 
Hardware Unit for Edge Detection with Comparative Analysis of Different Edge ...
Hardware Unit for Edge Detection with Comparative Analysis of Different Edge ...Hardware Unit for Edge Detection with Comparative Analysis of Different Edge ...
Hardware Unit for Edge Detection with Comparative Analysis of Different Edge ...paperpublications3
 
A STUDY AND ANALYSIS OF DIFFERENT EDGE DETECTION TECHNIQUES
A STUDY AND ANALYSIS OF DIFFERENT EDGE DETECTION TECHNIQUESA STUDY AND ANALYSIS OF DIFFERENT EDGE DETECTION TECHNIQUES
A STUDY AND ANALYSIS OF DIFFERENT EDGE DETECTION TECHNIQUEScscpconf
 
An Assessment of Image Matching Algorithms in Depth Estimation
An Assessment of Image Matching Algorithms in Depth EstimationAn Assessment of Image Matching Algorithms in Depth Estimation
An Assessment of Image Matching Algorithms in Depth EstimationCSCJournals
 
Automatic rectification of perspective distortion from a single image using p...
Automatic rectification of perspective distortion from a single image using p...Automatic rectification of perspective distortion from a single image using p...
Automatic rectification of perspective distortion from a single image using p...ijcsa
 
Edge detection by using lookup table
Edge detection by using lookup tableEdge detection by using lookup table
Edge detection by using lookup tableeSAT Journals
 
Study and Comparison of Various Image Edge Detection Techniques
Study and Comparison of Various Image Edge Detection TechniquesStudy and Comparison of Various Image Edge Detection Techniques
Study and Comparison of Various Image Edge Detection TechniquesCSCJournals
 
Enhanced Optimization of Edge Detection for High Resolution Images Using Veri...
Enhanced Optimization of Edge Detection for High Resolution Images Using Veri...Enhanced Optimization of Edge Detection for High Resolution Images Using Veri...
Enhanced Optimization of Edge Detection for High Resolution Images Using Veri...ijcisjournal
 
Rigorous Pack Edge Detection Fuzzy System
Rigorous Pack Edge Detection Fuzzy SystemRigorous Pack Edge Detection Fuzzy System
Rigorous Pack Edge Detection Fuzzy Systeminventy
 
FAN search for image copy-move forgery-amalta 2014
 FAN search for image copy-move forgery-amalta 2014 FAN search for image copy-move forgery-amalta 2014
FAN search for image copy-move forgery-amalta 2014SondosFadl
 
A NOBEL HYBRID APPROACH FOR EDGE DETECTION
A NOBEL HYBRID APPROACH FOR EDGE  DETECTIONA NOBEL HYBRID APPROACH FOR EDGE  DETECTION
A NOBEL HYBRID APPROACH FOR EDGE DETECTIONijcses
 
A NOVEL IMAGE SEGMENTATION ENHANCEMENT TECHNIQUE BASED ON ACTIVE CONTOUR AND...
A NOVEL IMAGE SEGMENTATION ENHANCEMENT TECHNIQUE BASED ON  ACTIVE CONTOUR AND...A NOVEL IMAGE SEGMENTATION ENHANCEMENT TECHNIQUE BASED ON  ACTIVE CONTOUR AND...
A NOVEL IMAGE SEGMENTATION ENHANCEMENT TECHNIQUE BASED ON ACTIVE CONTOUR AND...acijjournal
 
Image segmentation methods for brain mri images
Image segmentation methods for brain mri imagesImage segmentation methods for brain mri images
Image segmentation methods for brain mri imageseSAT Journals
 
E0333021025
E0333021025E0333021025
E0333021025theijes
 
Different Image Segmentation Techniques for Dental Image Extraction
Different Image Segmentation Techniques for Dental Image ExtractionDifferent Image Segmentation Techniques for Dental Image Extraction
Different Image Segmentation Techniques for Dental Image ExtractionIJERA Editor
 

Similar to 02_atiqa ijaz khan_05_2014 (20)

Performance of Efficient Closed-Form Solution to Comprehensive Frontier Exposure
Performance of Efficient Closed-Form Solution to Comprehensive Frontier ExposurePerformance of Efficient Closed-Form Solution to Comprehensive Frontier Exposure
Performance of Efficient Closed-Form Solution to Comprehensive Frontier Exposure
 
I010634450
I010634450I010634450
I010634450
 
Stereo Correspondence Algorithms for Robotic Applications Under Ideal And Non...
Stereo Correspondence Algorithms for Robotic Applications Under Ideal And Non...Stereo Correspondence Algorithms for Robotic Applications Under Ideal And Non...
Stereo Correspondence Algorithms for Robotic Applications Under Ideal And Non...
 
Ed34785790
Ed34785790Ed34785790
Ed34785790
 
A Novel Edge Detection Technique for Image Classification and Analysis
A Novel Edge Detection Technique for Image Classification and AnalysisA Novel Edge Detection Technique for Image Classification and Analysis
A Novel Edge Detection Technique for Image Classification and Analysis
 
Hardware Unit for Edge Detection with Comparative Analysis of Different Edge ...
Hardware Unit for Edge Detection with Comparative Analysis of Different Edge ...Hardware Unit for Edge Detection with Comparative Analysis of Different Edge ...
Hardware Unit for Edge Detection with Comparative Analysis of Different Edge ...
 
A STUDY AND ANALYSIS OF DIFFERENT EDGE DETECTION TECHNIQUES
A STUDY AND ANALYSIS OF DIFFERENT EDGE DETECTION TECHNIQUESA STUDY AND ANALYSIS OF DIFFERENT EDGE DETECTION TECHNIQUES
A STUDY AND ANALYSIS OF DIFFERENT EDGE DETECTION TECHNIQUES
 
An Assessment of Image Matching Algorithms in Depth Estimation
An Assessment of Image Matching Algorithms in Depth EstimationAn Assessment of Image Matching Algorithms in Depth Estimation
An Assessment of Image Matching Algorithms in Depth Estimation
 
Automatic rectification of perspective distortion from a single image using p...
Automatic rectification of perspective distortion from a single image using p...Automatic rectification of perspective distortion from a single image using p...
Automatic rectification of perspective distortion from a single image using p...
 
Edge detection by using lookup table
Edge detection by using lookup tableEdge detection by using lookup table
Edge detection by using lookup table
 
Study and Comparison of Various Image Edge Detection Techniques
Study and Comparison of Various Image Edge Detection TechniquesStudy and Comparison of Various Image Edge Detection Techniques
Study and Comparison of Various Image Edge Detection Techniques
 
Enhanced Optimization of Edge Detection for High Resolution Images Using Veri...
Enhanced Optimization of Edge Detection for High Resolution Images Using Veri...Enhanced Optimization of Edge Detection for High Resolution Images Using Veri...
Enhanced Optimization of Edge Detection for High Resolution Images Using Veri...
 
Rigorous Pack Edge Detection Fuzzy System
Rigorous Pack Edge Detection Fuzzy SystemRigorous Pack Edge Detection Fuzzy System
Rigorous Pack Edge Detection Fuzzy System
 
J017426467
J017426467J017426467
J017426467
 
FAN search for image copy-move forgery-amalta 2014
 FAN search for image copy-move forgery-amalta 2014 FAN search for image copy-move forgery-amalta 2014
FAN search for image copy-move forgery-amalta 2014
 
A NOBEL HYBRID APPROACH FOR EDGE DETECTION
A NOBEL HYBRID APPROACH FOR EDGE  DETECTIONA NOBEL HYBRID APPROACH FOR EDGE  DETECTION
A NOBEL HYBRID APPROACH FOR EDGE DETECTION
 
A NOVEL IMAGE SEGMENTATION ENHANCEMENT TECHNIQUE BASED ON ACTIVE CONTOUR AND...
A NOVEL IMAGE SEGMENTATION ENHANCEMENT TECHNIQUE BASED ON  ACTIVE CONTOUR AND...A NOVEL IMAGE SEGMENTATION ENHANCEMENT TECHNIQUE BASED ON  ACTIVE CONTOUR AND...
A NOVEL IMAGE SEGMENTATION ENHANCEMENT TECHNIQUE BASED ON ACTIVE CONTOUR AND...
 
Image segmentation methods for brain mri images
Image segmentation methods for brain mri imagesImage segmentation methods for brain mri images
Image segmentation methods for brain mri images
 
E0333021025
E0333021025E0333021025
E0333021025
 
Different Image Segmentation Techniques for Dental Image Extraction
Different Image Segmentation Techniques for Dental Image ExtractionDifferent Image Segmentation Techniques for Dental Image Extraction
Different Image Segmentation Techniques for Dental Image Extraction
 

More from Atiqa khan

2019_Wingdings Font - Times New Roman
2019_Wingdings Font  - Times New Roman2019_Wingdings Font  - Times New Roman
2019_Wingdings Font - Times New RomanAtiqa khan
 
English Urdu Font in Windows 10 Keyboard
English Urdu Font in Windows 10 KeyboardEnglish Urdu Font in Windows 10 Keyboard
English Urdu Font in Windows 10 KeyboardAtiqa khan
 
2018 Solutions to Sleep Screen
2018 Solutions to Sleep Screen2018 Solutions to Sleep Screen
2018 Solutions to Sleep ScreenAtiqa khan
 
2017 Thesis Check List Doc
2017 Thesis Check List Doc2017 Thesis Check List Doc
2017 Thesis Check List DocAtiqa khan
 
2017 Terms in GIS Town Planning
2017 Terms in GIS Town Planning2017 Terms in GIS Town Planning
2017 Terms in GIS Town PlanningAtiqa khan
 
2017 Pictorial Differences GIS & RS
2017 Pictorial Differences GIS & RS2017 Pictorial Differences GIS & RS
2017 Pictorial Differences GIS & RSAtiqa khan
 
2017 Response Letter to a Journal
2017 Response Letter to a Journal2017 Response Letter to a Journal
2017 Response Letter to a JournalAtiqa khan
 
2017 How to write Author Biography for Journal
2017 How to write Author Biography for Journal2017 How to write Author Biography for Journal
2017 How to write Author Biography for JournalAtiqa khan
 
2017 Information about NUST Engineering
2017 Information about NUST Engineering2017 Information about NUST Engineering
2017 Information about NUST EngineeringAtiqa khan
 
2017 Glossary Of Cartographic Terms
2017 Glossary Of Cartographic Terms2017 Glossary Of Cartographic Terms
2017 Glossary Of Cartographic TermsAtiqa khan
 
2017 Types Of Orbits Brief Explanation
2017 Types Of Orbits Brief Explanation2017 Types Of Orbits Brief Explanation
2017 Types Of Orbits Brief ExplanationAtiqa khan
 
2017 IST Undergraduates Admission Guide for Fall
2017 IST Undergraduates Admission Guide for Fall2017 IST Undergraduates Admission Guide for Fall
2017 IST Undergraduates Admission Guide for FallAtiqa khan
 
2017 Editable Thesis Checklist PDF
2017 Editable Thesis Checklist PDF2017 Editable Thesis Checklist PDF
2017 Editable Thesis Checklist PDFAtiqa khan
 
2017 Basics of GIS
2017 Basics of GIS2017 Basics of GIS
2017 Basics of GISAtiqa khan
 
2016 Tenses in Research Paper
2016 Tenses in Research Paper2016 Tenses in Research Paper
2016 Tenses in Research PaperAtiqa khan
 
Catalog of Earth Satellite Orbits_2017
Catalog of Earth Satellite Orbits_2017Catalog of Earth Satellite Orbits_2017
Catalog of Earth Satellite Orbits_2017Atiqa khan
 
Physiology MBBS Part 2 UHS Paper-2016
Physiology MBBS Part 2 UHS Paper-2016Physiology MBBS Part 2 UHS Paper-2016
Physiology MBBS Part 2 UHS Paper-2016Atiqa khan
 
Islamic Studies-Ethics-Pak Studies MBBS Part 2 UHS Paper-2016
Islamic Studies-Ethics-Pak Studies MBBS Part 2 UHS Paper-2016Islamic Studies-Ethics-Pak Studies MBBS Part 2 UHS Paper-2016
Islamic Studies-Ethics-Pak Studies MBBS Part 2 UHS Paper-2016Atiqa khan
 
Bio Chemistry MBBS Part 2 UHS Paper-2016
Bio Chemistry MBBS Part 2 UHS Paper-2016Bio Chemistry MBBS Part 2 UHS Paper-2016
Bio Chemistry MBBS Part 2 UHS Paper-2016Atiqa khan
 
Editable CD Cover Template_2016
Editable CD Cover Template_2016Editable CD Cover Template_2016
Editable CD Cover Template_2016Atiqa khan
 

More from Atiqa khan (20)

2019_Wingdings Font - Times New Roman
2019_Wingdings Font  - Times New Roman2019_Wingdings Font  - Times New Roman
2019_Wingdings Font - Times New Roman
 
English Urdu Font in Windows 10 Keyboard
English Urdu Font in Windows 10 KeyboardEnglish Urdu Font in Windows 10 Keyboard
English Urdu Font in Windows 10 Keyboard
 
2018 Solutions to Sleep Screen
2018 Solutions to Sleep Screen2018 Solutions to Sleep Screen
2018 Solutions to Sleep Screen
 
2017 Thesis Check List Doc
2017 Thesis Check List Doc2017 Thesis Check List Doc
2017 Thesis Check List Doc
 
2017 Terms in GIS Town Planning
2017 Terms in GIS Town Planning2017 Terms in GIS Town Planning
2017 Terms in GIS Town Planning
 
2017 Pictorial Differences GIS & RS
2017 Pictorial Differences GIS & RS2017 Pictorial Differences GIS & RS
2017 Pictorial Differences GIS & RS
 
2017 Response Letter to a Journal
2017 Response Letter to a Journal2017 Response Letter to a Journal
2017 Response Letter to a Journal
 
2017 How to write Author Biography for Journal
2017 How to write Author Biography for Journal2017 How to write Author Biography for Journal
2017 How to write Author Biography for Journal
 
2017 Information about NUST Engineering
2017 Information about NUST Engineering2017 Information about NUST Engineering
2017 Information about NUST Engineering
 
2017 Glossary Of Cartographic Terms
2017 Glossary Of Cartographic Terms2017 Glossary Of Cartographic Terms
2017 Glossary Of Cartographic Terms
 
2017 Types Of Orbits Brief Explanation
2017 Types Of Orbits Brief Explanation2017 Types Of Orbits Brief Explanation
2017 Types Of Orbits Brief Explanation
 
2017 IST Undergraduates Admission Guide for Fall
2017 IST Undergraduates Admission Guide for Fall2017 IST Undergraduates Admission Guide for Fall
2017 IST Undergraduates Admission Guide for Fall
 
2017 Editable Thesis Checklist PDF
2017 Editable Thesis Checklist PDF2017 Editable Thesis Checklist PDF
2017 Editable Thesis Checklist PDF
 
2017 Basics of GIS
2017 Basics of GIS2017 Basics of GIS
2017 Basics of GIS
 
2016 Tenses in Research Paper
2016 Tenses in Research Paper2016 Tenses in Research Paper
2016 Tenses in Research Paper
 
Catalog of Earth Satellite Orbits_2017
Catalog of Earth Satellite Orbits_2017Catalog of Earth Satellite Orbits_2017
Catalog of Earth Satellite Orbits_2017
 
Physiology MBBS Part 2 UHS Paper-2016
Physiology MBBS Part 2 UHS Paper-2016Physiology MBBS Part 2 UHS Paper-2016
Physiology MBBS Part 2 UHS Paper-2016
 
Islamic Studies-Ethics-Pak Studies MBBS Part 2 UHS Paper-2016
Islamic Studies-Ethics-Pak Studies MBBS Part 2 UHS Paper-2016Islamic Studies-Ethics-Pak Studies MBBS Part 2 UHS Paper-2016
Islamic Studies-Ethics-Pak Studies MBBS Part 2 UHS Paper-2016
 
Bio Chemistry MBBS Part 2 UHS Paper-2016
Bio Chemistry MBBS Part 2 UHS Paper-2016Bio Chemistry MBBS Part 2 UHS Paper-2016
Bio Chemistry MBBS Part 2 UHS Paper-2016
 
Editable CD Cover Template_2016
Editable CD Cover Template_2016Editable CD Cover Template_2016
Editable CD Cover Template_2016
 

Recently uploaded

Alper Gobel In Media Res Media Component
Alper Gobel In Media Res Media ComponentAlper Gobel In Media Res Media Component
Alper Gobel In Media Res Media ComponentInMediaRes1
 
_Math 4-Q4 Week 5.pptx Steps in Collecting Data
_Math 4-Q4 Week 5.pptx Steps in Collecting Data_Math 4-Q4 Week 5.pptx Steps in Collecting Data
_Math 4-Q4 Week 5.pptx Steps in Collecting DataJhengPantaleon
 
Crayon Activity Handout For the Crayon A
Crayon Activity Handout For the Crayon ACrayon Activity Handout For the Crayon A
Crayon Activity Handout For the Crayon AUnboundStockton
 
Micromeritics - Fundamental and Derived Properties of Powders
Micromeritics - Fundamental and Derived Properties of PowdersMicromeritics - Fundamental and Derived Properties of Powders
Micromeritics - Fundamental and Derived Properties of PowdersChitralekhaTherkar
 
Industrial Policy - 1948, 1956, 1973, 1977, 1980, 1991
Industrial Policy - 1948, 1956, 1973, 1977, 1980, 1991Industrial Policy - 1948, 1956, 1973, 1977, 1980, 1991
Industrial Policy - 1948, 1956, 1973, 1977, 1980, 1991RKavithamani
 
Solving Puzzles Benefits Everyone (English).pptx
Solving Puzzles Benefits Everyone (English).pptxSolving Puzzles Benefits Everyone (English).pptx
Solving Puzzles Benefits Everyone (English).pptxOH TEIK BIN
 
Sanyam Choudhary Chemistry practical.pdf
Sanyam Choudhary Chemistry practical.pdfSanyam Choudhary Chemistry practical.pdf
Sanyam Choudhary Chemistry practical.pdfsanyamsingh5019
 
Concept of Vouching. B.Com(Hons) /B.Compdf
Concept of Vouching. B.Com(Hons) /B.CompdfConcept of Vouching. B.Com(Hons) /B.Compdf
Concept of Vouching. B.Com(Hons) /B.CompdfUmakantAnnand
 
Introduction to ArtificiaI Intelligence in Higher Education
Introduction to ArtificiaI Intelligence in Higher EducationIntroduction to ArtificiaI Intelligence in Higher Education
Introduction to ArtificiaI Intelligence in Higher Educationpboyjonauth
 
Incoming and Outgoing Shipments in 1 STEP Using Odoo 17
Incoming and Outgoing Shipments in 1 STEP Using Odoo 17Incoming and Outgoing Shipments in 1 STEP Using Odoo 17
Incoming and Outgoing Shipments in 1 STEP Using Odoo 17Celine George
 
Q4-W6-Restating Informational Text Grade 3
Q4-W6-Restating Informational Text Grade 3Q4-W6-Restating Informational Text Grade 3
Q4-W6-Restating Informational Text Grade 3JemimahLaneBuaron
 
“Oh GOSH! Reflecting on Hackteria's Collaborative Practices in a Global Do-It...
“Oh GOSH! Reflecting on Hackteria's Collaborative Practices in a Global Do-It...“Oh GOSH! Reflecting on Hackteria's Collaborative Practices in a Global Do-It...
“Oh GOSH! Reflecting on Hackteria's Collaborative Practices in a Global Do-It...Marc Dusseiller Dusjagr
 
The basics of sentences session 2pptx copy.pptx
The basics of sentences session 2pptx copy.pptxThe basics of sentences session 2pptx copy.pptx
The basics of sentences session 2pptx copy.pptxheathfieldcps1
 
How to Make a Pirate ship Primary Education.pptx
How to Make a Pirate ship Primary Education.pptxHow to Make a Pirate ship Primary Education.pptx
How to Make a Pirate ship Primary Education.pptxmanuelaromero2013
 
Arihant handbook biology for class 11 .pdf
Arihant handbook biology for class 11 .pdfArihant handbook biology for class 11 .pdf
Arihant handbook biology for class 11 .pdfchloefrazer622
 
Kisan Call Centre - To harness potential of ICT in Agriculture by answer farm...
Kisan Call Centre - To harness potential of ICT in Agriculture by answer farm...Kisan Call Centre - To harness potential of ICT in Agriculture by answer farm...
Kisan Call Centre - To harness potential of ICT in Agriculture by answer farm...Krashi Coaching
 
Mastering the Unannounced Regulatory Inspection
Mastering the Unannounced Regulatory InspectionMastering the Unannounced Regulatory Inspection
Mastering the Unannounced Regulatory InspectionSafetyChain Software
 
mini mental status format.docx
mini    mental       status     format.docxmini    mental       status     format.docx
mini mental status format.docxPoojaSen20
 
Accessible design: Minimum effort, maximum impact
Accessible design: Minimum effort, maximum impactAccessible design: Minimum effort, maximum impact
Accessible design: Minimum effort, maximum impactdawncurless
 

Recently uploaded (20)

Alper Gobel In Media Res Media Component
Alper Gobel In Media Res Media ComponentAlper Gobel In Media Res Media Component
Alper Gobel In Media Res Media Component
 
_Math 4-Q4 Week 5.pptx Steps in Collecting Data
_Math 4-Q4 Week 5.pptx Steps in Collecting Data_Math 4-Q4 Week 5.pptx Steps in Collecting Data
_Math 4-Q4 Week 5.pptx Steps in Collecting Data
 
Crayon Activity Handout For the Crayon A
Crayon Activity Handout For the Crayon ACrayon Activity Handout For the Crayon A
Crayon Activity Handout For the Crayon A
 
Micromeritics - Fundamental and Derived Properties of Powders
Micromeritics - Fundamental and Derived Properties of PowdersMicromeritics - Fundamental and Derived Properties of Powders
Micromeritics - Fundamental and Derived Properties of Powders
 
Industrial Policy - 1948, 1956, 1973, 1977, 1980, 1991
Industrial Policy - 1948, 1956, 1973, 1977, 1980, 1991Industrial Policy - 1948, 1956, 1973, 1977, 1980, 1991
Industrial Policy - 1948, 1956, 1973, 1977, 1980, 1991
 
Solving Puzzles Benefits Everyone (English).pptx
Solving Puzzles Benefits Everyone (English).pptxSolving Puzzles Benefits Everyone (English).pptx
Solving Puzzles Benefits Everyone (English).pptx
 
Sanyam Choudhary Chemistry practical.pdf
Sanyam Choudhary Chemistry practical.pdfSanyam Choudhary Chemistry practical.pdf
Sanyam Choudhary Chemistry practical.pdf
 
Concept of Vouching. B.Com(Hons) /B.Compdf
Concept of Vouching. B.Com(Hons) /B.CompdfConcept of Vouching. B.Com(Hons) /B.Compdf
Concept of Vouching. B.Com(Hons) /B.Compdf
 
Introduction to ArtificiaI Intelligence in Higher Education
Introduction to ArtificiaI Intelligence in Higher EducationIntroduction to ArtificiaI Intelligence in Higher Education
Introduction to ArtificiaI Intelligence in Higher Education
 
Incoming and Outgoing Shipments in 1 STEP Using Odoo 17
Incoming and Outgoing Shipments in 1 STEP Using Odoo 17Incoming and Outgoing Shipments in 1 STEP Using Odoo 17
Incoming and Outgoing Shipments in 1 STEP Using Odoo 17
 
Q4-W6-Restating Informational Text Grade 3
Q4-W6-Restating Informational Text Grade 3Q4-W6-Restating Informational Text Grade 3
Q4-W6-Restating Informational Text Grade 3
 
“Oh GOSH! Reflecting on Hackteria's Collaborative Practices in a Global Do-It...
“Oh GOSH! Reflecting on Hackteria's Collaborative Practices in a Global Do-It...“Oh GOSH! Reflecting on Hackteria's Collaborative Practices in a Global Do-It...
“Oh GOSH! Reflecting on Hackteria's Collaborative Practices in a Global Do-It...
 
The basics of sentences session 2pptx copy.pptx
The basics of sentences session 2pptx copy.pptxThe basics of sentences session 2pptx copy.pptx
The basics of sentences session 2pptx copy.pptx
 
How to Make a Pirate ship Primary Education.pptx
How to Make a Pirate ship Primary Education.pptxHow to Make a Pirate ship Primary Education.pptx
How to Make a Pirate ship Primary Education.pptx
 
Código Creativo y Arte de Software | Unidad 1
Código Creativo y Arte de Software | Unidad 1Código Creativo y Arte de Software | Unidad 1
Código Creativo y Arte de Software | Unidad 1
 
Arihant handbook biology for class 11 .pdf
Arihant handbook biology for class 11 .pdfArihant handbook biology for class 11 .pdf
Arihant handbook biology for class 11 .pdf
 
Kisan Call Centre - To harness potential of ICT in Agriculture by answer farm...
Kisan Call Centre - To harness potential of ICT in Agriculture by answer farm...Kisan Call Centre - To harness potential of ICT in Agriculture by answer farm...
Kisan Call Centre - To harness potential of ICT in Agriculture by answer farm...
 
Mastering the Unannounced Regulatory Inspection
Mastering the Unannounced Regulatory InspectionMastering the Unannounced Regulatory Inspection
Mastering the Unannounced Regulatory Inspection
 
mini mental status format.docx
mini    mental       status     format.docxmini    mental       status     format.docx
mini mental status format.docx
 
Accessible design: Minimum effort, maximum impact
Accessible design: Minimum effort, maximum impactAccessible design: Minimum effort, maximum impact
Accessible design: Minimum effort, maximum impact
 

02_atiqa ijaz khan_05_2014

  • 1. 5/31/2014 Assignment - 05 Using MATLAB Submitted To: Sir. Imran Ali Memon Subject: Geo-Informatics Submitted By: Atiqa Ijaz Khan Roll No: Geol-02 MPhil Geomatics Institute of Geology, university of the Punjab
  • 2. Page 1 of 13 ASSIGNMENT - 05 Question.1: Differentiate the following Matlab commands with example and write shortly about their application and characteristics. 1. Imshow It is used to display an image. It tried to fit the image onto the screen. But if is too large it shows a warning message. It scales an image by using interpolation to re-fit for display. One can show two images on a same figure plot by ‘imshow’. In comparison to ‘imtool’, ‘imshow’ dose not display automatic pixel values at the bottom. ‘Imshow’ can display images by passing:  Image URL, if not in the current folder,  Complete image name if in the current folder, and,  Variable name in which image is stored previously. 2. Geoshow It projects and displays the latitude and longitude vectors using projection stored in the axes. Of not, then it display in the default Plate Carree projection. To use ‘geoshow’, function ‘shaperead’ must include ‘‘UseGeoCoords’, true’. Otherwise it will create a mapstruct, with X and Y, without lat and long. It can go with: points, multipoints, lines, and, polygons Not a current folder Stored in Workspace
  • 3. Page 2 of 13 ASSIGNMENT - 05 Displays the lat and long instead of XY
  • 4. Page 3 of 13 ASSIGNMENT - 05
  • 5. Page 4 of 13 ASSIGNMENT - 05 3. Mapshow It display map coordinate xy vectors. The default is to show in lines. If use ‘geoshow’ instead, it will show a warning message in the command window. But displays the image using ‘mapshow’ XY instead of lat and long
  • 6. Page 5 of 13 ASSIGNMENT - 05 Question No.2: The edge command is used to find edges in intensity image. Use this command on a image with different parameters and edge techniques. Write down about the differences and application of all variants of edge command. Edge detection is an image processing technique for finding the boundaries of objects within images. It works by detecting discontinuities in brightness. Edge detection is used for image segmentation and data extraction in areas such as image processing, computer vision, and machine vision. It let you identify object boundaries in an image. Common edge detection algorithms include Sobel, Canny, Prewitt, and Roberts methods. 1st Method (General Syntax): >> D = imread('D.jpg'); >> G = rgb2gray(D); >> E = edge(G);
  • 7. Page 6 of 13 ASSIGNMENT - 05 2nd Method (Sobel): >> E = edge(I, 'sobel'); >> imshow(E) It returns those points where gradient of image is maximum. By default, ‘edge’ uses the technique ‘sobel’ to detect the edges of an image. It will display edges for a binary image and gray image. But no for 3D images like, rgb. 3rd Method (Prewitt): >> E = edge(I, 'prewitt'); >> imshow(E) 4th Method (Roberts): >> E = edge(I, 'roberts'); >> imshow(E)
  • 8. Page 7 of 13 ASSIGNMENT - 05 5th Method (Laplacian of ): >> E = edge(I, 'log'); >> imshow(E) 6th Method (Zero-cross): >> E = edge(I, 'zerocross');
  • 9. Page 8 of 13 ASSIGNMENT - 05 >> imshow(E) 7th Method (Canny): >> E = edge(I, 'canny'); >> imshow(E)
  • 10. Page 9 of 13 ASSIGNMENT - 05 Sr. No Algorithms Methods Merits De-merits 01. Sobel Uses 3*3 mask, separately on x-y axis Most common 1st order, simple Sensitive to noise. 02. Prewitt It’s done by averaging filter and 1st order differentiation Simple 1st order technique Less accurate, sensitive to noise. 03. Roberts Perform 2*2 mask on 2D spatial gradient measurement on an image Basic 1st order technique, Sensitive to noise, not for 3D images. 04. LoG (Laplacian of Gaussian) Use 3*3 mask with central value to be +ve, while all other are –ve, so to have the sum = 0. Applied on 2D isotropic measurements of 2nd derivative. Test wide area around pixels, find correct places of edges, highlights the region of rapid intensity changes, and show dark and white line along the BLOB. Not good at curves and corners, for good results apply it to already smoothen images, and is independent of directions. 05. Canny Use Gaussian filter, to find out the maxima threshold (white), and non- maxima (black), incorporating the directions. Most Better powerful, detection in noise conditions, Complex computations. Edge Detection Algorithms Classical-Directional (1st Order) Sobel Prewitt Roberts Zero- crossing Laplacian 2nd Directioanl Derivative LoG Gaussian Canny Shen_Cast an
  • 11. Page 10 of 13 ASSIGNMENT - 05 Question No.3: What is world file. Write its extensions and structure of the file, the command to read and write a world file in Matlab. A world file is a plain text computer data file used by geographic information systems to geo-reference raster map images. The file specification was introduced by ESRI. The world file adds extension of ‘w’ with the normal used extensions, like tif to tfw. World files do not specify a coordinate system; this information is generally stored somewhere else in the raster file itself or in another companion file. The generic meaning of world file parameters are:  Line 1: A: pixel size in the x-direction in map units/pixel.  Line 2: D: rotation about y-axis.  Line 3: B: rotation about x-axis.  Line 4: E: pixel size in the y-direction in map units, almost always negative.  Line 5: C: x-coordinate of the center of the upper left pixel.  Line 6: F: y-coordinate of the center of the upper left pixel. A better description of the A, D, B and E parameters would be:  Line 1: A: x component of the pixel width.  Line 2: D: y component of the pixel width.  Line 3: B: x component of the pixel height.  Line 4: E: y component of the pixel height, almost always negative. All four parameters are expressed in the map units depending on the coordinate system associated with the raster. World files describing a map on the Universal Transverse Mercator coordinate system (UTM) use these conventions:  D and B are usually 0, since the image pixels are usually made to align with the UTM grid  C is the UTM easting  F is the UTM northing  Units are always meters per pixel The transformation parameters are stored in the world file in this order: 20.17541308822119 = A 0.00000000000000 = D 0.00000000000000 = B -20.17541308822119 = E
  • 12. Page 11 of 13 ASSIGNMENT - 05 424178.11472601280548=C 4313415.90726399607956= F If the base name follows the convention of ‘.3’ for extension, then skipped the middle one to append ‘w’ for world-file extension, like ‘tif’ to ‘tfw’. If now, then ‘w’ is appended to the full image extension name, like ‘jpeg’ to ‘jpegw’. If does not contain any extension, then, ‘.wld’ is appended to the base image name. WORLDFILEWRITE: The general syntax is: worldfilewrite (R, worldfilename.extw) It requires a:  Map raster reference object  Geographic raster reference object  3-by-2 referencing matrix
  • 13. Page 12 of 13 ASSIGNMENT - 05 WORLDFILEREAD: The general syntax for ‘worldfileread’ is: R = worldfileread (worldFileName, coordinatesystemtype, rastersize) It will construct a spatial reference object. It can be:  Planar for projected coordinates, or,  Geographical for lat-long system. This can be accessed by ‘coordinateSystemType’ string. The ‘raster-size’ should match image size corresponding the world-file.
  • 14. Page 13 of 13 ASSIGNMENT - 05 1. Chao, Yang. "A comparison of medical image analysis algorithms for edge detection." 2010. 2. H.S. Bhadauria, Annapurna Singh, Anuj Kumar. "Comparison between Various Edge Detection Methods on Satellite Images." Comparison between Various Edge Detection Methods on 3, no. 6 (2013): 324-328. 3. Hao Yuan Kueh, Eugenio Marco, and Sivaraj Sivaramakrishnan. "Image analysis for biology." n.d. 4. MapInfo Products Knowledge Base. n.d. http://testdrive.mapinfo.com/TechSupp/MIProd.nsf/05edbd1e930f8d4d85257 12500748199/61409cb5b20c23f28525771a0054558a?OpenDocument (accessed May 31, 2014). 5. MathWorks. "mathworks." Mapping Toolbox User Guide. n.d. (accessed May 2014). 6. Morris, Dr. Tim. Image Processing with MATLAB. n.d. (accessed May 2014). 7. Pushpajit A. Khaire & Dr. N. V. Thakur. "A Fuzzy Set Approach for Edge Detection." International Journal of Image Processing 6, no. 6 (2012): 403-412. 8. Raman Maini & Dr. Himanshu Aggarwal. "Study and Comparison of Various Image Edge Detection Techniques." International Journal of Image Processing 3, no. 1 (n.d.). 9. Tauler, Romà. Mapping. n.d. (accessed May 2014). 10. Using ArcIMS 9.2 Understanding World File. n.d. http://webhelp.esri.com/arcims/9.2/general/topics/author_world_files.htm (accessed May 31, 2014).