Awesome
<center><h2>Adaptive Multigrid Solvers (Version 18.60)</h2></center> <center> <a href="#LINKS">links</a> <a href="#COMPILATION">compilation</a> <a href="#EXECUTABLES">executables</a> <a href="#LIBRARY">library</a> <a href="#USAGE">usage</a> <a href="#CHANGES">changes</a> </center> <hr> This code-base was born from the Poisson Surface Reconstruction code. It has evolved to support more general adaptive finite-elements systems: <UL> <LI> in spaces of arbitrary dimension, <LI> discretized using finite-elements of arbitrary degree, <LI> involving arbitrary function derivatives, <LI> with both point-wise and integrated constraints. </UL> <hr> <a name="LINKS"><b>LINKS</b></a><br> <ul> <b>Papers:</b> <a href="https://www.cs.jhu.edu/~misha/MyPapers/SGP06.pdf">[Kazhdan, Bolitho, and Hoppe, 2006]</a>, <a href="https://www.agarwala.org/efficient_gdc/">[Agarwala, 2007]</A> <a href="http://mesh.brown.edu/ssd/">[Calakli and Taubin, 2011]</a>, <A HREF="https://www.cs.cmu.edu/~kmcrane/Projects/HeatMethod/">[Crane, Weischedel, and Wardetzky, 2013]</a>, <a href="https://www.cs.jhu.edu/~misha/MyPapers/ToG13.pdf">[Kazhdan and Hoppe, 2013]</a>, <a href="https://www.cs.jhu.edu/~misha/MyPapers/CGF18.pdf">[Kazhdan and Hoppe, 2018]</a>, <a href="https://www.cs.jhu.edu/~misha/MyPapers/SGP20.pdf">[Kazhdan, Chuang, Rusinkiewicz, and Hoppe, 2020]</a> <a href="https://www.cs.jhu.edu/~misha/MyPapers/CGF23.pdf">[Kazhdan and Hoppe, 2023]</a> <br> <b>Executables: </b> <a href="https://www.cs.jhu.edu/~misha/Code/PoissonRecon/Version18.60/AdaptiveSolvers.x64.zip">Win64</a><br> <b>Source Code:</b> <a href="https://www.cs.jhu.edu/~misha/Code/PoissonRecon/Version18.60/AdaptiveSolvers.zip">ZIP</a> <a href="https://github.com/mkazhdan/PoissonRecon">GitHub</a><br> <b>Older Versions:</b> <a href="https://www.cs.jhu.edu/~misha/Code/PoissonRecon/Version18.42/">V18.55</a>, <a href="https://www.cs.jhu.edu/~misha/Code/PoissonRecon/Version18.42/">V18.50</a>, <a href="https://www.cs.jhu.edu/~misha/Code/PoissonRecon/Version18.42/">V18.42</a>, <a href="https://www.cs.jhu.edu/~misha/Code/PoissonRecon/Version18.41/">V18.41</a>, <a href="https://www.cs.jhu.edu/~misha/Code/PoissonRecon/Version18.40/">V18.40</a>, <a href="https://www.cs.jhu.edu/~misha/Code/PoissonRecon/Version18.35/">V18.35</a>, <a href="https://www.cs.jhu.edu/~misha/Code/PoissonRecon/Version18.31/">V18.31</a>, <a href="https://www.cs.jhu.edu/~misha/Code/PoissonRecon/Version18.30/">V18.30</a>, <a href="https://www.cs.jhu.edu/~misha/Code/PoissonRecon/Version18.20/">V18.20</a>, <a href="https://www.cs.jhu.edu/~misha/Code/PoissonRecon/Version18.10/">V18.10</a>, <a href="https://www.cs.jhu.edu/~misha/Code/PoissonRecon/Version18.05/">V18.05</a>, <a href="https://www.cs.jhu.edu/~misha/Code/PoissonRecon/Version18.04/">V18.04</a>, <a href="https://www.cs.jhu.edu/~misha/Code/PoissonRecon/Version18.03/">V18.03</a>, <a href="https://www.cs.jhu.edu/~misha/Code/PoissonRecon/Version18.02/">V18.02</a>, <a href="https://www.cs.jhu.edu/~misha/Code/PoissonRecon/Version18.01/">V18.01</a>, <a href="https://www.cs.jhu.edu/~misha/Code/PoissonRecon/Version18.00/">V18.00</a>, <a href="https://www.cs.jhu.edu/~misha/Code/PoissonRecon/Version17.00/">V17.00</a>, <a href="https://www.cs.jhu.edu/~misha/Code/PoissonRecon/Version16.10/">V16.10</a>, <a href="https://www.cs.jhu.edu/~misha/Code/PoissonRecon/Version16.09/">V16.09</a>, <a href="https://www.cs.jhu.edu/~misha/Code/PoissonRecon/Version16.08/">V16.08</a>, <a href="https://www.cs.jhu.edu/~misha/Code/PoissonRecon/Version16.07/">V16.07</a>, <a href="https://www.cs.jhu.edu/~misha/Code/PoissonRecon/Version16.06/">V16.06</a>, <a href="https://www.cs.jhu.edu/~misha/Code/PoissonRecon/Version16.05/">V16.05</a>, <a href="https://www.cs.jhu.edu/~misha/Code/PoissonRecon/Version16.04/">V16.04</a>, <a href="https://www.cs.jhu.edu/~misha/Code/PoissonRecon/Version16.03/">V16.03</a>, <a href="https://www.cs.jhu.edu/~misha/Code/PoissonRecon/Version16.02/">V16.02</a>, <a href="https://www.cs.jhu.edu/~misha/Code/PoissonRecon/Version16.01/">V16.01</a>, <a href="https://www.cs.jhu.edu/~misha/Code/PoissonRecon/Version15.10/">V15.10</a>, <a href="https://www.cs.jhu.edu/~misha/Code/PoissonRecon/Version15.03/">V15.03</a>, <a href="https://www.cs.jhu.edu/~misha/Code/PoissonRecon/Version15.02/">V15.02</a>, <a href="https://www.cs.jhu.edu/~misha/Code/PoissonRecon/Version15.01/">V15.01</a>, <a href="https://www.cs.jhu.edu/~misha/Code/PoissonRecon/Version15.00/">V15.00</a>, <a href="https://www.cs.jhu.edu/~misha/Code/PoissonRecon/Version14.02/">V14.02</a>, <a href="https://www.cs.jhu.edu/~misha/Code/PoissonRecon/Version14.01/">V14.01</a>, <a href="https://www.cs.jhu.edu/~misha/Code/PoissonRecon/Version14.00/">V14.00</a>, <a href="https://www.cs.jhu.edu/~misha/Code/PoissonRecon/Version13.99/">V13.99</a>, <a href="https://www.cs.jhu.edu/~misha/Code/PoissonRecon/Version13.80/">V13.80</a>, <a href="https://www.cs.jhu.edu/~misha/Code/PoissonRecon/Version13.74/">V13.74</a>, <a href="https://www.cs.jhu.edu/~misha/Code/PoissonRecon/Version13.73/">V13.73</a>, <a href="https://www.cs.jhu.edu/~misha/Code/PoissonRecon/Version13.72/">V13.72</a>, <a href="https://www.cs.jhu.edu/~misha/Code/PoissonRecon/Version13.71/">V13.71</a>, <a href="https://www.cs.jhu.edu/~misha/Code/PoissonRecon/Version13.70/">V13.70</a>, <a href="https://www.cs.jhu.edu/~misha/Code/PoissonRecon/Version13.61/">V13.61</a>, <a href="https://www.cs.jhu.edu/~misha/Code/PoissonRecon/Version13.60/">V13.60</a>, <a href="https://www.cs.jhu.edu/~misha/Code/PoissonRecon/Version13.50/">V13.50</a>, <a href="https://www.cs.jhu.edu/~misha/Code/PoissonRecon/Version13.00/">V13.00</a>, <a href="https://www.cs.jhu.edu/~misha/Code/PoissonRecon/Version12.00/">V12.00</a>, <a href="https://www.cs.jhu.edu/~misha/Code/PoissonRecon/Version11.02/">V11.02</a>, <a href="https://www.cs.jhu.edu/~misha/Code/PoissonRecon/Version11.01/">V11.01</a>, <a href="https://www.cs.jhu.edu/~misha/Code/PoissonRecon/Version11.00/">V11.00</a>, <a href="https://www.cs.jhu.edu/~misha/Code/PoissonRecon/Version10.07/">V10.07</a>, <a href="https://www.cs.jhu.edu/~misha/Code/PoissonRecon/Version10.06/">V10.06</a>, <a href="https://www.cs.jhu.edu/~misha/Code/PoissonRecon/Version10.05/">V10.05</a>, <a href="https://www.cs.jhu.edu/~misha/Code/PoissonRecon/Version10.04/">V10.04</a>, <a href="https://www.cs.jhu.edu/~misha/Code/PoissonRecon/Version10.03/">V10.03</a>, <a href="https://www.cs.jhu.edu/~misha/Code/PoissonRecon/Version10.02/">V10.02</a>, <a href="https://www.cs.jhu.edu/~misha/Code/PoissonRecon/Version10.01/">V10.01</a>, <a href="https://www.cs.jhu.edu/~misha/Code/PoissonRecon/Version10.00/">V10.00</a>, <a href="https://www.cs.jhu.edu/~misha/Code/PoissonRecon/Version9.011/">V9.011</a>, <a href="https://www.cs.jhu.edu/~misha/Code/PoissonRecon/Version9.01/">V9.01</a>, <a href="https://www.cs.jhu.edu/~misha/Code/PoissonRecon/Version9.0/">V9.0</a>, <a href="https://www.cs.jhu.edu/~misha/Code/PoissonRecon/Version8.0/">V8.0</a>, <a href="https://www.cs.jhu.edu/~misha/Code/PoissonRecon/Version7.0/">V7.0</a>, <a href="https://www.cs.jhu.edu/~misha/Code/PoissonRecon/Version6.13a/">V6.13a</a>, <a href="https://www.cs.jhu.edu/~misha/Code/PoissonRecon/Version6.13/">V6.13</a>, <a href="https://www.cs.jhu.edu/~misha/Code/PoissonRecon/Version6.12/">V6.12</a>, <a href="https://www.cs.jhu.edu/~misha/Code/PoissonRecon/Version6.11/">V6.11</a>, <a href="https://www.cs.jhu.edu/~misha/Code/PoissonRecon/Version6.1/">V6.1</a>, <a href="https://www.cs.jhu.edu/~misha/Code/PoissonRecon/Version6/">V6</a>, <a href="https://www.cs.jhu.edu/~misha/Code/PoissonRecon/Version5.71/">V5.71</a>, <a href="https://www.cs.jhu.edu/~misha/Code/PoissonRecon/Version5.6/">V5.6</a>, <a href="https://www.cs.jhu.edu/~misha/Code/PoissonRecon/Version5.5a/">V5.5a</a>, <a href="https://www.cs.jhu.edu/~misha/Code/PoissonRecon/Version5.1/">V5.1</a>, <a href="https://www.cs.jhu.edu/~misha/Code/PoissonRecon/Version5/">V5</a>, <a href="https://www.cs.jhu.edu/~misha/Code/PoissonRecon/Version4.51/">V4.51</a>, <a href="https://www.cs.jhu.edu/~misha/Code/PoissonRecon/Version4.5/">V4.5</a>, <a href="https://www.cs.jhu.edu/~misha/Code/PoissonRecon/Version4/">V4</a>, <a href="https://www.cs.jhu.edu/~misha/Code/PoissonRecon/Version3/">V3</a>, <a href="https://www.cs.jhu.edu/~misha/Code/PoissonRecon/Version2/">V2</a>, <a href="https://www.cs.jhu.edu/~misha/Code/PoissonRecon/Version1/">V1</a> </ul> <hr> <a name="COMPILATION"><b>COMPILATION</b></a><br> <ul> <LI> For efficiency, the code is designed to compile for the specific FEM degree and boundary condition specified in <I>PoissonRecon.h</I>. (Specifically, <B>DEFAULT_FEM_DEGREE</B> is set to 1 and <B>DEFAULT_FEM_BOUNDARY</B> is set to Neumann.) You can change the default values in <I>PoissonRecon.h</I>. You can also compile the code so that it supports varying FEM degrees and boundary conditions by un-<CODE>#define</CODE>-ing <B>FAST_COMPILE</B> in <I>PreProcess.h</I>. However, this will make the compilation significantly slower. <LI> By default, the implementation assumes that all indexing can be done with 32-bit integers. If you are reconstructing large scenes and need more bits for indexing, you should enable the <B>BIG_DATA</B> flag in <I>PreProcessor.h</I>. Note that if the generated mesh has more primitives than can be indexed by a 32-bit integer, the output <i>.ply</i> file will store the integers using 64-bit precision (designated by the <i>long long</i> type) instead of the standard 32-bit precision (designated by the <i>int</i> type). Note that this is not a standard format and software like <A HREF="https://www.meshlab.net/">MeshLab</A> may not be able to read the file. <LI> The distributed PSR code uses sockets for communication between the client and the server. These are supported in a cross-platform way via <A HREF="https://www.boost.org">Boost</A>. (The code was developed and tested under Boost <A HREF="https://www.boost.org/users/history/version_1_80_0.html">version 1.80.0</A>.)<br> <LI> To support reading/writing images, the code requires installation of the <i>zlib</i>, <i>png</i>, and <i>jpg</i> libraries. Source code for these is included for compilation using Visual Studios. The Makefile assumes that the header files can be found in <i>/usr/local/include/</i> and that the library files can be found in <i>/usr/local/lib/</i>. </UL> </ul> <hr> <a name="EXECUTABLES"><b>EXECUTABLES</b></a><br> <ul> <dl> <DETAILS> <SUMMARY> <font size="+1"><b>PoissonRecon</b></font>: Reconstructs a triangle mesh from a set of oriented 3D points by solving a Poisson system (solving a 3D Laplacian system with positional value constraints) <a href="https://www.cs.jhu.edu/~misha/MyPapers/SGP06.pdf">[Kazhdan, Bolitho, and Hoppe, 2006]</a>, <a href="https://www.cs.jhu.edu/~misha/MyPapers/ToG13.pdf">[Kazhdan and Hoppe, 2013]</a>, <a href="https://www.cs.jhu.edu/~misha/MyPapers/CGF18.pdf">[Kazhdan and Hoppe, 2018]</a>, <a href="https://www.cs.jhu.edu/~misha/MyPapers/SGP20.pdf">[Kazhdan, Chuang, Rusinkiewicz, and Hoppe, 2020]</a> </SUMMARY> <dt><b>--in</b> <<i>input points</i>> </dt><dd> This string is the name of the file from which the point set will be read.<br> If the file extension is <i>.ply</i>, the file should be in <a href="https://www.cc.gatech.edu/projects/large_models/ply.html">PLY</a> format, giving the list of oriented vertices with the x-, y-, and z-coordinates of the positions encoded by the properties <i>x</i>, <i>y</i>, and <i>z</i> and the x-, y-, and z-coordinates of the normals encoded by the properties <i>nx</i>, <i>ny</i>, and <i>nz</i> .<br> If the file extension is <i>.bnpts</i>, the file should be a binary file, consisting of blocks of 6 32-bit floats: x-, y-, and z-coordinates of the point's position, followed by the x-, y-, and z-coordinates of the point's normal. (No information about the number of oriented point samples should be specified.)<br> Otherwise, the file should be an ascii file with groups of 6, white space delimited, numbers: x-, y-, and z-coordinates of the point's position, followed by the x-, y- and z-coordinates of the point's normal. (No information about the number of oriented point samples should be specified.)<br> </dd> <dt>[<b>--envelope</b> <<i>constraint envelope</i>>] </dt><dd> This string is the name of the file from which the constraint envelope will be read.<br> The file should be a water-tight triangle mesh in <a href="https://www.cc.gatech.edu/projects/large_models/ply.html">PLY</a> format, oriented so that the normals are pointing in the direction that should be outside of the reconstructed surface.<br> </dd><dt>[<b>--out</b> <<i>output triangle mesh</i>>] </dt><dd> This string is the name of the file to which the triangle mesh will be written. The file is written in <a href="https://www.cc.gatech.edu/projects/large_models/ply.html">PLY</a> format. </dd><dt>[<b>--tree</b> <<i>output octree and coefficients</i>>] </dt><dd> This string is the name of the file to which the the octree and solution coefficients are to be written. </dd><dt>[<b>--grid</b> <<i>output grid</i>>] </dt><dd> This string is the name of the file to which the sampled implicit function will be written. The file consistes of seven header lines in ASCII describing the contents, following by the grid values in binary.<BR> <UL> <LI>The header looks like:<PRE><CODE>G3 1 FLOAT <RES_X> <RES_Y> <RES_Z> <M_00> <M_01> <M_02> <M_03> <M_10> <M_11> <M_12> <M_13> <M_20> <M_21> <M_22> <M_23> <M_30> <M_31> <M_22> <M_33> </CODE></PRE> The first two lines describe the contents of the file -- a 3D grid with a single floating point value per cell.<br> The next line gives the resolution of the grid in <code>x</code>-, <code>y</code>-, and <code>z</code>-directions.<br> The following four lines give the 4x4 coefficients of the homogenous transformation <CODE><M></CODE> taking grid-space coordinates to world-coordinates. <LI> The next 4 x <code><RES_X></code> x <code><RES_Y></code> x <code><RES_Z></code> bytes correspond to the (single precision) floating point values of the implicit function. </UL> </dd><dt>[<b>--degree</b> <<i>B-spline degree</i>>] </dt><dd> This integer specifies the degree of the B-spline that is to be used to define the finite elements system. Larger degrees support higher order approximations, but come at the cost of denser system matrices (incurring a cost in both space and time).<br> The default value for this parameter is 1. </dd><dt>[<b>--bType</b> <<i>boundary type</i>>] </dt><dd> This integer specifies the boundary type for the finite elements. Valid values are: <ul> <li> <b>1</b>: Free boundary constraints </li><li> <b>2</b>: Dirichlet boundary constraints </li><li> <b>3</b>: Neumann boundary constraints </li></ul> The default value for this parameter is 3 (Neumann). </dd><dt>[<b>--depth</b> <<i>reconstruction depth</i>>] </dt><dd> This integer is the maximum depth of the tree that will be used for surface reconstruction. Running at depth <i>d</i> corresponds to solving on a grid whose resolution is no larger than 2^<i>d</i> x 2^<i>d</i> x ... Note that since the reconstructor adapts the octree to the sampling density, the specified reconstruction depth is only an upper bound.<br> The default value for this parameter is 8. </dd><dt>[<b>--width</b> <<i>finest cell width</i>>] </dt><dd> This floating point value specifies the target width of the finest level octree cells.<br> This parameter is ignored if the <B>--depth</B> is also specified. </dd><dt>[<b>--scale</b> <<i>scale factor</i>>] </dt><dd> This floating point value specifies the ratio between the diameter of the cube used for reconstruction and the diameter of the samples' bounding cube.<br> The default value is 1.1. </dd><dt>[<b>--samplesPerNode</b> <<i>minimum number of samples</i>>] </dt><dd> This floating point value specifies the minimum number of sample points that should fall within an octree node as the octree construction is adapted to sampling density. For noise-free samples, small values in the range [1.0 - 5.0] can be used. For more noisy samples, larger values in the range [15.0 - 20.0] may be needed to provide a smoother, noise-reduced, reconstruction.<br> The default value is 1.5. </dd><dt>[<b>--pointWeight</b> <<i>interpolation weight</i>>] </dt><dd> This floating point value specifies the importance that interpolation of the point samples is given in the formulation of the screened Poisson equation.<br> The results of the original (unscreened) Poisson Reconstruction can be obtained by setting this value to 0.<br> The default value for this parameter is twice the B-spline degree. </dd><dt>[<b>--iters</b> <<i>Gauss-Seidel iterations per level</i>>] </dt><dd> This integer value specifies the number of Gauss-Seidel relaxations to be performed at each level of the octree hierarchy.<br> The default value for this parameter is 8. </dd><dt>[<b>--density</b>] </dt><dd> Enabling this flag tells the reconstructor to output the estimated depth values of the iso-surface vertices. </dd><dt>[<b>--colors</b>] </dt><dd> If the input points are in ASCII/binary format and contain color values, this flag lets the reconstruction code know that (1) each sample is represented by nine floating point values instead of the expected six, and that (2) color values should be output with the vertices of the reconstructed surface. (For input samples in the .ply format, the presence of color information, as well as any other additional per-sample data, is automatically determined from the file header.) </dd><dt>[<b>--data</b> <<i>pull factor</i>>] </dt><dd> If the input points have additional data (e.g. color) that is to be sampled at the output vertices, this floating point value specifies the relative importance of finer data over lower data in performing the extrapolation.<BR> The default value for this parameter is 32. </dd><dt>[<b>--confidence</b>] </dt><dd> Enabling this flag specifies that the normal lengths should be used as weights when considering the contribution of a sample. </dd><dt>[<b>--primalGrid</b>] </dt><dd> Enabling this flag when outputing to a grid file has the reconstructor sample the implicit function at the corners of the grid, rather than the centers of the cells. </dd><dt>[<b>--linearFit</b>] </dt><dd> Enabling this flag has the reconstructor use linear interpolation to estimate the positions of iso-vertices. </dd><dt>[<b>--polygonMesh</b>] </dt><dd> Enabling this flag tells the reconstructor to output a polygon mesh (rather than triangulating the results of Marching Cubes). </dd><dt>[<b>--tempDir</b> <<i>temporary output directory</i>>] </dt><dd> This string is the name of the directory to which temporary files will be written. </dd><dt>[<b>--threads</b> <<i>number of processing threads</i>>] </dt><dd> This integer specifies the number of threads across which the algorithm should be parallelized.<br> The default value for this parameter is equal to the numer of (virtual) processors on the executing machine. </dd><dt>[<b>--maxMemory</b> <<i>maximum memory usage (in GB)</i>>] </dt><dd> If positive, this integer value specifies the peak memory utilization for running the reconstruction code (forcing the execution to terminate if the limit is exceeded). </dd><dt>[<b>--performance</b>] </dt><dd> Enabling this flag provides running time and peak memory usage at the end of the execution. </dd><dt>[<b>--verbose</b>] </dt><dd> Enabling this flag provides a more verbose description of the running times and memory usages of individual components of the surface reconstructor. </dd> </DETAILS> </dl> </ul> <ul> <dl> <DETAILS> <SUMMARY> <font size="+1"><b>PoissonReconServer</b></font>: The server responsible for distributed Poisson Surface reconstruction <!-- <a href="https://www.cs.jhu.edu/~misha/MyPapers/SGP06.pdf">[Kazhdan, Bolitho, and Hoppe, 2006]</a>, <a href="https://www.cs.jhu.edu/~misha/MyPapers/ToG13.pdf">[Kazhdan and Hoppe, 2013]</a>, <a href="https://www.cs.jhu.edu/~misha/MyPapers/CGF18.pdf">[Kazhdan and Hoppe, 2018]</a>, <a href="https://www.cs.jhu.edu/~misha/MyPapers/SGP20.pdf">[Kazhdan, Chuang, Rusinkiewicz, and Hoppe, 2020]</a> --> </SUMMARY> <dt><b>--in</b> <<i>input points</i>></dt> <dd> This string is the name of the file from which the point set will be read.<br> The file is assumed to be in <B>binary</B> <a href="https://www.cc.gatech.edu/projects/large_models/ply.html">PLY</a> format, giving the list of oriented vertices with the x-, y-, and z-coordinates of the positions encoded by the properties <i>x</i>, <i>y</i>, and <i>z</i> and the x-, y-, and z-coordinates of the normals encoded by the properties <i>nx</i>, <i>ny</i>, and <i>nz</i>. (If additional properties, e.g. color, are provided per sample, these will be interpolated in the reconstruction.)<br> </dd> <dt><b>--tempDir</b> <<i>networked temporary output directory</i>></dt> <dd> This string is the name of the directory to which temporary files will be written.<br> The specified (networked) path is assumed to accessible to the server and all clients. </dd> <dt><b>--out</b> <<i>output polygon mesh (header)</i>></dt> <dd> This string is the name of the file to which the polygon mesh will be written (or the header, in the case <b>--keepSeparate</b> is specified).<BR> The file is written in <a href="https://www.cc.gatech.edu/projects/large_models/ply.html">PLY</a> format. </dd> <dt><b>--count</b> <<i>client count</i>></dt> <dd> This integer values specifies the number of clients that will be connecting to the server to peform the partitioning. </dd> <dt>[<b>--port</b> <<i>listening port</i>>]</dt> <dd> This optional integer specifies the port at which the server should listen for client requests.<BR> If no port is specified, the server will ask the system to provide one.<BR> Regardless of verbosity value, the server will print out the address and port to the command line. </dd> <dt>[<b>--depth</b> <<i>reconstruction depth</i>>=8] </dt><dd> This integer is the maximum depth of the tree that will be used for surface reconstruction. Running at depth <i>d</i> corresponds to solving on a grid whose resolution is no larger than 2^<i>d</i> x 2^<i>d</i> x ... Note that since the reconstructor adapts the octree to the sampling density, the specified reconstruction depth is only an upper bound.<br> </dd> <dt>[<b>--pDepth</b> <<i>partition/server depth</i>>=5] </dt><dd> This integer is the depth of the tree at which the server performs the reconstruction and is also the depth at which the partitioning of the points happens. Running at a partition/server depth <i>d</i> corresponds to having the server solve over a grid whose resolution is 2^<i>d</i> x 2^<i>d</i> x ... and partitions the point set into 2^<i>d</i> slabs.<BR> </dd> <dt>[<b>--width</b> <<i>finest cell width</i>>] </dt><dd> This floating point value specifies the target width of the finest level octree cells.<br> This parameter is ignored if the <B>--depth</B> flag is also specified. </dd> <dt>[<b>--degree</b> <<i>B-spline degree</i>>=1] </dt><dd> This integer specifies the degree of the B-spline that is to be used to define the finite elements system. Larger degrees support higher order approximations, but come at the cost of denser system matrices (incurring a cost in both space and time).<br> This option is only available if the code is compiled without the <B>FAST_COMPILE</B> flag <code>#define</code>-ed. </dd> <dt>[<b>--bType</b> <<i>boundary type</i>>=3] </dt><dd> This integer specifies the boundary type for the finite elements. Valid values are: <ul> <li> <b>1</b>: Free boundary constraints </li><li> <b>2</b>: Dirichlet boundary constraints </li><li> <b>3</b>: Neumann boundary constraints </li></ul> This option is only available if the code is compiled without the <B>FAST_COMPILE</B> flag <code>#define</code>-ed. </dd> <dt>[<b>--scale</b> <<i>scale factor</i>>=1.1] </dt><dd> This floating point value specifies the ratio between the diameter of the cube used for reconstruction and the diameter of the samples' bounding cube.<br> </dd> <dt>[<b>--samplesPerNode</b> <<i>minimum number of samples</i>>=1.5] </dt><dd> This floating point value specifies the minimum number of sample points that should fall within an octree node as the octree construction is adapted to sampling density. For noise-free samples, small values in the range [1.0 - 5.0] can be used. For more noisy samples, larger values in the range [15.0 - 20.0] may be needed to provide a smoother, noise-reduced, reconstruction.<br> </dd> <dt>[<b>--pointWeight</b> <<i>interpolation weight</i>>=2*<<i>B-spline degree</i>>] </dt><dd> This floating point value specifies the importance that interpolation of the point samples is given in the formulation of the screened Poisson equation.<br> The results of the original (unscreened) Poisson Reconstruction can be obtained by setting this value to 0.<br> </dd> <dt>[<b>--iters</b> <<i>Gauss-Seidel iterations per level</i>>=8] </dt><dd> This integer value specifies the number of Gauss-Seidel relaxations to be performed at each level of the octree hierarchy.<br> </dd> <dt>[<b>--density</b>] </dt><dd> Enabling this flag tells the reconstructor to output the estimated depth values of the iso-surface vertices. </dd> <dt>[<b>--data</b> <<i>pull factor</i>>=32] </dt><dd> If the input points have additional data (e.g. color) that is to be sampled at the output vertices, this floating point value specifies the relative importance of finer data over lower data in performing the extrapolation.<BR> </dd> <dt>[<b>--verbose</b> <<i>verbosity</i>>=0] </dt><dd> This integer value specifies the level of verbosity of output provided by the client and server, with "0" corresponding to no output and "4" giving the most.<BR> </dd> <dt>[<b>--confidence</b>] </dt><dd> Enabling this flag specifies that the normal lengths should be used as weights when considering the contribution of a sample. </dd> <dt>[<b>--linearFit</b>] </dt><dd> Enabling this flag has the reconstructor use linear interpolation to estimate the positions of iso-vertices. </dd> <dt>[<b>--threads</b> <<i>number of processing threads</i>>={number of (virtual) processors on the executing machine}] </dt><dd> This integer specifies the number of threads across which the algorithm should be parallelized. </dd> <dt>[<b>--maxMemory</b> <<i>maximum memory usage (in GB)</i>>] </dt><dd> If positive, this integer value specifies the peak memory utilization for running the reconstruction code (forcing the execution to terminate if the limit is exceeded).<BR> The default value for this parameter is 0. </dd> </dd><dt>[<b>--performance</b>] </dt><dd> Enabling this flag provides running time and peak memory usage at the end of the execution. </dd> </dd><dt>[<b>--noFuse</b>] </dt><dd> Enabling this flag keeps the server from fusing shared vertices across slabs. (The reconstructions from the different clients will still be merged into a single .ply file.) </dd> </dd><dt>[<b>--keepSeparate</b>] </dt><dd> Enabling this flag keeps the reconstructions computed by the clients separate. In this case, the value of <b>--out</b> is treated as a header and the the geometries are output to files <code><output header>.<client index>.ply</code>. </dd> </DETAILS> </dl> </ul> <ul> <dl> <DETAILS> <SUMMARY> <font size="+1"><b>PoissonReconClient</b></font>: The client responsible for distributed Poisson Surface reconstruction <!-- <a href="https://www.cs.jhu.edu/~misha/MyPapers/SGP06.pdf">[Kazhdan, Bolitho, and Hoppe, 2006]</a>, <a href="https://www.cs.jhu.edu/~misha/MyPapers/ToG13.pdf">[Kazhdan and Hoppe, 2013]</a>, <a href="https://www.cs.jhu.edu/~misha/MyPapers/CGF18.pdf">[Kazhdan and Hoppe, 2018]</a>, <a href="https://www.cs.jhu.edu/~misha/MyPapers/SGP20.pdf">[Kazhdan, Chuang, Rusinkiewicz, and Hoppe, 2020]</a> --> </SUMMARY> <dt><b>--port</b> <<i>server port</i>></dt> <dd> This integer specifies the port at which to connect to the server. </dd> <dt>[<b>--address</b> <<i>server address</i>>="127.0.0.1"]</dt> <dd> This optional string specifies the IPv4 address of the server.<br> </dd> <dt>[<b>--multi</b> <<i>sub-client multiplicity</i>>=1]</dt> <dd> This optional integer specifies the number of sub-clients the client should be running serially. </dd> <dt>[<b>--threads</b> <<i>number of processing threads</i>>={number of (virtual) processors on the executing machine}] </dt><dd> This integer specifies the number of threads across which the algorithm should be parallelized.<br> The default value for this parameter is equal to the numer of (virtual) processors on the executing machine. </dd> <dt>[<b>--maxMemory</b> <<i>maximum memory usage (in GB)</i>>=0] </dt><dd> If positive, this integer value specifies the peak memory utilization for running the reconstruction code (forcing the execution to terminate if the limit is exceeded). </dd> </dd><dt>[<b>--pause</b>] </dt><dd> Enabling this flag has the client wait for the user to enter [ENTER] before closing the process. (Useful if the client is opened in a temporary window, you are running the client with verbose output, and want to see the output.) </dd> </DETAILS> </dl> </ul> <ul> <dl> <DETAILS> <SUMMARY> <font size="+1"><b>SSDRecon</b></font>: Reconstructs a surface mesh from a set of oriented 3D points by solving for a Smooth Signed Distance function (solving a 3D bi-Laplacian system with positional value and gradient constraints) <a href="http://mesh.brown.edu/ssd/">[Calakli and Taubin, 2011]</a> </SUMMARY> <dt><b>--in</b> <<i>input points</i>> </dt><dd> This string is the name of the file from which the point set will be read.<br> If the file extension is <i>.ply</i>, the file should be in <a href="https://www.cc.gatech.edu/projects/large_models/ply.html">PLY</a> format, giving the list of oriented vertices with the x-, y-, and z-coordinates of the positions encoded by the properties <i>x</i>, <i>y</i>, and <i>z</i> and the x-, y-, and z-coordinates of the normals encoded by the properties <i>nx</i>, <i>ny</i>, and <i>nz</i> .<br> If the file extension is <i>.bnpts</i>, the file should be a binary file, consisting of blocks of 6 32-bit floats: x-, y-, and z-coordinates of the point's position, followed by the x-, y-, and z-coordinates of the point's normal. (No information about the number of oriented point samples should be specified.)<br> Otherwise, the file should be an ascii file with groups of 6, white space delimited, numbers: x-, y-, and z-coordinates of the point's position, followed by the x-, y- and z-coordinates of the point's normal. (No information about the number of oriented point samples should be specified.)<br> </dd><dt>[<b>--out</b> <<i>output triangle mesh</i>>] </dt><dd> This string is the name of the file to which the triangle mesh will be written. The file is written in <a href="https://www.cc.gatech.edu/projects/large_models/ply.html">PLY</a> format. </dd><dt>[<b>--tree</b> <<i>output octree and coefficients</i>>] </dt><dd> This string is the name of the file to which the the octree and solution coefficients are to be written. </dd><dt>[<b>--grid</b> <<i>output grid</i>>] </dt><dd> This string is the name of the file to which the sampled implicit function will be written. The file consistes of seven header lines in ASCII describing the contents, following by the grid values in binary.<BR> <UL> <LI>The header looks like:<PRE><CODE>G3 1 FLOAT <RES_X> <RES_Y> <RES_Z> <M_00> <M_01> <M_02> <M_03> <M_10> <M_11> <M_12> <M_13> <M_20> <M_21> <M_22> <M_23> <M_30> <M_31> <M_22> <M_33> </CODE></PRE> The first two lines describe the contents of the file -- a 3D grid with a single floating point value per cell.<br> The next line gives the resolution of the grid in <code>x</code>-, <code>y</code>-, and <code>z</code>-directions.<br> The following four lines give the 4x4 coefficients of the homogenous transformation <CODE><M></CODE> taking grid-space coordinates to world-coordinates. <LI> The next 4 x <code><RES_X></code> x <code><RES_Y></code> x <code><RES_Z></code> bytes correspond to the (single precision) floating point values of the implicit function. </dd><dt>[<b>--degree</b> <<i>B-spline degree</i>>] </dt><dd> This integer specifies the degree of the B-spline that is to be used to define the finite elements system. Larger degrees support higher order approximations, but come at the cost of denser system matrices (incurring a cost in both space and time).<br> The default value for this parameter is 2. </dd><dt>[<b>--depth</b> <<i>reconstruction depth</i>>] </dt><dd> This integer is the maximum depth of the tree that will be used for surface reconstruction. Running at depth <i>d</i> corresponds to solving on a grid whose resolution is no larger than 2^<i>d</i> x 2^<i>d</i> x ... Note that since the reconstructor adapts the octree to the sampling density, the specified reconstruction depth is only an upper bound.<br> The default value for this parameter is 8. </dd><dt>[<b>--width</b> <<i>finest cell width</i>>] </dt><dd> This floating point value specifies the target width of the finest level octree cells.<br> This parameter is ignored if the <B>--depth</B> flag is also specified. </dd><dt>[<b>--scale</b> <<i>scale factor</i>>] </dt><dd> This floating point value specifies the ratio between the diameter of the cube used for reconstruction and the diameter of the samples' bounding cube.<br> The default value is 1.1. </dd><dt>[<b>--samplesPerNode</b> <<i>minimum number of samples</i>>] </dt><dd> This floating point value specifies the minimum number of sample points that should fall within an octree node as the octree construction is adapted to sampling density. For noise-free samples, small values in the range [1.0 - 5.0] can be used. For more noisy samples, larger values in the range [15.0 - 20.0] may be needed to provide a smoother, noise-reduced, reconstruction.<br> The default value is 1.0. </dd><dt>[<b>--valueWeight</b> <<i>zero-crossing interpolation weight</i>>] </dt><dd> This floating point value specifies the importance that interpolation of the point samples is given in the formulation of the screened Smoothed Signed Distance Reconstruction.<br> The default value for this parameter is 1. </dd><dt>[<b>--gradientWeight</b> <<i>normal interpolation weight</i>>] </dt><dd> This floating point value specifies the importance that interpolation of the points' normals is given in the formulation of the screened Smoothed Signed Distance Reconstruction.<br> The default value for this parameter is 1. </dd><dt>[<b>--biLapWeight</b> <<i>bi-Laplacian weight weight</i>>] </dt><dd> This floating point value specifies the importance that the bi-Laplacian regularization is given in the formulation of the screened Smoothed Signed Distance Reconstruction.<br> The default value for this parameter is 1. </dd><dt>[<b>--iters</b> <<i>GS iters</i>>] </dt><dd> This integer value specifies the number of Gauss-Seidel relaxations to be performed at each level of the hiearchy.<br> The default value for this parameter is 8. </dd><dt>[<b>--density</b>] </dt><dd> Enabling this flag tells the reconstructor to output the estimated depth values of the iso-surface vertices. </dd><dt>[<b>--colors</b>] </dt><dd> If the input points are in ASCII/binary format and contain color values, this flag lets the reconstruction code know that (1) each sample is represented by nine floating point values instead of the expected six, and that (2) color values should be output with the vertices of the reconstructed surface. (For input samples in the .ply format, the presence of color information, as well as any other additional per-sample data, is automatically determined from the file header.) </dd><dt>[<b>--data</b> <<i>pull factor</i>>] </dt><dd> If the input points have additional data (e.g. color) that is to be sampled at the output vertices, this floating point value specifies the relative importance of finer data over lower data in performing the extrapolation.<BR> The default value for this parameter is 32. </dd><dt>[<b>--confidence</b>] </dt><dd> Enabling this flag specifies that the normal lengths should be used as weights when considering the contribution of a sample. </dd><dt>[<b>--primalGrid</b>] </dt><dd> Enabling this flag when outputing to a grid file has the reconstructor sample the implicit function at the corners of the grid, rather than the centers of the cells. </dd><dt>[<b>--nonLinearFit</b>] </dt><dd> Enabling this flag has the reconstructor use quadratic interpolation to estimate the positions of iso-vertices. </dd><dt>[<b>--polygonMesh</b>] </dt><dd> Enabling this flag tells the reconstructor to output a polygon mesh (rather than triangulating the results of Marching Cubes). </dd><dt>[<b>--tempDir</b> <<i>temporary output directory</i>>] </dt><dd> This string is the name of the directory to which temporary files will be written. </dd><dt>[<b>--threads</b> <<i>number of processing threads</i>>] </dt><dd> This integer specifies the number of threads across which the algorithm should be parallelized.<br> The default value for this parameter is equal to the numer of (virtual) processors on the executing machine. </dd><dt>[<b>--maxMemory</b> <<i>maximum memory usage (in GB)</i>>] </dt><dd> If positive, this integer value specifies the peak memory utilization for running the reconstruction code (forcing the execution to terminate if the limit is exceeded). </dd><dt>[<b>--performance</b>] </dt><dd> Enabling this flag provides running time and peak memory usage at the end of the execution. </dd><dt>[<b>--verbose</b>] </dt><dd> Enabling this flag provides a more verbose description of the running times and memory usages of individual components of the surface reconstructor. </dd> </DETAILS> </dl> </ul> <ul> <dl> <DETAILS> <SUMMARY> <font size="+1"><b>PointInterpolant</b></font>: Fits a function to a set of sample values and/or gradients by finding the coefficients of the function that minimize an energy composed of a point-wise interpolation term and Laplacian and bi-Laplacian smoothness terms </SUMMARY> <dt><b>--inValues</b> <<i>input sample positions and values</i>></dt> <dd> This string is the name of the file from which the positions and values will be read.<br> The file should be an ascii file with groups of <I>Dim</I>+1, white space delimited, numbers: the coordinates of the point's position, followed by the value at that point.<br> No information about the number of samples should be specified.</dd> <dt><b>--inGradients</b> <<i>input sample positions and gradients</i>></dt> <dd> This string is the name of the file from which the positions and gradients will be read.<br> The file should be an ascii file with groups of 2*<I>Dim</I>, white space delimited, numbers: the coordinates of the point's position, followed by the gradient at that point).<br> No information about the number of samples should be specified.</dd> <dt>[<b>--dim</b> <<i>dimension of the samples</i>>]</dt> <dd> This integerl value is the dimension of the samples.<BR> The default value is 2.<br></dd> <dt>[<b>--tree</b> <<i>output octree and coefficients</i>>]</dt> <dd> This string is the name of the file to which the the octree and function coefficients are to be written.</dd> <dt>[<b>--grid</b> <<i>output grid</i>>]</dt> </dt><dd> This string is the name of the file to which the sampled implicit function will be written. The file consistes of seven header lines in ASCII describing the contents, following by the grid values in binary.<BR> <UL> <LI>The header looks like:<PRE><CODE>G3 1 FLOAT <RES_X> <RES_Y> <RES_Z> <M_00> <M_01> <M_02> <M_03> <M_10> <M_11> <M_12> <M_13> <M_20> <M_21> <M_22> <M_23> <M_30> <M_31> <M_22> <M_33> </CODE></PRE> The first two lines describe the contents of the file -- a 3D grid with a single floating point value per cell.<br> The next line gives the resolution of the grid in <code>x</code>-, <code>y</code>-, and <code>z</code>-directions.<br> The following four lines give the 4x4 coefficients of the homogenous transformation <CODE><M></CODE> taking grid-space coordinates to world-coordinates. <LI> The next 4 x <code><RES_X></code> x <code><RES_Y></code> x <code><RES_Z></code> bytes correspond to the (single precision) floating point values of the implicit function. <dt>[<b>--degree</b> <<i>B-spline degree</i>>]</dt> <dd> This integer specifies the degree of the B-spline that is to be used to define the finite elements system. Larger degrees support higher order approximations, but come at the cost of denser system matrices (incurring a cost in both space and time).<br> The default value for this parameter is 2.</dt> <dt>[<b>--bType</b> <<i>boundary type</i>>]</dt> <dd> This integer specifies the boundary type for the finite elements. Valid values are: <ul> <li> <b>1</b>: Free boundary constraints</li> <li> <b>2</b>: Dirichlet boundary constraints</li> <li> <b>3</b>: Neumann boundary constraints</li> </ul> The default value for this parameter is 1 (free). <dt>[<b>--depth</b> <<i>reconstruction depth</i>>]</dt> <dd> This integer is the maximum depth of the tree that will be used for surface reconstruction. Running at depth <i>d</i> corresponds to solving on a grid whose resolution is no larger than 2^<i>d</i> x 2^<i>d</i> x ... Note that since the reconstructor adapts the octree to the sampling density, the specified reconstruction depth is only an upper bound.<br> The default value for this parameter is 8.</dd> <dt>[<b>--width</b> <<i>finest cell width</i>>]</dt> <dd> This floating point value specifies the target width of the finest level octree cells.<br> This parameter is ignored if the <B>--depth</B> is also specified.</dd> <dt>[<b>--scale</b> <<i>scale factor</i>>]</dt> <dd> This floating point value specifies the ratio between the diameter of the cube used for reconstruction and the diameter of the samples' bounding cube.<br> The default value is 1.1.</dd> <dt>[<b>--valueWeight</b> <<i>value interpolation weight</i>>]</dt> <dd> This floating point value specifies the importance that interpolation of the samples' values is given in the fitting of the function.<br> The default value for this parameter is 1000.</dd> <dt>[<b>--gradientWeight</b> <<i>gradient interpolation weight</i>>]</dt> <dd> This floating point value specifies the importance that interpolation of the samples' gradients is given in the fitting of the function.<br> The default value for this parameter is 1.<BR> This value is ignored unless gradient interpolation is specified.</dd> <dt>[<b>--lapWeight</b> <<i>Laplacian weight</i>>]</dt> <dd> This floating point value specifies the importance that Laplacian regularization is given in the fitting of the function.<br> The default value for this parameter is 0.</dd> <dt>[<b>--biLapWeight</b> <<i>bi-Laplacian weight</i>>]</dt> <dd> This floating point value specifies the importance that bi-Laplacian regularization is given in the fitting of the function.<br> The default value for this parameter is 1.</dd> <dt>[<b>--iters</b> <<i>GS iters</i>>]</dt> <dd> This integer value specifies the number of Gauss-Seidel relaxations to be performed at each level of the hiearchy.<br> The default value for this parameter is 8.</dd> <dt>[<b>--performance</b>]</dt> <dd> Enabling this flag provides running time and peak memory usage at the end of the execution.</dd> <dt>[<b>--verbose</b>]</dt> <dd> Enabling this flag provides a more verbose description of the running times and memory usages of individual components of the surface reconstructor.</dd> </DETAILS> </dl> </ul> <ul> <dl> <DETAILS> <SUMMARY> <font size="+1"><b>SurfaceTrimmer</b></font>: Trims off parts of a triangle mesh with a per-vertex signal whose value falls below a threshold (used for removing parts of a reconstructed surface that are generated in low-sampling-density regions) </SUMMARY> <dt><b>--in</b> <<i>input triangle mesh</i>> </dt><dd> This string is the name of the file from which the triangle mesh will be read. The file is read in <a href="https://www.cc.gatech.edu/projects/large_models/ply.html">PLY</a> format and it is assumed that the vertices have a <i>value</i> field which stores the signal's value. (When run with <b>--density</b> flag, the reconstructor will output this field with the mesh vertices.) </dd><dt><b>--trim</b> <<i>trimming value</i>> </dt><dd> This floating point values specifies the value for mesh trimming. The subset of the mesh with signal value less than the trim value is discarded. </dd><dt>[<b>--out</b> <<i>output triangle mesh</i>>] </dt><dd> This string is the name of the file to which the triangle mesh will be written. The file is written in <a href="https://www.cc.gatech.edu/projects/large_models/ply.html">PLY</a> format. </dd><dt>[<b>--aRatio</b> <<i>island area ratio</i>>] </dt><dd> This floating point value specifies the area ratio that defines a disconnected component as an "island". Connected components whose area, relative to the total area of the mesh, are smaller than this value will be merged into the output surface to close small holes.<br> The default value 0.001. </dd><dt>[<b>--polygonMesh</b>] </dt><dd> Enabling this flag tells the trimmer to output a polygon mesh (rather than triangulating the trimming results). </dd><dt>[<b>--removeIslands</b>] </dt><dd> Enabling this flag tells the trimmer to discard small disconnected components of surface. </dd><dt>[<b>--verbose</b>] </dt><dd> Enabling this flag provides a more verbose description of the running times and memory usages of individual components of the surface reconstructor. </dd> </DETAILS> </dl> </ul> <ul> <dl> <DETAILS> <SUMMARY> <font size="+1"><b>ImageStitching</b></font>: Stitches together a composite of image tiles into a seamless panorama by solving for the correction term (solving a 2D Laplacian system) <a href="https://www.agarwala.org/efficient_gdc/">[Agarwala, 2007]</A> </SUMMARY> <dt><b>--in</b> <<i>input composite image</i>> <<i>input label image</i>> </dt><dd> This pair of strings give the name of the composite image file and the associated label file.<BR> All pixels in the composite that come from the same source should be assigned the same color in the label file.<BR> PNG and JPG files are supported (though only PNG should be used for the label file as it is lossless). </dd><dt>[<b>--out</b> <<i>output image</i>>] </dt><dd> This string is the name of the file to which the stitched image will be written.<BR> PNG and JPG files are supported. </dd><dt>[<b>--degree</b> <<i>B-spline degree</i>>] </dt><dd> This integer specifies the degree of the B-spline that is to be used to define the finite elements system. Larger degrees support higher order approximations, but come at the cost of denser system matrices (incurring a cost in both space and time).<br> The default value for this parameter is 1.<BR> </dd><dt>[<b>--wScl</b> <<i>successive under-relaxation scale</i>>] </dt><dd> This floating point value specifies the scale for the adapted successive under-relaxation used to remove ringing.<br> The default value 0.125. </dd><dt>[<b>--wExp</b> <<i>successive under-relaxation exponent</i>>] </dt><dd> This floating point value specifies the exponent for the adapted successive under-relaxation used to remove ringing.<br> The default value 6. </dd><dt>[<b>--iters</b> <<i>GS iters</i>>] </dt><dd> This integer value specifies the number of Gauss-Seidel relaxations to be performed at each level of the hiearchy.<br> The default value for this parameter is 8. </dd><dt>[<b>--threads</b> <<i>number of processing threads</i>>] </dt><dd> This integer specifies the number of threads across which the algorithm should be parallelized.<br> The default value for this parameter is equal to the numer of (virtual) processors on the executing machine. </dd><dt>[<b>--maxMemory</b> <<i>maximum memory usage (in GB)</i>>] </dt><dd> If positive, this integer value specifies the peak memory utilization for running the code (forcing the execution to terminate if the limit is exceeded). </dd><dt>[<b>--performance</b>] </dt><dd> Enabling this flag provides running time and peak memory usage at the end of the execution. </dd><dt>[<b>--verbose</b>] </dt><dd> Enabling this flag provides a more verbose description of the running times and memory usages of individual components of the image stitcher. </dd> </DETAILS> </dl> </ul> <ul> <dl> <DETAILS> <SUMMARY> <font size="+1"><b>EDTInHeat</b></font>: Computes the unsigned Euclidean Distance Transform of a triangle mesh (solving two 3D Laplacian systems) <A HREF="https://www.cs.cmu.edu/~kmcrane/Projects/HeatMethod/">[Crane, Weischedel, and Wardetzky, 2013]</A> </SUMMARY> <dt><b>--in</b> <<i>input mesh</i>> </dt><dd> This string is the name of the file from which the triangle mesh will be read. The file is assumed to be in <a href="https://www.cc.gatech.edu/projects/large_models/ply.html">PLY</a> format. </dd><dt>[<b>--out</b> <<i>output octree and coefficients</i>>] </dt><dd> This string is the name of the file to which the the octree and solution coefficients are to be written. </dd><dt>[<b>--degree</b> <<i>B-spline degree</i>>] </dt><dd> This integer specifies the degree of the B-spline that is to be used to define the finite elements system. Larger degrees support higher order approximations, but come at the cost of denser system matrices (incurring a cost in both space and time).<br> The default value for this parameter is 1. </dd><dt>[<b>--depth</b> <<i>edt depth</i>>] </dt><dd> This integer is the maximum depth of the tree that will be used for computing the Euclidean Distance Transform. Running at depth <i>d</i> corresponds to solving on a grid whose resolution is no larger than 2^<i>d</i> x 2^<i>d</i> x ...<br> The default value for this parameter is 8. </dd><dt>[<b>--scale</b> <<i>scale factor</i>>] </dt><dd> This floating point value specifies the ratio between the diameter of the cube used for computing the EDT and the diameter of the mesh's bounding cube.<br> The default value is 2. </dd><dt>[<b>--diffusion</b> <<i>diffusion time</i>>] </dt><dd> This floating point value specifies the time-scale for the initial heat diffusion.<BR> The default value is 0.0005. </dd><dt>[<b>--valueWeight</b> <<i>zero-crossing interpolation weight</i>>] </dt><dd> This floating point value specifies the importance that the EDT evaluate to zero at points on the input mesh is given.<br> The default value for this parameter is 0.01. </dd><dt>[<b>--wScl</b> <<i>successive under-relaxation scale</i>>] </dt><dd> This floating point value specifies the scale for the adapted successive under-relaxation used to remove ringing.<br> The default value 0.125. </dd><dt>[<b>--wExp</b> <<i>successive under-relaxation exponent</i>>] </dt><dd> This floating point value specifies the exponent for the adapted successive under-relaxation used to remove ringing.<br> The default value 6. </dd><dt>[<b>--iters</b> <<i>GS iters</i>>] </dt><dd> This integer value specifies the number of Gauss-Seidel relaxations to be performed at each level of the hiearchy.<br> The default value for this parameter is 8. </dd><dt>[<b>--threads</b> <<i>number of processing threads</i>>] </dt><dd> This integer specifies the number of threads across which the algorithm should be parallelized.<br> The default value for this parameter is equal to the numer of (virtual) processors on the executing machine. </dd><dt>[<b>--maxMemory</b> <<i>maximum memory usage (in GB)</i>>] </dt><dd> If positive, this integer value specifies the peak memory utilization for running the code (forcing the execution to terminate if the limit is exceeded). </dd><dt>[<b>--performance</b>] </dt><dd> Enabling this flag provides running time and peak memory usage at the end of the execution. </dd><dt>[<b>--verbose</b>] </dt><dd> Enabling this flag provides a more verbose description of the running times and memory usages of individual components of the EDT computation. </dd> </DETAILS> </dl> </ul> <ul> <dl> <DETAILS> <SUMMARY> <font size="+1"><b>AdaptiveTreeVisualization</b></font>: Extracts iso-surfaces and a sampling on a regular grid from an implicit function represented over an adapted tree </SUMMARY> <dt><b>--in</b> <<i>input tree and coefficients</i>> </dt><dd> This string is the name of the file from which the tree and implicit functions coefficients are to be read.</dd> <dt>[<b>--samples</b> <<i>input sample positions</i>>]</dt> <dd> This string is the name of the file from which sampling positions are to be read.<BR> The file should be an ascii file with groups of <I>Dim</I> white space delimited, numbers giving the coordinates of the sampling points' position.<br> No information about the number of samples should be specified.</dd> </dd> <dt>[<b>--grid</b> <<i>output value grid</i>>] </dt><dd> This string is the name of the file to which the sampled implicit function will be written. The file consistes of seven header lines in ASCII describing the contents, following by the grid values in binary.<BR> <UL> <LI>The header looks like:<PRE><CODE>G3 1 FLOAT <RES_X> <RES_Y> <RES_Z> <M_00> <M_01> <M_02> <M_03> <M_10> <M_11> <M_12> <M_13> <M_20> <M_21> <M_22> <M_23> <M_30> <M_31> <M_22> <M_33> </CODE></PRE> The first two lines describe the contents of the file -- a 3D grid with a single floating point value per cell.<br> The next line gives the resolution of the grid in <code>x</code>-, <code>y</code>-, and <code>z</code>-directions.<br> The following four lines give the 4x4 coefficients of the homogenous transformation <CODE><M></CODE> taking grid-space coordinates to world-coordinates. <LI> The next 4 x <code><RES_X></code> x <code><RES_Y></code> x <code><RES_Z></code> bytes correspond to the (single precision) floating point values of the implicit function. </dd><dt>[<b>--primalGrid</b>] </dt><dd> Enabling this flag when outputing a grid file samples the implicit function at the corners of the grid, rather than the centers of the cells. </dd><dt>[<b>--mesh</b> <<i>output triangle mesh</i>>] </dt><dd> This string is the name of the file to which the triangle mesh will be written. The file is written in <a href="https://www.cc.gatech.edu/projects/large_models/ply.html">PLY</a> format.<BR> This is only supported for dimension 3. </dd><dt>[<b>--iso</b> <<i>iso-value for mesh extraction</i>>] </dt><dd> This floating point value specifies the iso-value at which the implicit surface is to be extracted.<br> The default value is 0. </dd><dt>[<b>--nonLinearFit</b>] </dt><dd> Enabling this flag has the reconstructor use quadratic interpolation to estimate the positions of iso-vertices. </dd><dt>[<b>--polygonMesh</b>] </dt><dd> Enabling this flag tells the reconstructor to output a polygon mesh (rather than triangulating the results of Marching Cubes). </dd><dt>[<b>--flip</b>] </dt><dd> Enabling this flag flips the orientations of the output triangles. </dd><dt>[<b>--threads</b> <<i>number of processing threads</i>>] </dt><dd> This integer specifies the number of threads across which the algorithm should be parallelized.<br> The default value for this parameter is equal to the numer of (virtual) processors on the executing machine. </dd><dt>[<b>--verbose</b>] </dt><dd> Enabling this flag provides a more verbose description of the running times and memory usages of individual components of the visualizer. </dd> </DETAILS> </dl> </ul> <ul> <dl> <DETAILS> <SUMMARY> <font size="+1"><b>ChunkPly</b></font>: Decomposes a collection of mesh/point-set files into a set of chunks with prescribed bounding box widths. </SUMMARY> <dt><b>--in</b> <<i>input geometry file count, geometry file #1, geometry file #2, ...</i>> </dt><dd> These white-space separated strings give the number of geometry files (containing representing either a point cloud in 3D or a mesh) and the names of the individual files. </dd><dt>[<b>--out</b> <<i>output ply file name/header</i>>] </dt><dd> This string is the name of the file/header to which the chunks should be written. If the width of the chunk is <I>W</I>, the file containing the geometry inside the cube [<I>W</I>·<i>i</I>,<i>W</i>·(<i>i+1</i>)</I>]×[<I>W</I>·<i>j</I>,<i>W</i>·(<i>j+1</i>)</I>]×[<I>W</I>·<i>k</I>,<i>W</i>·(<i>k+1</i>)</I>]</I> will be named <I><output header>.i.j.k.ply</i>. </dd><dt>[<b>--width <<i>chunk width</i>></b>] </dt><dd> This floating point value specifies the width of the cubes used for chunking.<BR> The default value for this parameter is <i>-1</i>, indicating that the input should be written to a single ouput. (In this case the value of the <i>--out</i> parameter is the name of the single file to which the output is written. </dd><dt>[<b>--radius <<i>padding radius</i>></b>] </dt><dd> This floating point value specifies the size of the padding region used, as a fraction of the total width of the cube.<BR> The default value for this parameter is <i>0</i>, indicating that no padding should be used. </dd><dt>[<b>--noNormals</b>] </dt><dd> Enabling this flag lets the chunking code know that, in the case that the input is a point cloud in raw ASCII/binary format, the points do not have normals associated with them.. </dd><dt>[<b>--colors</b>] </dt><dd> Enabling this flag lets the chunking code know that, in the case that the input is a point cloud in raw ASCII/binary format, the points have color associatd with them. </dd><dt>[<b>--values</b>] </dt><dd> Enabling this flag lets the chunking code know that, in the case that the input is a point cloud in raw ASCII/binary format, the points have scalar values associated with them. </dd><dt>[<b>--verbose</b>] </dt><dd> Enabling this flag provides a more verbose description of the running times and memory usages of individual components of the visualizer. </dd> </DETAILS> </dl> </ul> <ul> <dl> <DETAILS> <SUMMARY> <font size="+1"><b>PointsToDisks</b></font>: Converts oriented points to disks. </SUMMARY> <dt><b>--in</b> <<i>input points</i>> </dt><dd> This string is the name of the file from which the point set will be read.<br> The file is assumed to be in <a href="https://www.cc.gatech.edu/projects/large_models/ply.html">PLY</a> format.<br> </dd><dt>[<b>--out</b> <<i>output ply file name</i>>] </dt><dd> This string is the name of the file to which the disks should be written.<br> The file will be written out in <a href="https://www.cc.gatech.edu/projects/large_models/ply.html">PLY</a> format.<br> </dd><dt>[<b>--scale <<i>radius scale</i>></b>] </dt><dd> This floating point value specifies the radius of the disks, relative to the width of the bounding cube.<BR> The default value for this parameter is <i>0.005</i> </dd><dt>[<b>--res <<i>angular resolution</i>></b>] </dt><dd> This integer v value specifies thangular resolution of the disk.<br> The default value for this parameter is <i>12</i>. </dd><dt>[<b>--keep <<i>number of points to keep</i>></b>] </dt><dd> This integer value specifies the maximum number of point to transform to disks.<br> If the value of this parameter is less than the number of points, the subset of points transformed to disks will be generated by regular sub-sampling.<br> If the value of this parameter is not set and the <b>--fraction</b> parameter is not set, then all points will be transformed to disks. </dd><dt>[<b>--fraction <<i>faction of points to keep</i>></b>] </dt><dd> This floating point value specifies the fraction of points to transform to disks.<br> The default value for this parameter is <i>1.0</i>.<br> If both the <b>--keep</b> flag and the <b>--fraction</b> flag are set, the <b>--fraction</b> flag will be ignored. </dd><dt>[<b>--verbose</b>] </dt><dd> Enabling this flag provides a description of running state. </dd> </DETAILS> </dl> </ul> <ul> <dl> <DETAILS> <SUMMARY> <font size="+1"><b>ScaleNormals</b></font>: Scales the normal magnitudes using auxiliary confidence attributes encoded with the samples. </SUMMARY> <dt><b>--in</b> <<i>input points</i>> </dt><dd> This string is the name of the file from which the point set will be read.<br> The file is assumed to be in <a href="https://www.cc.gatech.edu/projects/large_models/ply.html">PLY</a> format.<br> </dd><dt><b>--out</b> <<i>output ply file name</i>> </dt><dd> This string is the name of the file to which the point set should be written.<br> The file will be written out in <a href="https://www.cc.gatech.edu/projects/large_models/ply.html">PLY</a> format.<br> </dd><dt><b>--cNames</b> <<i>confidence attribute count, confidence attribute name 1, confidence attribute name 2, ...</i>>] </dt><dd> These strings give the names of the attributes encoding confidence information.<BR> </dd><dt><b>--cExps</b> <<i>confidence attribute count, confidence attribute value 1, confidence attribute value 2, ...</i>>] </dt><dd> These floating point values encode the exponents applied to the confidence attributes when scaling the normal magnitude.<BR> Note that the count of confidence attributes for the <B>--cNames</B> and <B>--cExps</B> need to match. </dd><dt>[<b>--verbose</b>] </dt><dd> Enabling this flag provides a description of running state. </dd> </DETAILS> </dl> </ul> <hr> <a name="LIBRARY"><b>HEADER-ONLY LIBRARY</b></a><br> <UL> <DL> <DETAILS> <SUMMARY> <font size="+1"><b>Reconstruction.example.cpp</b></font> </SUMMARY> In addition to executables, the reconstruction code can be interfaced into through the functionality implemented in <CODE>Reconstructors.h</CODE> and <CODE>Extrapolator.h</CODE> Using the functionality requires requires choosing a finite element type and defining input oriented-point stream and output vertex and face streams. In the descriptions below, the template parameter <CODE>Real</CODE> is the floating point type used to represent data (typically <code>float</code>) and <CODE>Dim</CODE> is the integer dimension of the space (fixed at <CODE>Dim</CODE>=3). <UL> <LI>The template parameter <CODE>FEMSig</CODE> describes the 1D finite element type, which is a composite of the degree of the finite element and the boundary conditions it satisfies. Given an integer valued <CODE>Degree</CODE> and boundary type <CODE>BType</CODE> (one of <CODE>BOUNDARY_FREE</CODE>, <CODE>BOUNDARY_DIRICHLET</CODE>, and <CODE>BOUNDARY_NEUMANN</CODE> defined in <CODE>BSplineData.h</CODE>), the signature is defined as: <PRE> <CODE>static const unsigned int FEMSig = FEMDegreeAndBType< Degree , BoundaryType >::Signature;</CODE> </PRE> <LI>The template parameter <CODE>FEMSIgs</CODE> describes the tensor-product finite element type, typically defined as an "isotropic" element with the same 1D finite element type across all <CODE>Dim</CODE> dimensions. It is defined as: <PRE> <CODE>using FEMSigs = IsotropicUIntPack< Dim , FEMSig >;</CODE> </PRE> </UL> The three streams are defined by overriding virtual stream classes. The namespace <CODE>PoissonRecon::Reconstructor</CODE> is omitted for brevity. <UL> <LI><B>Input sample stream</B>: This class derives from the <CODE>InputSampleStream< Real , Dim ></CODE> class. The base class has two pure virtual methods that need to be over-ridden: <UL> <LI><CODE>void reset( void )</CODE>:<BR> This method resets the stream to the start (necessary because the reconstruction code performs two passes over the input samples). <LI><CODE>bool read( Point< Real , Dim > &p , Point< Real , Dim > &n )</CODE>:<BR> This method tries to read the next pair of positions/normals from the stream, returning <code>true</code> if the read was successful and <code>false</code> if the read failed (i.e. the end of the stream was reached). The class <code>Point< Real , Dim ></code> represents a point in <code>Dim</code>-dimensional space, can be accessed like an array (i.e. overloads the bracked operator) and supports algebraic manipulation like addition and scalar multiplication. </UL> <LI><B>Output polygon stream</B>: This class derives from the <CODE>OutputPolygonStream</CODE> class. The base class has two pure virtual methods that needs to be over-ridden: <UL> <LI><CODE>size_t size( void )</CODE>:<BR> This method returns the number of polygons written. <LI><CODE>size_t write( const std::vector< node_index_type > &polygon )</CODE>:<BR> This method writes the information for the next polygon into the stream, with the polygon represented as a <code>std::vector</code> of integral indices. (The type <code>node_index_type</code> is an <code>unsigned int</code> if the <CODE>BIG_DATA</CODE> macro is not defined an <code>unsigned long long</code> if it is.) The function returns the index of the written polygon. </UL> <LI><B>Output vertex stream</B>: This class derives from the <CODE>OutputVertexStream< Real , Dim ></CODE> class. The base class has two pure virtual methods that needs to be over-ridden: <UL> <LI><CODE>size_t size( void )</CODE>:<BR> This method returns the number of vertices written. <LI><CODE>size_t write( Point< Real , Dim > p , Point< Real , Dim > g , Real w )</CODE>:<BR> This method writes the information for the next vertx into the stream. The data includes the position of the vertex, <CODE>p</CODE>, as well as the gradient, <code>g</code>, and density weight, <code>w</code> if the extraction code is asked to compute those. The function returns the index of the written vertex. </UL> </UL> The reconstructed surface is then computed in two steps. First, an <CODE>Implict< Real , Dim , FEMSigs ></CODE> object is created, encoding the implicit function describing the geometry, as well as a density function describing the distribution of points in space and (possibly) a function extrapolating per-sample information into a volumetric function. Then, the implicit function is iso-surfaced, (possibly) with auxialiary density and color information evaluated at the vertex positions. <UL> <LI><CODE>Implict< Real , Dim , FEMSigs > *Poisson::Solver< Real , Dim , FEMSigs >::Solve( InputOrientedSampleStream< Real , Dim > &pointStream , SolutionParameters< Real > params )</CODE>:<BR> This function takes in an input oriented sample stream (<code>pointStream</code>) and a description of the reconstruction parameters (<code>params</code>) desribing the depth, number of samples per node, etc., and returns a pointer to the (dynamically allocated) implicit represetation (<code>Reconstructors.h</code>, line 622). <LI><CODE>void Implicit< Real , Dim , FEMSigs >::extractLevelSet( OutputVertexStream< Real , Dim > &vStream , OutputFaceStream< Dim-1 > &pStream , LevelSetExtractionParameters meParams )</CODE>:<BR> This member function takes references to the output vertex (<code>vStream</code>) and polygon (<code>pStream</code>) streams and parameters for level-set extraction (<code>meParams</code>) and computes the extracted mesh, writing its vertices and faces into the corresponding output streams as they are generated (<code>Reconstructors.h</code>, line 548). </UL> In Addition, the code supports evaluation of the implicit function at points within the bounding cube: <UL> <LI><CODE>Implicit< Real , Dim , FEMSigs >::evaluator( void )</CODE>:<BR> This member function returns an object of type <CODE>Implicit< Real , Dim , FEMSigs >::Evaluator</CODE>. (Note that as the <CODE>Implicit< Real , Dim , FEMSigs >::Evaluator</CODE> object stores <CODE>const</CODE> references to the state in the <CODE>Implicit< Real , Dim , FEMSigs ></CODE> object, it will not be valid once the defining <CODE>Implicit< Real , Dim , FEMSigs ></CODE> object goes out of scope.) <LI><CODE>Real Implicit< Real , Dim , FEMSigs >::Evaluator::operator()( Point< Real , Dim > )</CODE>:<BR> This member function returns the value of the implicit function at the prescribed point. The point is assumed to be given in world coordinates, and a <CODE>Implicit< Real , Dim , FEMSigs >::Evaluator::OutOfUnitCubeException</CODE> is thrown if it is outside of the unit-cube containing the input samples. <LI><CODE>Point< Real , Dim > Implicit< Real , Dim , FEMSigs >::Evaluator::grad( Point< Real , Dim > )</CODE>:<BR> This member function returns the gradient of the implicit function at the prescribed point. The point is assumed to be given in world coordinates, and a <CODE>Implicit< Real , Dim , FEMSigs >::Evaluator::OutOfUnitCubeException</CODE> is thrown if it is outside of the unit-cube containing the input samples. </UL> And, for samples with auxiliary data, the code supports construction of an extrapolating auxiliary data field that can be queried within the bounding cube: <UL> <LI><CODE>Extrapolator::Implicit< Real , Dim , AuxData , DataDegree >::Implicit( InputStream< Real , Dim , AuxData > &pointStream , Parameters params , AuxData zeroAuxData )</CODE>:<BR> This constructor creates an extrapolating field from the samples with auxiliary data, using the prescribed parameters. The final parameter, <code>zeroAuxData</code> is an object representing the zero-element of the auxiliary data. <LI><CODE>AuxData Extrapolator::Implicit< Real , Dim , AuxData , DataDegree >::operator()( Point< Real , Dim > p )</CODE>:<BR> This method returns the extrapolated value at the prescribed position. </UL> <B>Code walk-through</B>:<br> <UL> These steps can be found in the <code>Reconstruction.example.cpp</code> code. <UL> <LI>The finite-elements signatures are created in lines 322 and 325. <LI>An input sample stream generating a specified number of random points on the surface of the sphere is defined in lines 99-136 and constructed in line 393. <LI>An output polygon stream that pushes the polygon to an <code>std::vector</code> of <code>std::vector< int ></code>s is defined in lines 227-244 and constructed in line 403. <LI>An output vertex stream that pushes just the position information to an <code>std::vector</code> of <code>Real</code>s is desfined in lines 247-258 and constructed in line 404. <LI>The implicit representation is computed in line 396. <LI>The level-set extraction is performed on line 407. <LI>The evaluator is created on line 354. <LI>The evaluator is used to query the values and gradients of the implicit function in line 347. <LI>The extrapolator is constructed on line 425. <LI>The extrapolator is evaluated at the vertex positions at line 435. </UL> Note that a similar approach can be used to perform the <A HREF="http://mesh.brown.edu/ssd/">Smoothed Signed Distance</A> reconstruction (lines 473 and 474).<BR> The approach also supports reconstruction of meshes with auxiliary information like color, with the only constraint that the auxiliary data type supports the computation affine combinations (e.g. the <CODE>RGBColor</CODE> type defined in lines 67-82). The auxiliary inform is derived in one of two ways: <OL> <LI> As part of the reconstruction process, so that the level-set extraction phase also sets the auxiliary information. (Lines 363-389) <LI> Independently by constructing the extrapolation field from the samples and then evaluating at the positions of the level-set vertices. (Lines 414-441) </OL> To avoid inefficient locking in a multi-threaded application, the <CODE>Add</CODE> method of the type trait <CODE>PoissonRecon::Atomic<RGBColor></CODE> is specialized (lines 84-96) to define the atomic operation <CODE> a += b</CODE>. </UL> </DL> </UL> <hr> <a name="USAGE"><b>USAGE EXAMPLES (WITH SAMPLE DATA)</b></a><br> <ul> <dl> <DETAILS> <SUMMARY> <font size="+1"><b>PoissonRecon / SSDRecon / SurfaceTrimmer / ChunkPly</b></font> </SUMMARY> For testing purposes, four point sets are provided: <ol> <li> <a href="https://www.cs.jhu.edu/~misha/Code/PoissonRecon/horse.npts"><b>Horse</b></a>: A set of 100,000 oriented point samples (represented in ASCII format) was obtained by sampling a virtual horse model with a sampling density proportional to curvature, giving a set of non-uniformly distributed points.<br> The surface of the model can be reconstructed by calling the either Poisson surface reconstructor: <blockquote><code>% PoissonRecon --in horse.npts --out horse.ply --depth 10</code></blockquote> or the SSD surface reconstructor <blockquote><code>% SSDRecon --in horse.npts --out horse.ply --depth 10</code></blockquote> </li> <li> <a href="https://www.cs.jhu.edu/~misha/Code/PoissonRecon/bunny.points.ply"><b>Bunny</b></a>: A set of 362,271 oriented point samples (represented in PLY format) was obtained by merging the data from the original Stanford Bunny <a href="ftp://graphics.stanford.edu/pub/3Dscanrep/bunny.tar.gz">range scans</a>. The orientation of the sample points was estimated using the connectivity information within individual range scans.<br> The original (unscreened) Poisson reconstruction can be obtained by setting the point interpolation weight to zero: <blockquote><code>% PoissonRecon --in bunny.points.ply --out bunny.ply --depth 10 --pointWeight 0</code></blockquote> By default, the Poisson surface reconstructor uses degree-2 B-splines. A more efficient reconstruction can be obtained using degree-1 B-splines: <blockquote><code>% PoissonRecon --in bunny.points.ply --out bunny.ply --depth 10 --pointWeight 0 --degree 1</code></blockquote> (The SSD reconstructor requires B-splines of degree at least 2 since second derivatives are required to formulate the bi-Laplacian energy.) </li> <li> <a href="https://www.cs.jhu.edu/~misha/Code/PoissonRecon/eagle.points.ply"><b>Eagle</b></a>: A set of 796,825 oriented point samples with color (represented in PLY format) was obtained in the EPFL <a href="https://lgg.epfl.ch/statues.php">Scanning 3D Statues from Photos</a> course.<br> A reconstruction of the eagle can be obtained by calling: <blockquote><code>% PoissonRecon --in eagle.points.ply --out eagle.pr.ply --depth 10</code></blockquote> (with the RGBA color properties automatically detected from the .ply header).<BR> A reconstruction of the eagle that does not close up the holes can be obtained by first calling: <blockquote><code>% SSDRecon --in eagle.points.ply --out eagle.ssd.ply --depth 10 --density</code></blockquote> using the <b>--density</b> flag to indicate that density estimates should be output with the vertices of the mesh, and then calling: <blockquote><code>% SurfaceTrimmer --in eagle.ssd.ply --out eagle.ssd.trimmed.ply --trim 7</code></blockquote> to remove all subsets of the surface where the sampling density corresponds to a depth smaller than 7.<BR> This reconstruction can be chunked into cubes of size 4×4×4 by calling: <blockquote><code>% ChunkPly --in 1 eagle.ssd.trimmed.ply --out eagle.ssd.trimmed.chnks --width 4</code></blockquote> which partitions the reconstruction into 11 pieces. <li> <a href="https://www.cs.jhu.edu/~misha/Code/PoissonRecon/torso.zip"><b>Torso</b></a>: A set of 3,488,432 (torso.points.ply) and an envelope (torso.envelope.ply).<br> A reconstruction of the torso that constrains the reconstruction to be contained within the envelope can be obtained by calling: <blockquote><code>% PoissonRecon --in torso.points.ply --envelope torso.envelope.ply --out torso.pr.ply --depth 10</code></blockquote> using the <b>--envelope</b> flag to specify the water-tight mesh constraining the reconstruction.<BR> </li> </ol> </DETAILS> </dl> </ul> <ul> <dl> <DETAILS> <SUMMARY> <font size="+1"><b>PoissonReconServer / PoissonReconClient</b></font> </SUMMARY> For testing purposes, two point sets are provided: <ol> <li> <a href="https://www.cs.jhu.edu/~misha/Code/PoissonRecon/eagle.points.ply"><b>Eagle</b></a>: A set of 796,825 oriented point samples with color was obtained in the EPFL <a href="https://lgg.epfl.ch/statues.php">Scanning 3D Statues from Photos</a> course.<br> Assuming the point-set is placed in the <b>networked</b> file <code><in dir></CODE> and that a <b>networked</b> temporary folder <code><temp dir></code> exists, a distributed reconstruction of the eagle over 4 clients at depth 10, outputting the reconstruction to <code>eagle.ply</code> (relative to the directory from the server is run), can be obtained by calling: <blockquote><code>% PoissonReconServer --count 4 --depth 10 --in <in dir>/eagle.points.ply --tempDir <temp dir>/temp --out eagle.ply </code></blockquote> (with the RGBA color properties automatically detected from the .ply header).<BR> This will initiate the server which will output the address and port for the clients to connect to: <blockquote><code>Server Address: <IPv4 address>:<port></code></blockquote> The four clients can then be executed by connecting them to the server: <blockquote><code>% PoissonReconClient --port <port> --address <IPv4 address></code></blockquote> <blockquote><code>% PoissonReconClient --port <port> --address <IPv4 address></code></blockquote> <blockquote><code>% PoissonReconClient --port <port> --address <IPv4 address></code></blockquote> <blockquote><code>% PoissonReconClient --port <port> --address <IPv4 address></code></blockquote> Alternatively, the four clients can be executed serially: <blockquote><code>% PoissonReconClient --port <port> --address <IPv4 address> --multi 4</code></blockquote> <li> <a href="https://www.cs.jhu.edu/~misha/Code/PoissonRecon/SafraSquare.points.ply"><b>Safra Square</b></a>: For testing purposes, the <A HREF="10163.points.ply">Safra-Square</A> point set, containing 2,364,268,059 oriented point samples with color, has been generously provided by <A HREF="https://www.resonai.com/">Resonai</A>. </li> </ol> </DETAILS> </dl> </ul> <ul> <dl> <DETAILS> <SUMMARY> <font size="+1"><b>PointInterpolant / AdaptiveTreeVisualization</b></font> </SUMMARY> For testing purposes, a pair of point-sets is provided: <ol> <li> <a href="https://www.cs.jhu.edu/~misha/Code/PoissonRecon/quadratic.2D.fitting.samples"><b>fitting samples</b></a>: A set of 1000 random 2D samples from within the square [-1,1,]x[-1,1] along with the evaluation of the quadratic <i>f(x,y)=x*x+y*y</i> at each sample point (represented in ASCII format). <LI> <a href="https://www.cs.jhu.edu/~misha/Code/PoissonRecon/quadratic.2D.evaluation.samples"><b>evaluation samples</b></a>: A set of 4 2D positions at which the fit function is to be evaluated (represented in ASCII format). </ol>The function fitting the input samples can be by calling the point interpolant:
<blockquote><code>% PointInterpolant --inValues quadratic.2D.fitting.samples --tree quadratic.2D.tree --dim 2</code></blockquote> Then, the reconstructed function can be evaluated at the evaluation samples by calling the adaptive tree visualization: <blockquote><code>% AdaptiveTreeVisualization --in quadratic.2D.tree --samples quadratic.2D.evaluation.samples</code></blockquote> This will output the evaluation positions and values: <blockquote><CODE>0 0 1.33836e-05</CODE></blockquote> <blockquote><CODE>0.5 0 0.25001</CODE></blockquote> <blockquote><CODE>0.5 0.5 0.500006</CODE></blockquote> <blockquote><CODE>2 2 nan</CODE></blockquote> Note that because the (last) evaluation position (2,2) is outside the bounding box of the fitting samples, the function cannot be evaluated at this point and a value of "nan" is output. </DETAILS> </dl> </ul> <ul> <dl> <DETAILS> <SUMMARY> <font size="+1"><b>ImageStitching</b></font> </SUMMARY> For testing purposes, two panoramas are provided: <a href="https://www.cs.jhu.edu/~misha/Code/PoissonRecon/Jaffa.zip"><b>Jaffa</b></a> (23794 x 9492 pixels) and <a href="https://www.cs.jhu.edu/~misha/Code/PoissonRecon/OldRag.zip"><b>OldRag</b></a> (87722 x 12501 pixels).A seamless panorama can be obtained by running:
<blockquote><code>% ImageSitching --in pixels.png labels.png --out out.png</code></blockquote> </DETAILS> </dl> </ul> <ul> <dl> <DETAILS> <SUMMARY> <font size="+1"><b>EDTInHeat / AdaptiveTreeVisualization</b></font> </SUMMARY> The Euclidean Distance Tranform of the reconstructed horse can be obtained by running: <blockquote><code>% EDTInHeat --in horse.ply --out horse.edt --depth 9</code></blockquote> Then, the visualization code can be used to extract iso-surfaces from the implicit function.<BR> To obtain a visualization near the input surface, use an iso-value close to zero: <blockquote><code>% AdaptiveTreeVisualization.exe --in horse.edt --mesh horse_0.01_.ply --iso 0.01 --flip</code></blockquote> (By default, the surface is aligned so that the outward facing normal aligns with the negative gradient. Hence, specifying the <CODE>--flip</CODE> flag is used to re-orient the surface.)<BR> To obtain a visualization closer to the boundary of the bounding box, use an iso-value close to zero: <blockquote><code>% AdaptiveTreeVisualization.exe --in horse.edt --mesh horse_0.25_.ply --iso 0.25 --flip</code></blockquote> (Since the default <CODE>--scale</CODE> is 2, a value of 0.25 should still give a surface that is contained within the bounding box.)<BR> To obtain a sampling of the implicit function over a regular grid: <blockquote><code>% AdaptiveTreeVisualization.exe --in horse.edt --grid horse.grid</code></blockquote> </DETAILS> </dl> </ul> <hr> <DETAILS> <SUMMARY> <A NAME="CHANGES"><font size="+1"><b><B>HISTORY OF CHANGES</B></b></font></A> </SUMMARY> <a href="https://www.cs.jhu.edu/~misha/Code/PoissonRecon/Version3/">Version 3</a>: <ol> <li> The implementation of the <b>--samplesPerNode</b> parameter has been modified so that a value of "1" more closely corresponds to a distribution with one sample per leaf node. </li><li> The code has been modified to support compilation under MSVC 2010 and the associated solution and project files are now provided. (Due to a bug in the Visual Studios compiler, this required modifying the implementation of some of the bit-shifting operators.) </li></ol> <a href="https://www.cs.jhu.edu/~misha/Code/PoissonRecon/Version4/">Version 4</a>: <ol> <li> The code supports screened reconstruction, with interpolation weight specified through the <b>--pointWeight</b> parameter. </li><li> The code has been implemented to support parallel processing, with the number of threads used for parallelization specified by the <b>--threads</b> parameter. </li><li> The input point set can now also be in <a href="https://www.cc.gatech.edu/projects/large_models/ply.html">PLY</a> format, and the file-type is determined by the extension, so that the <b>--binary</b> flag is now obsolete. </li><li> At depths coarser than the one specified by the value <b>--minDepth</b> the octree is no longer adaptive but rather complete, simplifying the prolongation operator. </li></ol> <a href="https://www.cs.jhu.edu/~misha/Code/PoissonRecon/Version4.5/">Version 4.5</a>: <ol> <li> The algorithmic complexity of the solver was reduced from log-linear to linear. </li></ol> <a href="https://www.cs.jhu.edu/~misha/Code/PoissonRecon/Version4.5/">Version 4.51</a>: <ol> <li> Smart pointers were added to ensure that memory accesses were in bounds. </li></ol> <a href="https://www.cs.jhu.edu/~misha/Code/PoissonRecon/Version5/">Version 5</a>: <ol> <li> The <b>--density</b> flag was added to the reconstructor to output the estimated depth of the iso-vertices. </li><li> The <i>SurfaceTrimmer</i> executable was added to support trimming off the subset of the reconstructed surface that are far away from the input samples, thereby allowing for the generation of non-water-tight surface. </li></ol><a href="https://www.cs.jhu.edu/~misha/Code/PoissonRecon/Version5.1/">Version 5.1</a>:
<ol> <li> Minor bug-fix to address incorrect neighborhood estimation in the octree finalization. </li></ol><a href="https://www.cs.jhu.edu/~misha/Code/PoissonRecon/Version5.5a/">Version 5.5a</a>:
<ol> <li> Modified to support depths greater than 14. (Should work up to 18 or 19 now.) </li><li> Improved speed and memory performance by removing the construction of integral and value tables. </li><li> Fixed a bug in Version 5.5 that used memory and took more time without doing anything useful. </li></ol><a href="https://www.cs.jhu.edu/~misha/Code/PoissonRecon/Version5.6/">Version 5.6</a>:
<ol> <li> Added the <b>--normalWeight</b> flag to support setting a point's interpolation weight in proportion to the magnitude of its normal. </li></ol><a href="https://www.cs.jhu.edu/~misha/Code/PoissonRecon/Version5.7/">Version 5.7</a>:
<ol> <li> Modified the setting of the constraints, replacing the map/reduce implementation with OpenMP atomics to reduce memory usage. </li><li> Fixed bugs that caused numerical overflow when processing large point clouds on multi-core machines. </li><li> Improved efficiency of the iso-surface extraction phse. </li></ol><a href="https://www.cs.jhu.edu/~misha/Code/PoissonRecon/Version5.71/">Version 5.71</a>:
<ol> <li> Added the function <i>GetSolutionValue</i> to support the evaluation of the implicit function at a specific point. </li></ol><a href="https://www.cs.jhu.edu/~misha/Code/PoissonRecon/Version6/">Version 6</a>:
<ol> <li> Modified the solver to use Gauss-Seidel relaxation instead of conjugate-gradients at finer resolution. </li><li> Re-ordered the implementation of the solver so that only a windowed subset of the matrix is in memory at any time, thereby reducing the memory usage during the solver phase. </li><li> Separated the storage of the data associated with the octree nodes from the topology. </li></ol><a href="https://www.cs.jhu.edu/~misha/Code/PoissonRecon/Version6.1/">Version 6.1</a>:
<ol> <li> Re-ordered the implementation of the iso-surface extraction so that only a windowed subset of the octree is in memory at any time, thereby reducing the memory usage during the extracted phase. </li></ol><a href="https://www.cs.jhu.edu/~misha/Code/PoissonRecon/Version6.11/">Version 6.11</a>:
<ol> <li> Fixed a bug that created a crash in the evaluation phase when <b>--pointWeight</b> is set zero. </li></ol><a href="https://www.cs.jhu.edu/~misha/Code/PoissonRecon/Version6.12/">Version 6.12</a>:
<ol> <li> Removed the OpenMP <i>firstprivate</i> directive as it seemed to cause trouble under Linux compilations. </li></ol><a href="https://www.cs.jhu.edu/~misha/Code/PoissonRecon/Version6.13/">Version 6.13</a>:
<ol> <li> Added a <b>MemoryPointStream</b> class in <i>PointStream.inl</i> to support in-memory point clouds. </li><li> Modified the signature of <u>Octree::SetTree</u> in <i>MultiGridOctreeData.h</i> to take in a pointer to an object of type <b>PointStream</b> rather than a file-name. </li></ol><a href="https://www.cs.jhu.edu/~misha/Code/PoissonRecon/Version6.13a/">Version 6.13a</a>:
<ol> <li> Modified the signature of <u>Octree::SetIsoSurface</u> to rerun a <i>void</i>. [<a href="https://www.danielgm.net/cc/">cloudcompare</a>] </li><li> Added a definition of <u>SetIsoVertexValue</u> supporting double precision vertices. [<a href="https://www.danielgm.net/cc/">cloudcompare</a>] </li><li> Removed <i>Time.[h/cpp]</i> from the repository. [<a href="https://www.danielgm.net/cc/">cloudcompare</a>/<a href="https://asmaloney.com/">asmaloney</a>] </li><li> Fixed assignment bug in <u>Octree::SetSliceIsoVertices</u>. [<a href="https://asmaloney.com/">asmaloney</a>] </li><li> Fixed initialization bug in <u>SortedTreeNodes::SliceTableData</u> and <u>SortedTreeNodes::XSliceTableData</u>. [<a href="https://asmaloney.com/">asmaloney</a>] </li><li> Included <i>stdlib.h</i> in <i>Geometry.h</i>. [<a href="https://asmaloney.com/">asmaloney</a>] </li><li> Fixed default value bug in declaration of <u>Octree::SetTree</u>. [<a href="https://asmaloney.com/">asmaloney</a>] </li></ol><a href="https://www.cs.jhu.edu/~misha/Code/PoissonRecon/Version7.0/">Version 7.0</a>:
<ol> <li> Added functionality to support color extrapolation if present in the input. </li><li> Modified a bug with the way in which sample contributions were scaled. </li></ol><a href="https://www.cs.jhu.edu/~misha/Code/PoissonRecon/Version8.0/">Version 8.0</a>:
<ol> <li> Added support for different degree B-splines. (Note that as the B-spline degree is a template parameter, only degree 1 through 4 are supported. If higher order degrees are desired, additional template parameters can be easily added in the body of the <u>Execute</u> function inside of <i>PoissonRecon.cpp</i>. Similarly, to reduce compilation times, support for specific degrees can be removed.) </li><li> Added the <b>--primalGrid</b> flag to support to extraction of a grid using primal sampling. </li><li> Changed the implementation of the grid sampling so that computation is now linear, rather than log-linear, in the number of samples. </li></ol><a href="https://www.cs.jhu.edu/~misha/Code/PoissonRecon/Version9.0/">Version 9.0</a>:
<ol> <li> Added support for free boundary conditions. </li><li> Extended the solver to support more general linear systems. This makes it possible to use the same framework to implement the <a href="http://mesh.brown.edu/ssd/">Smoothed Signed Distance Reconstruction</a> of Calakli and Taubin (2011). </li><li> Modified the implementation of density estimation and input representation. This tends to define a slightly larger system. On its own, this results in slightly increased running-time/footprint for full-res reconstructions, but provides a substantially faster implementation when the output complexity is smaller than the input. </li></ol><a href="https://www.cs.jhu.edu/~misha/Code/PoissonRecon/Version9.01/">Version 9.01</a>:
<ol> <li> Reverted the density estimation to behave as in Version 8.0. </li></ol><a href="https://www.cs.jhu.edu/~misha/Code/PoissonRecon/Version9.01/">Version 9.011</a>:
<ol> <li> Added a parameter for specifying the temporary directory. </li></ol><a href="https://www.cs.jhu.edu/~misha/Code/PoissonRecon/Version10.00/">Version 10.00</a>:
<ol> <li> The code has been reworked to support arbitrary dimensions, finite elements of arbitrary degree, generally SPD systems in the evaluated/integrated values and derivatives of the functions, etc.</LI> <LI> For the reconstruction code, added the <B>--width</B> flag which allows the system to compute the depth of the octree given a target depth for the finest resolution nodes.</LI> <LI> For the reconstruction code, fixed a bug in the handling of the confidence encoded in the lengths of the normals. In addition, added the flags <B>--confidence</B> and <B>--confidenceBias</B> which allow the user more control of how confidence is used to affect the contribution of a sample.</LI> </ol><a href="https://www.cs.jhu.edu/~misha/Code/PoissonRecon/Version10.01/">Version 10.01</a>:
<ol> <li> Modified the reconstruction code to facilitate interpolation of other input-sample quantities, in addition to color.</LI> </ol><a href="https://www.cs.jhu.edu/~misha/Code/PoissonRecon/Version10.02/">Version 10.02</a>:
<ol> <li> Set the default value for <b>--degree</B> in PoissonRecon to 1 and change the definitiion of <I>DATA_DEGREE</I> to 0 for sharper color interpolation.</LI> </ol><a href="https://www.cs.jhu.edu/~misha/Code/PoissonRecon/Version10.03/">Version 10.03</a>:
<ol> <li> Cleaned up memory leaks and fixed a bug causing ImageStitching and EDTInHeat to SEGFAULT on Linux. </ol><a href="https://www.cs.jhu.edu/~misha/Code/PoissonRecon/Version10.04/">Version 10.04</a>:
<ol> <li> Replaced the ply I/O code with an object-oriented implementation. <LI> Updated the code to support compilation under gcc version 4.8. </ol><a href="https://www.cs.jhu.edu/~misha/Code/PoissonRecon/Version10.05/">Version 10.05</a>:
<ol> <LI> Added cleaner support for warning and error handling. <LI> Minor bug fixes. <LI> Added a <B>--inCore</B> flag that enables keeping the pointset in memory instead of streaming it in from disk. </ol><a href="https://www.cs.jhu.edu/~misha/Code/PoissonRecon/Version10.06/">Version 10.06</a>:
<ol> <LI> Improved performance. <LI> Modified <CODE>PoissonRecon</CODE> and <CODE>SSDRecon</CODE> to support processing of 2D point sets. <LI> Modified the 2D implementations of <CODE>PoissonRecon</CODE>, <CODE>SSDRecon</CODE>, and <CODE>AdaptiveTreeVisualization</CODE> to support ouput to <CODE>.jpg</CODE> and <CODE>.png</CODE> image files. </ol><a href="https://www.cs.jhu.edu/~misha/Code/PoissonRecon/Version10.07/">Version 10.07</a>:
<ol> <LI> Removed a bug that would cause memory access errors when some slices were empty. </ol><a href="https://www.cs.jhu.edu/~misha/Code/PoissonRecon/Version11.00/">Version 11.00</a>:
<ol> <LI> Added support for processing point-sets so large that 32-bit indices for octrees are not sufficient. (Enabled by defining the preprocessor variable <B>BIG_DATA</B> in the file <I>PreProcessor.h</I>. <LI> Added C++11 parallelism for compilers that do not support OpenMP. <LI> Added the code for <I>ChunkPly</I> which breaks up large meshes and/or point-sets into chunks. </ol><a href="https://www.cs.jhu.edu/~misha/Code/PoissonRecon/Version11.01/">Version 11.01</a>:
<ol> <LI> Fixed bug with <I>_mktemp</I> that caused the code to crash on Windows machine with more than 26 cores. </ol><a href="https://www.cs.jhu.edu/~misha/Code/PoissonRecon/Version11.02/">Version 11.02</a>:
<ol> <LI> Added error handling for numerical imprecision issues arrising when too many samples fall into a leaf node. </ol><a href="https://www.cs.jhu.edu/~misha/Code/PoissonRecon/Version12.00/">Version 12.00</a>:
<ol> <LI> Added functionality enabling <I>AdaptiveTreeVisualization</I> to output the values of a function at prescribed sample positions. <LI> Added the implementation of <I>PointInterpolant</I> that fits a function to a discrete set of sample values. </ol><a href="https://www.cs.jhu.edu/~misha/Code/PoissonRecon/Version13.00/">Version 13.00</a>:
<ol> <LI> Enabled passing in a constraint envelope to <I>PoissonRecon</I>, allowing one to define a region that is known to be outside the surface. <LI> Updated <I>ChunkPLY</I> to support processing of input points in either ASCII or binary format. </ol><a href="https://www.cs.jhu.edu/~misha/Code/PoissonRecon/Version13.50/">Version 13.50</a>:
<ol> <LI> Enabled support for automatically detecting attirbutes of input point cloud (in addition to positions and normals) when provided in .ply format. </ol><a href="https://www.cs.jhu.edu/~misha/Code/PoissonRecon/Version13.60/">Version 13.60</a>:
<ol> <LI> Modified the implementation of <I>PointInterpolant</I> to support separately prescribing value and gradient constraints. </ol><a href="https://www.cs.jhu.edu/~misha/Code/PoissonRecon/Version13.61/">Version 13.61</a>:
<ol> <LI> Bug fix addressing the problem that the memory for a <CODE>DynamicFactory</CODE> object is dynamically allocated and not only known at construction time. </ol><a href="https://www.cs.jhu.edu/~misha/Code/PoissonRecon/Version13.70/">Version 13.70</a>:
<ol> <LI> Using the updated <A HREF="https://www.cc.gatech.edu/~turk/ply.tar.gz">PLY libraray</A> with the less restrictive BSD license. </ol><a href="https://www.cs.jhu.edu/~misha/Code/PoissonRecon/Version13.71/">Version 13.71</a>:
<ol> <LI> Fixed a bug that resulted in incorrect point weighting when the samples were too sparse. </ol><a href="https://www.cs.jhu.edu/~misha/Code/PoissonRecon/Version13.72/">Version 13.72</a>:
<ol> <LI> Fixed a bug that could result in the reconstruction not solving up to the finest depth when the <b>--width</b> argument is used. </ol><a href="https://www.cs.jhu.edu/~misha/Code/PoissonRecon/Version13.73/">Version 13.73</a>:
<ol> <LI> Re-fixed a bug that could result in the reconstruction not solving up to the finest depth when the <b>--width</b> argument is used. </ol><a href="https://www.cs.jhu.edu/~misha/Code/PoissonRecon/Version13.74/">Version 13.74</a>:
<ol> <LI> Fixed a bug that could result in reconstruction failure when the reconstruction depth (e.g. computed using the <b>--width</b> argument) was lower than the full depth value. </ol><a href="https://www.cs.jhu.edu/~misha/Code/PoissonRecon/Version13.80/">Version 13.80</a>:
<ol> <LI> Updated the <I>SurfaceTrimmer</I> code to better handle small islands. </ol><a href="https://www.cs.jhu.edu/~misha/Code/PoissonRecon/Version13.99/">Version 13.99</a>:
<ol> <LI> Modified the <b>--width</b> parameter so that it serves as an upper bound on the width of a cell at the finest resolution. <LI> Modified the code so that the output mesh no longer has statistics about processing time/memory. </ol><a href="https://www.cs.jhu.edu/~misha/Code/PoissonRecon/Version14.00/">Version 14.00</a>:
<ol> <LI> Added support for distributed screened Poisson Surface Reconstruction. </ol><a href="https://www.cs.jhu.edu/~misha/Code/PoissonRecon/Version14.01/">Version 14.01</a>:
<ol> <LI> Added support for fixed width integer types. </ol><a href="https://www.cs.jhu.edu/~misha/Code/PoissonRecon/Version14.02/">Version 14.02</a>:
<ol> <LI> Fixed overflow bug when there are more than 2^32 nodes in the tree. </ol><a href="https://www.cs.jhu.edu/~misha/Code/PoissonRecon/Version14.02/">Version 15.00</a>:
<OL> <LI> Added support for header-only interface. <LI> Added example using the header-only interface for reconstructing surfaces from points randomly sampled from a sphere. </OL><a href="https://www.cs.jhu.edu/~misha/Code/PoissonRecon/Version15.01/">Version 15.01</a>:
<OL> <LI> Cleaned up interface into the reconstruction library. </OL><a href="https://www.cs.jhu.edu/~misha/Code/PoissonRecon/Version15.02/">Version 15.02</a>:
<OL> <LI> Changed <CODE>Poisson</CODE> and <CODE>SSD</CODE> to be classes for cleaner library interface in <code>Reconstruction.example.cpp</code>. </OL><a href="https://www.cs.jhu.edu/~misha/Code/PoissonRecon/Version15.03/">Version 15.03</a>:
<OL> <LI> Fixed <code>--width</code> bug in estimating scale factor. </OL><a href="https://www.cs.jhu.edu/~misha/Code/PoissonRecon/Version15.10/">Version 15.10</a>:
<OL> <LI> Added iso-curve extraction support (for 2D reconstruction) </OL><a href="https://www.cs.jhu.edu/~misha/Code/PoissonRecon/Version16.01/">Version 16.01</a>:
<OL> <LI> Added support for separte value interpolation in Poisson Surface Reconstruction </OL><a href="https://www.cs.jhu.edu/~misha/Code/PoissonRecon/Version16.02/">Version 16.02</a>:
<OL> <LI> Added support for additional <i>.ply</i> types </OL><a href="https://www.cs.jhu.edu/~misha/Code/PoissonRecon/Version16.03/">Version 16.03</a>:
<OL> <LI> Fixed <code>--width</code> compatibility bug with default depth. </OL><a href="https://www.cs.jhu.edu/~misha/Code/PoissonRecon/Version16.04/">Version 16.04</a>:
<OL> <LI> Fixed <code>--exact</code> bug. </OL><a href="https://www.cs.jhu.edu/~misha/Code/PoissonRecon/Version16.05/">Version 16.05</a>:
<OL> <LI> Fixed <code>ChunkPly</code> bug. </OL><a href="https://www.cs.jhu.edu/~misha/Code/PoissonRecon/Version16.06/">Version 16.06</a>:
<OL> <LI> Added <code>--keepSeparate</code> flag to <code>PoissonReconServer</code> to output non-fused geometry.. </OL><a href="https://www.cs.jhu.edu/~misha/Code/PoissonRecon/Version16.07/">Version 16.07</a>:
<OL> <LI> Fixed <code>--width</code> bug. </OL><a href="https://www.cs.jhu.edu/~misha/Code/PoissonRecon/Version16.08/">Version 16.08</a>:
<OL> <LI> Fixed <code>--kernelDepth</code> bug that occured when the <code>--width</code> flag was used to set the reconstruction depth. </OL><a href="https://www.cs.jhu.edu/~misha/Code/PoissonRecon/Version16.09/">Version 16.09</a>:
<OL> <LI> Removed dependence on <code>_mktemp</code>. </OL><a href="https://www.cs.jhu.edu/~misha/Code/PoissonRecon/Version16.10/">Version 16.10</a>:
<OL> <LI> Removed dependence on <code>_mktemp</code>. </OL><a href="https://www.cs.jhu.edu/~misha/Code/PoissonRecon/Version17.00/">Version 17.00</a>:
<OL> <LI> Added code for converting oriented points to disks for visualization. </OL><a href="https://www.cs.jhu.edu/~misha/Code/PoissonRecon/Version18.00/">Version 18.00</a>:
<OL> <LI> Encapsulated the code within the <CODE>PoissonRecon</CODE> namespace. </OL><a href="https://www.cs.jhu.edu/~misha/Code/PoissonRecon/Version18.01/">Version 18.01</a>:
<OL> <LI> Introduced compiler support for CLANG-sanitized code via the pre-processor flag <CODE>SANITIZED_PR</CODE>. </OL><a href="https://www.cs.jhu.edu/~misha/Code/PoissonRecon/Version18.02/">Version 18.02</a>:
<OL> <LI> Cleaned up bug in <ocde>PointsToDisks</code> executable. </OL><a href="https://www.cs.jhu.edu/~misha/Code/PoissonRecon/Version18.03/">Version 18.03</a>:
<OL> <LI> Fixed bug occurring when the octree was complete. </OL><a href="https://www.cs.jhu.edu/~misha/Code/PoissonRecon/Version18.04/">Version 18.04</a>:
<OL> <LI> Further sanitized multi-threading code. </OL><a href="https://www.cs.jhu.edu/~misha/Code/PoissonRecon/Version18.05/">Version 18.05</a>:
<OL> <LI> Replaced <BODE>BlockedVector</CODE> with <CODE>NestedVector</CODE> to reduce synchronization. </OL><a href="https://www.cs.jhu.edu/~misha/Code/PoissonRecon/Version18.10/">Version 18.10</a>:
<OL> <LI> Removed mutual exclusion in the iso-surfacing phase. </OL><a href="https://www.cs.jhu.edu/~misha/Code/PoissonRecon/Version18.20/">Version 18.20</a>:
<OL> <LI> Added an interface for evaluating the implicit function's values and gradients at points inside the bounding cube. <LI> Added a <CODE>--evaluate</CODE> flag to the <CODE>Reconstruction.example</CODE> executable that evaluates the implicit function at an interior/exterior/boundary point on the sphere. <LI> Changed defaults for PoissonReconstruction to use value interpolation and to evaluate to 0.5 at the input samples. </OL><a href="https://www.cs.jhu.edu/~misha/Code/PoissonRecon/Version18.30/">Version 18.30</a>:
<OL> <LI> Added an interface for evaluating the implicit data (e.g. color) field extrapolated from the samples. <LI> Modified the <CODE>--color</CODE> flag of the <CODE>Reconstruction.example</CODE> executable to support evaluation of colors from the extrapolated field. </OL><a href="https://www.cs.jhu.edu/~misha/Code/PoissonRecon/Version18.31/">Version 18.31</a>:
<OL> <LI> Removed the smoothing option in the <CODE>SufaceTrimmer</CODE> executable. </OL><a href="https://www.cs.jhu.edu/~misha/Code/PoissonRecon/Version18.35/">Version 18.35</a>:
<OL> <LI> Removed the confidence bias option. </OL><a href="https://www.cs.jhu.edu/~misha/Code/PoissonRecon/Version18.40/">Version 18.40</a>:
<OL> <LI> Added support for extrapolator accumulation. </OL><a href="https://www.cs.jhu.edu/~misha/Code/PoissonRecon/Version18.41/">Version 18.41</a>:
<OL> <LI> Removed explicitly instantiated static variables. </OL><a href="https://www.cs.jhu.edu/~misha/Code/PoissonRecon/Version18.42/">Version 18.42</a>:
<OL> <LI> Fixed parallelization bugs in <CODE>Extrapolator</CODE>. <LI> Moified <CODE>Reconstruction.example</CODE> to use parallelized extrapolation. </OL><a href="https://www.cs.jhu.edu/~misha/Code/PoissonRecon/Version18.50/">Version 18.50</a>:
<OL> <LI> Cleaned-up multi-threading code. </OL><a href="https://www.cs.jhu.edu/~misha/Code/PoissonRecon/Version18.50/">Version 18.55</a>:
<OL> <LI> Added the <b>ScaleNormals</B> executable. <LI> Removed the <b>--confidenceBias</B> flag. </OL><a href="https://www.cs.jhu.edu/~misha/Code/PoissonRecon/Version18.50/">Version 18.60</a>:
<OL> <LI> Changed the <B>--confidence</b> flag to be a bool (enabling is equivalent to having set to 1.0). <LI> Resolved clang compilation issues. </OL> </DETAILS> <hr> <a name="SUPPORT"><b>SUPPORT</b></a><br> <UL> <LI>This work was genersouly supported by the National Science Foundation (NSF) grant numbers <A HREF="https://www.nsf.gov/awardsearch/showAward?AWD_ID=0746039">0746039</A> and <A HREF="https://www.nsf.gov/awardsearch/showAward?AWD_ID=1422325">1422325</A>. <LI>We are extremely grateful to the EPFL <a href="https://lgg.epfl.ch/statues.php">Scanning 3D Statues from Photos</a> course, the <A HREF="http://graphics.stanford.edu/data/3Dscanrep/">Stanford 3D Scanning Repository</A>, and <A HREF="https://www.resonai.com/">Resonai</A> for sharing their data. <LI>This work was carried out at the <A HREF="https://www.arch.jhu.edu/">Advanced Research Computing at Hopkins (ARCH)</A> core facility, which is supported by the National Science Foundation (NSF) grant number <A HREF="https://www.nsf.gov/awardsearch/showAward?AWD_ID=1920103">1920103</A>. </UL>