SlideShare a Scribd company logo
1 of 6
Download to read offline
XYRectify tip sheet
 This tip sheet was prepared for users with a working knowledge of
    the iWitnessTM close-range photogrammetry software system

1. Best to calibrate the camera in iWitness, and use the focal length at the
calibration setting for imaging with XYRectify




If the camera is NOT in the global camera database, and upon importing the
image, the following dialog box is presented:




2. Note, in this instance, the focal length of 26mm is simply read from the
EXIF header tag. If the Pixel size is not correct, it doesn’t matter as focal
length is not used, however radial distortion can improve the result if the
camera is calibrated.

3. In this example, the camera was not calibrated, so there’s no
correction for the DISTORTIONS (specifically K1). For accident reconstruction
measurements, the K2, and K3, as well as P1 and P2 are not as important as
K1. If the camera has been calibrated, then it is best to click the “Apply
corrections” box. The pixel size (mm) should be proper relative to the
c(mm) focal length. NOTE: it is always better to work with a camera that’s
been calibrated with iWitness to optimize accuracy!




4. At this point, the camera parameters are setup and the image will be
imported into XYRectify.

5. Control Points:
XYRectify requires a minimum of 4 control points that are on a fairly planar
surface (in this example a roadway intersection.) The control points are XY
coordinates that should be accurate. In this instance a total station was used
to derive the coordinates, but a total station is not the only way of obtaining
these XY coordinates.

Create a Control Point file using MS Notepad. Type in the name of the
control point, and then its X, and Y coordinates. See the below screen
capture:
In our example” Lwr_BE” means
                                               “Lower Bulls-Eye” as defined by
                                               the white X and the white
                                               circle in the image.

                                               Left_CL is the end of the double
                                               centerline on the left side (note:
                                               the image is actually illustrated
                                               upside down, so that is why it
                                               appears “opposite” in the image
                                               marking process noted on the
6. Click on the File + Import Control          next page.)




7. The Import Control thumbnail is presented in the thumbnails on the left of
the image. Click it and the control points dialog is presented.




Click in the Label field with the “red plus” and it becomes a “yellow plus”.
Mark the corresponding location of the control point in the image and it
becomes a “green plus”.




Do this action for the remaining (minimum) of 4 control points.

Note that the “Rectified Image” in the lower left of the dialog box displays
two options, “Full Image” and “Bounded by control points”. The default is
Full Image. The operator can choose to rectify either the entire original
image (full image), which is the default case or a portion of the original
image (bounded by control points …) equal to the area encompassed by the
control points, plus a border area of approximately 10%.. In this example,
we are going to leave the tick mark on the default “Full Image”.

The below illustrates all 5 Control Points Marked, from the Control Points
Dialog Box:
8.   Click the “Create Image”




The Save As dialog will now be presented. Name the resulting Projective
Transformation Image a new name; (we’ll call it “Crash”). Save it to your
working folder.

The new image named “Crash.jpg” is now planar rectified and an image
thumbnail of it is presented above the Control Points dialog box:




9. Output File from XYRectify:
The saved JPEG is accompanied by ‘tfw’ or ‘World files’ which define the XY
reference coordinate system for the rectified image. The TFW (ASCII text
file) is named the same name as your image; (in this example case
“Crash.twf” located in your working directory.

The image can now be imported into your favorite CAD package.
IMAGE SCALING TIP:
What we have found, for those that do not have a program that reads the
TFW coordinates output from XYRectify, it is easier to just apply scale in a
CAD program; in this case, we will scale the image in the CAD Zones “Crash
Zone” diagramming software www.cadzone.com as noted below:




The image is now scaled, and the user can zoom in and “trace” the image
using the CAD tools for an accurate 2D diagramming of the entities on the
XYRectify planar surface.




©2008 All Rights Reserved, DeChant Consulting Services – DCS Inc   www.iwitnessphoto.com

More Related Content

Viewers also liked (7)

Boom & Bust cycles: the case of renewable energy in Spain
Boom & Bust cycles: the case of renewable energy in SpainBoom & Bust cycles: the case of renewable energy in Spain
Boom & Bust cycles: the case of renewable energy in Spain
 
регламент2011 для f1-league
регламент2011 для f1-leagueрегламент2011 для f1-league
регламент2011 для f1-league
 
Reliability Engineering
Reliability EngineeringReliability Engineering
Reliability Engineering
 
эконом регламент 2011 f1-league
эконом регламент 2011 f1-leagueэконом регламент 2011 f1-league
эконом регламент 2011 f1-league
 
Bolivia
BoliviaBolivia
Bolivia
 
Maintenance Engineering
Maintenance EngineeringMaintenance Engineering
Maintenance Engineering
 
Metadata for musicians at barcamp philly 2015
Metadata for musicians at barcamp philly 2015Metadata for musicians at barcamp philly 2015
Metadata for musicians at barcamp philly 2015
 

Similar to Xy rectify tip_sheet

1 of 6 LAB 5 IMAGE FILTERING ECE180 Introduction to.docx
1 of 6  LAB 5 IMAGE FILTERING ECE180 Introduction to.docx1 of 6  LAB 5 IMAGE FILTERING ECE180 Introduction to.docx
1 of 6 LAB 5 IMAGE FILTERING ECE180 Introduction to.docx
mercysuttle
 
study Seam Carving For Content Aware Image Resizing
study Seam Carving For Content Aware Image Resizingstudy Seam Carving For Content Aware Image Resizing
study Seam Carving For Content Aware Image Resizing
Chiamin Hsu
 

Similar to Xy rectify tip_sheet (20)

1 of 6 LAB 5 IMAGE FILTERING ECE180 Introduction to.docx
1 of 6  LAB 5 IMAGE FILTERING ECE180 Introduction to.docx1 of 6  LAB 5 IMAGE FILTERING ECE180 Introduction to.docx
1 of 6 LAB 5 IMAGE FILTERING ECE180 Introduction to.docx
 
Zooming an image in visual basic
Zooming an image in visual basicZooming an image in visual basic
Zooming an image in visual basic
 
Risa education tut
Risa education tutRisa education tut
Risa education tut
 
Magazine awr-ims-3
Magazine awr-ims-3Magazine awr-ims-3
Magazine awr-ims-3
 
Using microsoft excel for weibull analysis
Using microsoft excel for weibull analysisUsing microsoft excel for weibull analysis
Using microsoft excel for weibull analysis
 
Using Microsoft Excel for Weibull Analysis by William Dorner
Using Microsoft Excel for Weibull Analysis by William DornerUsing Microsoft Excel for Weibull Analysis by William Dorner
Using Microsoft Excel for Weibull Analysis by William Dorner
 
Maya
MayaMaya
Maya
 
SDN Mentor Hands On - Exercise 2
SDN Mentor Hands On - Exercise 2SDN Mentor Hands On - Exercise 2
SDN Mentor Hands On - Exercise 2
 
Axis vm stepbystep
Axis vm stepbystepAxis vm stepbystep
Axis vm stepbystep
 
dominguez_cecilia_image-processing-manual
dominguez_cecilia_image-processing-manualdominguez_cecilia_image-processing-manual
dominguez_cecilia_image-processing-manual
 
Log polar coordinates
Log polar coordinatesLog polar coordinates
Log polar coordinates
 
study Seam Carving For Content Aware Image Resizing
study Seam Carving For Content Aware Image Resizingstudy Seam Carving For Content Aware Image Resizing
study Seam Carving For Content Aware Image Resizing
 
CATIA DMU Kinematic Simulation - TecnisiaCAD
CATIA DMU Kinematic Simulation - TecnisiaCAD CATIA DMU Kinematic Simulation - TecnisiaCAD
CATIA DMU Kinematic Simulation - TecnisiaCAD
 
Animator32
Animator32Animator32
Animator32
 
Bouncing ball training tracker
Bouncing ball training trackerBouncing ball training tracker
Bouncing ball training tracker
 
Dipole
DipoleDipole
Dipole
 
BMVA summer school MATLAB programming tutorial
BMVA summer school MATLAB programming tutorialBMVA summer school MATLAB programming tutorial
BMVA summer school MATLAB programming tutorial
 
Eagle tut
Eagle tutEagle tut
Eagle tut
 
Unit 3
Unit 3Unit 3
Unit 3
 
Programming in matlab lesson5
Programming in matlab lesson5Programming in matlab lesson5
Programming in matlab lesson5
 

Recently uploaded

Why Teams call analytics are critical to your entire business
Why Teams call analytics are critical to your entire businessWhy Teams call analytics are critical to your entire business
Why Teams call analytics are critical to your entire business
panagenda
 
Architecting Cloud Native Applications
Architecting Cloud Native ApplicationsArchitecting Cloud Native Applications
Architecting Cloud Native Applications
WSO2
 

Recently uploaded (20)

Apidays New York 2024 - The Good, the Bad and the Governed by David O'Neill, ...
Apidays New York 2024 - The Good, the Bad and the Governed by David O'Neill, ...Apidays New York 2024 - The Good, the Bad and the Governed by David O'Neill, ...
Apidays New York 2024 - The Good, the Bad and the Governed by David O'Neill, ...
 
WSO2's API Vision: Unifying Control, Empowering Developers
WSO2's API Vision: Unifying Control, Empowering DevelopersWSO2's API Vision: Unifying Control, Empowering Developers
WSO2's API Vision: Unifying Control, Empowering Developers
 
EMPOWERMENT TECHNOLOGY GRADE 11 QUARTER 2 REVIEWER
EMPOWERMENT TECHNOLOGY GRADE 11 QUARTER 2 REVIEWEREMPOWERMENT TECHNOLOGY GRADE 11 QUARTER 2 REVIEWER
EMPOWERMENT TECHNOLOGY GRADE 11 QUARTER 2 REVIEWER
 
MINDCTI Revenue Release Quarter One 2024
MINDCTI Revenue Release Quarter One 2024MINDCTI Revenue Release Quarter One 2024
MINDCTI Revenue Release Quarter One 2024
 
Why Teams call analytics are critical to your entire business
Why Teams call analytics are critical to your entire businessWhy Teams call analytics are critical to your entire business
Why Teams call analytics are critical to your entire business
 
Apidays New York 2024 - APIs in 2030: The Risk of Technological Sleepwalk by ...
Apidays New York 2024 - APIs in 2030: The Risk of Technological Sleepwalk by ...Apidays New York 2024 - APIs in 2030: The Risk of Technological Sleepwalk by ...
Apidays New York 2024 - APIs in 2030: The Risk of Technological Sleepwalk by ...
 
Architecting Cloud Native Applications
Architecting Cloud Native ApplicationsArchitecting Cloud Native Applications
Architecting Cloud Native Applications
 
AWS Community Day CPH - Three problems of Terraform
AWS Community Day CPH - Three problems of TerraformAWS Community Day CPH - Three problems of Terraform
AWS Community Day CPH - Three problems of Terraform
 
MS Copilot expands with MS Graph connectors
MS Copilot expands with MS Graph connectorsMS Copilot expands with MS Graph connectors
MS Copilot expands with MS Graph connectors
 
Connector Corner: Accelerate revenue generation using UiPath API-centric busi...
Connector Corner: Accelerate revenue generation using UiPath API-centric busi...Connector Corner: Accelerate revenue generation using UiPath API-centric busi...
Connector Corner: Accelerate revenue generation using UiPath API-centric busi...
 
Polkadot JAM Slides - Token2049 - By Dr. Gavin Wood
Polkadot JAM Slides - Token2049 - By Dr. Gavin WoodPolkadot JAM Slides - Token2049 - By Dr. Gavin Wood
Polkadot JAM Slides - Token2049 - By Dr. Gavin Wood
 
"I see eyes in my soup": How Delivery Hero implemented the safety system for ...
"I see eyes in my soup": How Delivery Hero implemented the safety system for ..."I see eyes in my soup": How Delivery Hero implemented the safety system for ...
"I see eyes in my soup": How Delivery Hero implemented the safety system for ...
 
Apidays New York 2024 - Passkeys: Developing APIs to enable passwordless auth...
Apidays New York 2024 - Passkeys: Developing APIs to enable passwordless auth...Apidays New York 2024 - Passkeys: Developing APIs to enable passwordless auth...
Apidays New York 2024 - Passkeys: Developing APIs to enable passwordless auth...
 
Introduction to Multilingual Retrieval Augmented Generation (RAG)
Introduction to Multilingual Retrieval Augmented Generation (RAG)Introduction to Multilingual Retrieval Augmented Generation (RAG)
Introduction to Multilingual Retrieval Augmented Generation (RAG)
 
ProductAnonymous-April2024-WinProductDiscovery-MelissaKlemke
ProductAnonymous-April2024-WinProductDiscovery-MelissaKlemkeProductAnonymous-April2024-WinProductDiscovery-MelissaKlemke
ProductAnonymous-April2024-WinProductDiscovery-MelissaKlemke
 
Mcleodganj Call Girls 🥰 8617370543 Service Offer VIP Hot Model
Mcleodganj Call Girls 🥰 8617370543 Service Offer VIP Hot ModelMcleodganj Call Girls 🥰 8617370543 Service Offer VIP Hot Model
Mcleodganj Call Girls 🥰 8617370543 Service Offer VIP Hot Model
 
TrustArc Webinar - Unlock the Power of AI-Driven Data Discovery
TrustArc Webinar - Unlock the Power of AI-Driven Data DiscoveryTrustArc Webinar - Unlock the Power of AI-Driven Data Discovery
TrustArc Webinar - Unlock the Power of AI-Driven Data Discovery
 
Apidays New York 2024 - Accelerating FinTech Innovation by Vasa Krishnan, Fin...
Apidays New York 2024 - Accelerating FinTech Innovation by Vasa Krishnan, Fin...Apidays New York 2024 - Accelerating FinTech Innovation by Vasa Krishnan, Fin...
Apidays New York 2024 - Accelerating FinTech Innovation by Vasa Krishnan, Fin...
 
Vector Search -An Introduction in Oracle Database 23ai.pptx
Vector Search -An Introduction in Oracle Database 23ai.pptxVector Search -An Introduction in Oracle Database 23ai.pptx
Vector Search -An Introduction in Oracle Database 23ai.pptx
 
Elevate Developer Efficiency & build GenAI Application with Amazon Q​
Elevate Developer Efficiency & build GenAI Application with Amazon Q​Elevate Developer Efficiency & build GenAI Application with Amazon Q​
Elevate Developer Efficiency & build GenAI Application with Amazon Q​
 

Xy rectify tip_sheet

  • 1. XYRectify tip sheet This tip sheet was prepared for users with a working knowledge of the iWitnessTM close-range photogrammetry software system 1. Best to calibrate the camera in iWitness, and use the focal length at the calibration setting for imaging with XYRectify If the camera is NOT in the global camera database, and upon importing the image, the following dialog box is presented: 2. Note, in this instance, the focal length of 26mm is simply read from the EXIF header tag. If the Pixel size is not correct, it doesn’t matter as focal length is not used, however radial distortion can improve the result if the camera is calibrated. 3. In this example, the camera was not calibrated, so there’s no correction for the DISTORTIONS (specifically K1). For accident reconstruction measurements, the K2, and K3, as well as P1 and P2 are not as important as
  • 2. K1. If the camera has been calibrated, then it is best to click the “Apply corrections” box. The pixel size (mm) should be proper relative to the c(mm) focal length. NOTE: it is always better to work with a camera that’s been calibrated with iWitness to optimize accuracy! 4. At this point, the camera parameters are setup and the image will be imported into XYRectify. 5. Control Points: XYRectify requires a minimum of 4 control points that are on a fairly planar surface (in this example a roadway intersection.) The control points are XY coordinates that should be accurate. In this instance a total station was used to derive the coordinates, but a total station is not the only way of obtaining these XY coordinates. Create a Control Point file using MS Notepad. Type in the name of the control point, and then its X, and Y coordinates. See the below screen capture:
  • 3. In our example” Lwr_BE” means “Lower Bulls-Eye” as defined by the white X and the white circle in the image. Left_CL is the end of the double centerline on the left side (note: the image is actually illustrated upside down, so that is why it appears “opposite” in the image marking process noted on the 6. Click on the File + Import Control next page.) 7. The Import Control thumbnail is presented in the thumbnails on the left of the image. Click it and the control points dialog is presented. Click in the Label field with the “red plus” and it becomes a “yellow plus”.
  • 4. Mark the corresponding location of the control point in the image and it becomes a “green plus”. Do this action for the remaining (minimum) of 4 control points. Note that the “Rectified Image” in the lower left of the dialog box displays two options, “Full Image” and “Bounded by control points”. The default is Full Image. The operator can choose to rectify either the entire original image (full image), which is the default case or a portion of the original image (bounded by control points …) equal to the area encompassed by the control points, plus a border area of approximately 10%.. In this example, we are going to leave the tick mark on the default “Full Image”. The below illustrates all 5 Control Points Marked, from the Control Points Dialog Box:
  • 5. 8. Click the “Create Image” The Save As dialog will now be presented. Name the resulting Projective Transformation Image a new name; (we’ll call it “Crash”). Save it to your working folder. The new image named “Crash.jpg” is now planar rectified and an image thumbnail of it is presented above the Control Points dialog box: 9. Output File from XYRectify: The saved JPEG is accompanied by ‘tfw’ or ‘World files’ which define the XY reference coordinate system for the rectified image. The TFW (ASCII text file) is named the same name as your image; (in this example case “Crash.twf” located in your working directory. The image can now be imported into your favorite CAD package.
  • 6. IMAGE SCALING TIP: What we have found, for those that do not have a program that reads the TFW coordinates output from XYRectify, it is easier to just apply scale in a CAD program; in this case, we will scale the image in the CAD Zones “Crash Zone” diagramming software www.cadzone.com as noted below: The image is now scaled, and the user can zoom in and “trace” the image using the CAD tools for an accurate 2D diagramming of the entities on the XYRectify planar surface. ©2008 All Rights Reserved, DeChant Consulting Services – DCS Inc www.iwitnessphoto.com