Skip to topic
|
Skip to bottom
Jump:
TModeling
TModeling Web
TModeling Web Home
Changes
Notify
Index
Search
Webs
BioGeometry
Main
TModeling
TWiki
Edit
Attach
Printable
TModeling.OttawaData
r1.1 - 31 Dec 2008 - 17:39 - Main.guest
topic end
Start of topic |
Skip to actions
%TOC% Some files and images of the Ottawa data set, and a brief description of the file format for the point cloud. We are hoping to get images yet so that we can do the image registration tasks. -- Main.JackSnoeyink - 02 Jun 2008 ---+++ Images * Subset of the points in tile 148 shows overall structure: <pre>sp_viewer -i 148.spb</pre> <br /> <img src="%ATTACHURLPATH%/148points.png" alt="Subset of the points in tile 148" width="1032" height="800" /> ------ * All data points in tile 148 shows the structure of the building samples. Note detail in power lines. =sp_viewer -i 148.spb= _then press 'r'_ <img src="%ATTACHURLPATH%/148all.png" alt="All data points in tile 148. Note the balconies." width="1032" height="800" /> ------ * Compressed streaming mesh with 1% of the points without filtering for structures like power lines or returns through or off windows shows the need to remove error points: <pre>spdelaunay2d -i 148.spb -osmb | smsimp -n 2000000 -t 0.01 -ismb -osmb | sm_viewer -ismb</pre><br /> <img src="%ATTACHURLPATH%/148_01side.png" alt="Compressed streaming mesh with 1% of the points" width="1031" height="800" /> ------ ---+++ OttawaDataNotes Notes on where the files are at UNC ---+++ Data format description Tiles are delivered in the format as described below. <pre> typedef struct { char signature[4]; // Signature of the file format (always UPCf) UCHAR versionMajor; // The major version number for the file UCHAR versionMinor; // The minor version number for the file USHORT headerSize; // Size of the header block unsigned __int64 numOfPts; // The number of points within the file double xScale; // The scale used in the x-coord double yScale; // The scale used in the y-coord double zScale; // The scale used in the z-coord double xOffset; // The offset used in the x-coord double yOffset; // The offset used in the y-coord double zOffset; // The offset used in the z-coord } HEADER; typedef struct { double gpsTimeOfWeek; // The GPS time of week of the point char sensorNum[2]; // The laser sensor number used for the point char julianDay[3]; // The day the point was collected char flightLine[3]; // The flight line number of the point int x; // The recorded x-coord of the point int y; // The recorded y-coord of the point int z; // The recorded z-coord of the point UCHAR intensity; // The intensity of the point USHORT red; // The red component of the point USHORT green; // The green component of the point USHORT blue; // The blue component of the point char returnNum; // The return number of the point }DATA_10; </pre> ---+++ MATLAB functions to read UPC To get us going until we write a UPC reader, I've attached some MATLAB scripts that can read UPC files, albeit slowly. * [[%ATTACHURL%/readUPC.m][readUPC.m]]: read a limited number of lines from a UPC file. * [[%ATTACHURL%/readUPChead.m][readUPChead.m]]: read the header of a UPC file ---+++ Links for Modules: For more information on [[http://wwwx.cs.unc.edu/Research/compgeom/twiki/bin/view.cgi/TModeling/Sp_viewer][sp_viewer]], [[http://wwwx.cs.unc.edu/Research/compgeom/twiki/bin/view.cgi/TModeling/Sm_viewer][sm_viewer]], and other streaming modules, go to [[http://wwwx.cs.unc.edu/Research/compgeom/twiki/bin/view.cgi/TModeling/StreamingModules][StreamingModules]]. * [[%ATTACHURL%/saveUniqueOttawa.m][saveUniqueOttawa.m]]: MATLAB script to save unique points in a set of tiles to .rawf format.
to top
End of topic
Skip to action links
|
Back to top
Edit
|
Attach image or document
|
Printable version
|
Raw text
|
More topic actions
Revisions: | r1.1
|
Total page history
|
Backlinks
You are here:
TModeling
>
OttawaData
to top
Copyright © 1999-2024 by the contributing authors. All material on this collaboration platform is the property of the contributing authors.
Ideas, requests, problems regarding TWiki?
Send feedback