Adaptive Multigrid Solvers (Version 11.00)
links
executables
usage
changes
This code-base was born from the Poisson Surface Reconstruction code. It has evolved to support more general adaptive finite-elements systems:
- in spaces of arbitrary dimension,
- discretized using finite-elements of arbitrary degree,
- involving arbitrary function derivatives,
- with both point-wise and integrated constraints.
LINKS
Papers:
[Kazhdan, Bolitho, and Hoppe, 2006],
[Agarwala, 2007]
[Calakli and Taubin, 2011],
[Crane, Weischedel, and Wardetzky, 2013],
[Kazhdan and Hoppe, 2013]
Executables:
Win64
Source Code:
ZIP GitHub
Older Versions:
V10.07,
V10.06,
V10.05,
V10.04,
V10.03,
V10.02,
V10.01,
V10.00,
V9.011,
V9.01,
V9.0,
V8.0,
V7.0,
V6.13a,
V6.13,
V6.12,
V6.11,
V6.1,
V6,
V5.71,
V5.6,
V5.5a,
V5.1,
V5,
V4.51,
V4.5,
V4,
V3,
V2,
V1
EXECUTABLES
PoissonRecon:
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) [Kazhdan, Bolitho, and Hoppe, 2006],
[Kazhdan and Hoppe, 2013]
- --in <input points>
- This string is the name of the file from which the point set will be read.
If the file extension is .ply, the file should be in
PLY format, giving the list of oriented
vertices with the x-, y-, and z-coordinates of the positions encoded by the properties x, y, and
z and the x-, y-, and z-coordinates of the normals encoded by the properties nx, ny, and
nz .
If the file extension is .bnpts, 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.)
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.)
- [--out <output triangle mesh>]
- This string is the name of the file to which the triangle mesh will be written.
The file is written in PLY format.
- [--tree <output octree and coefficients>]
- This string is the name of the file to which the the octree and solution coefficients are to be written.
- [--grid <output grid>]
- This string is the name of the file to which the sampled implicit function will be written.
The file is written out in binary, with the first 4 bytes corresponding to the (integer) sampling resolution, 2^d,
and the next 4 x 2^d x 2^d x ... bytes corresponding to the (single precision) floating point values
of the implicit function.
- [--degree <B-spline degree>]
- 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).
The default value for this parameter is 2.
- [--bType <boundary type>]
- This integer specifies the boundary type for the finite elements. Valid values are:
- 1: Free boundary constraints
- 2: Dirichlet boundary constraints
- 3: Neumann boundary constraints
The default value for this parameter is 3 (Neumann).
- [--depth <reconstruction depth>]
- This integer is the maximum depth of the tree that will be used for surface reconstruction.
Running at depth d corresponds to solving on a grid whose resolution is no larger than
2^d x 2^d x ... Note that since the reconstructor adapts the octree to the
sampling density, the specified reconstruction depth is only an upper bound.
The default value for this parameter is 8.
- [--width <finest cell width>]
- This floating point value specifies the target width of the finest level octree cells.
This parameter is ignored if the --depth is also specified.
- [--scale <scale factor>]
- This floating point value specifies the ratio between the diameter of the cube used for reconstruction
and the diameter of the samples' bounding cube.
The default value is 1.1.
- [--samplesPerNode <minimum number of samples>]
- 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.
The default value is 1.0.
- [--pointWeight <interpolation weight>]
- This floating point value specifies the importance that interpolation of the point samples
is given in the formulation of the screened Poisson equation.
The results of the original (unscreened) Poisson Reconstruction can be obtained by setting this value to 0.
The default value for this parameter is twice the B-spline degree.
- [--iters <Gauss-Seidel iterations per level>]
- This integer value specifies the number of Gauss-Seidel relaxations to be performed at each level of the octree hierarchy.
The default value for this parameter is 8.
- [--density]
- Enabling this flag tells the reconstructor to output the estimated depth values of the iso-surface vertices.
- [--normals]
- Enabling this flag tells the reconstructor to output vertex normals, computed from the gradients of the implicit function.
- [--colors]
- Enabling this flag tells the reconstructor to read in color values with the input points and extrapolate those to the vertices of the output.
- [--data <pull factor>]
- If --colors is specified, this floating point value specifies the relative importance
of finer color estimates over lower ones.
The default value for this parameter is 32.
- [--confidence <normal confidence exponent>]
- This floating point value specifies the exponent to be applied to a point's confidence to adjust its weight. (A point's confidence is defined by the magnitude of its normal.)
The default value for this parameter is 0.
- [--confidenceBias <normal confidence bias exponent>]
- This floating point value specifies the exponent to be applied to a point's confidence to bias the resolution at which the sample contributes to the linear system. (Points with lower confidence are biased to contribute at coarser resolutions.)
The default value for this parameter is 0.
- [--primalGrid]
- 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.
- [--linearFit]
- Enabling this flag has the reconstructor use linear interpolation to estimate the positions of iso-vertices.
- [--polygonMesh]
- Enabling this flag tells the reconstructor to output a polygon mesh (rather than triangulating the results of Marching Cubes).
- [--tempDir <temporary output directory>]
- This string is the name of the directory to which temporary files will be written.
- [--threads <number of processing threads>]
- This integer specifies the number of threads across which the algorithm should be parallelized.
The default value for this parameter is equal to the numer of (virtual) processors on the executing machine.
- [--maxMemory <maximum memory usage (in GB)>]
- 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).
- [--performance]
- Enabling this flag provides running time and peak memory usage at the end of the execution.
- [--verbose]
- Enabling this flag provides a more verbose description of the running times and memory usages of individual components of the surface reconstructor.
SSDRecon:
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) [Calakli and Taubin, 2011]
- --in <input points>
- This string is the name of the file from which the point set will be read.
If the file extension is .ply, the file should be in
PLY format, giving the list of oriented
vertices with the x-, y-, and z-coordinates of the positions encoded by the properties x, y, and
z and the x-, y-, and z-coordinates of the normals encoded by the properties nx, ny, and
nz .
If the file extension is .bnpts, 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.)
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.)
- [--out <output triangle mesh>]
- This string is the name of the file to which the triangle mesh will be written.
The file is written in PLY format.
- [--tree <output octree and coefficients>]
- This string is the name of the file to which the the octree and solution coefficients are to be written.
- [--grid <output grid>]
- This string is the name of the file to which the sampled implicit function will be written.
The file is wrtten out in binary, with the first 4 bytes corresponding to the (integer) sampling resolution, 2^d,
and the next 4 x 2^d x 2^d x ... bytes corresponding to the (single precision) floating point values
of the implicit function.
- [--degree <B-spline degree>]
- 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).
The default value for this parameter is 2.
- [--depth <reconstruction depth>]
- This integer is the maximum depth of the tree that will be used for surface reconstruction.
Running at depth d corresponds to solving on a grid whose resolution is no larger than
2^d x 2^d x ... Note that since the reconstructor adapts the octree to the
sampling density, the specified reconstruction depth is only an upper bound.
The default value for this parameter is 8.
- [--width <finest cell width>]
- This floating point value specifies the target width of the finest level octree cells.
This parameter is ignored if the --depth is also specified.
- [--scale <scale factor>]
- This floating point value specifies the ratio between the diameter of the cube used for reconstruction
and the diameter of the samples' bounding cube.
The default value is 1.1.
- [--samplesPerNode <minimum number of samples>]
- 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.
The default value is 1.0.
- [--valueWeight <zero-crossing interpolation weight>]
- 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.
The default value for this parameter is 1.
- [--gradientWeight <normal interpolation weight>]
- 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.
The default value for this parameter is 1.
- [--biLapWeight <bi-Laplacian weight weight>]
- This floating point value specifies the importance that the bi-Laplacian regularization
is given in the formulation of the screened Smoothed Signed Distance Reconstruction.
The default value for this parameter is 1.
- [--iters <GS iters>]
- This integer value specifies the number of Gauss-Seidel relaxations to be performed at each level of the hiearchy.
The default value for this parameter is 8.
- [--density]
- Enabling this flag tells the reconstructor to output the estimated depth values of the iso-surface vertices.
- [--normals]
- Enabling this flag tells the reconstructor to output vertex normals, computed from the gradients of the implicit function.
- [--colors]
- Enabling this flag tells the reconstructor to read in color values with the input points and extrapolate those to the vertices of the output.
- [--data <pull factor>]
- If --colors is specified, this floating point value specifies the relative importance
of finer color estimates over lower ones.
The default value for this parameter is 32.
- [--confidence <normal confidence exponent>]
- This floating point value specifies the exponent to be applied to a point's confidence to adjust its weight. (A point's confidence is defined by the magnitude of its normal.)
The default value for this parameter is 0.
- [--confidenceBias <normal confidence bias exponent>]
- This floating point value specifies the exponent to be applied to a point's confidence to bias the resolution at which the sample contributes to the linear system. (Points with lower confidence are biased to contribute at coarser resolutions.)
The default value for this parameter is 0.
- [--primalGrid]
- 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.
- [--nonLinearFit]
- Enabling this flag has the reconstructor use quadratic interpolation to estimate the positions of iso-vertices.
- [--polygonMesh]
- Enabling this flag tells the reconstructor to output a polygon mesh (rather than triangulating the results of Marching Cubes).
- [--tempDir <temporary output directory>]
- This string is the name of the directory to which temporary files will be written.
- [--threads <number of processing threads>]
- This integer specifies the number of threads across which the algorithm should be parallelized.
The default value for this parameter is equal to the numer of (virtual) processors on the executing machine.
- [--maxMemory <maximum memory usage (in GB)>]
- 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).
- [--performance]
- Enabling this flag provides running time and peak memory usage at the end of the execution.
- [--verbose]
- Enabling this flag provides a more verbose description of the running times and memory usages of
individual components of the surface reconstructor.
SurfaceTrimmer:
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)
- --in <input triangle mesh>
- This string is the name of the file from which the triangle mesh will be read.
The file is read in PLY format and it is assumed that the vertices have a value field which stores the signal's value. (When run with --density flag, the reconstructor will output this field with the mesh vertices.)
- --trim <trimming value>
- 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.
- [--out <output triangle mesh>]
- This string is the name of the file to which the triangle mesh will be written.
The file is written in PLY format.
- [--smooth <smoothing iterations>]
- This integer values the number of umbrella smoothing operations to perform on the signal before trimming.
The default value is 5.
- [--aRatio <island area ratio>]
- 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, and will be discarded from the output surface to remove small disconnected components.
The default value 0.001.
- [--polygonMesh]
- Enabling this flag tells the trimmer to output a polygon mesh (rather than triangulating the trimming results).
- [--verbose]
- Enabling this flag provides a more verbose description of the running times and memory usages of individual components of the surface reconstructor.
ImageStitching:
Stitches together a composite of image tiles into a seamless panorama by solving for the correction term (solving a 2D Laplacian system) [Agarwala, 2007]
- --in <input composite image> <input label image>
- This pair of strings give the name of the composite image file and the associated label file.
All pixels in the composite that come from the same source should be assigned the same color in the label file.
PNG and JPG files are supported (though only PNG should be used for the label file as it is lossless).
- [--out <output image>]
- This string is the name of the file to which the stitched image will be written.
PNG and JPG files are supported.
- [--degree <B-spline degree>]
- 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).
The default value for this parameter is 1.
- [--wScl <successive under-relaxation scale>]
- This floating point value specifies the scale for the adapted successive under-relaxation used to remove ringing.
The default value 0.125.
- [--wExp <successive under-relaxation exponent>]
- This floating point value specifies the exponent for the adapted successive under-relaxation used to remove ringing.
The default value 6.
- [--iters <GS iters>]
- This integer value specifies the number of Gauss-Seidel relaxations to be performed at each level of the hiearchy.
The default value for this parameter is 8.
- [--threads <number of processing threads>]
- This integer specifies the number of threads across which the algorithm should be parallelized.
The default value for this parameter is equal to the numer of (virtual) processors on the executing machine.
- [--maxMemory <maximum memory usage (in GB)>]
- If positive, this integer value specifies the peak memory utilization for running the code (forcing the execution to terminate if the limit is exceeded).
- [--performance]
- Enabling this flag provides running time and peak memory usage at the end of the execution.
- [--verbose]
- Enabling this flag provides a more verbose description of the running times and memory usages of
individual components of the image stitcher.
EDTInHeat:
Computes the unsigned Euclidean Distance Transform of a triangle mesh (solving two 3D Laplacian systems) [Crane, Weischedel, and Wardetzky, 2013]
- --in <input mesh>
- This string is the name of the file from which the triangle mesh will be read.
The file is assumed to be in PLY format.
- [--out <output octree and coefficients>]
- This string is the name of the file to which the the octree and solution coefficients are to be written.
- [--degree <B-spline degree>]
- 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).
The default value for this parameter is 1.
- [--depth <edt depth>]
- This integer is the maximum depth of the tree that will be used for computing the Euclidean Distance Transform.
Running at depth d corresponds to solving on a grid whose resolution is no larger than
2^d x 2^d x ...
The default value for this parameter is 8.
- [--scale <scale factor>]
- 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.
The default value is 2.
- [--diffusion <diffusion time>]
- This floating point value specifies the time-scale for the initial heat diffusion.
The default value is 0.0005.
- [--valueWeight <zero-crossing interpolation weight>]
- This floating point value specifies the importance that the EDT evaluate to zero at points on the input mesh is given.
The default value for this parameter is 0.01.
- [--wScl <successive under-relaxation scale>]
- This floating point value specifies the scale for the adapted successive under-relaxation used to remove ringing.
The default value 0.125.
- [--wExp <successive under-relaxation exponent>]
- This floating point value specifies the exponent for the adapted successive under-relaxation used to remove ringing.
The default value 6.
- [--iters <GS iters>]
- This integer value specifies the number of Gauss-Seidel relaxations to be performed at each level of the hiearchy.
The default value for this parameter is 8.
- [--threads <number of processing threads>]
- This integer specifies the number of threads across which the algorithm should be parallelized.
The default value for this parameter is equal to the numer of (virtual) processors on the executing machine.
- [--maxMemory <maximum memory usage (in GB)>]
- If positive, this integer value specifies the peak memory utilization for running the code (forcing the execution to terminate if the limit is exceeded).
- [--performance]
- Enabling this flag provides running time and peak memory usage at the end of the execution.
- [--verbose]
- Enabling this flag provides a more verbose description of the running times and memory usages of individual components of the EDT computation.
AdaptiveTreeVisualization:
Extracts iso-surfaces and a sampling on a regular grid from an implicit function represented over an adapted tree
- --in <input tree and coefficients>
- This string is the name of the file from which the tree and implicit functions coefficients are to be read.
- [--grid <output value grid>]
- This string is the name of the file to which the sampling of the implicit along a regular grid will be written.
The file is written out in binary, with the first 4 bytes corresponding to the (integer) sampling resolution, R,
and the next 4 x R^D bytes corresponding to the (single precision) floating point values of the implicit function. (Here, D is the dimension.)
- [--primalGrid]
- 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.
- [--mesh <output triangle mesh>]
- This string is the name of the file to which the triangle mesh will be written.
The file is written in PLY format.
This is only supported for dimension 3.
- [--iso <iso-value for mesh extraction>]
- This floating point value specifies the iso-value at which the implicit surface is to be extracted.
The default value is 0.
- [--nonLinearFit]
- Enabling this flag has the reconstructor use quadratic interpolation to estimate the positions of iso-vertices.
- [--polygonMesh]
- Enabling this flag tells the reconstructor to output a polygon mesh (rather than triangulating the results of Marching Cubes).
- [--flip]
- Enabling this flag flips the orientations of the output triangles.
- [--threads <number of processing threads>]
- This integer specifies the number of threads across which the algorithm should be parallelized.
The default value for this parameter is equal to the numer of (virtual) processors on the executing machine.
- [--verbose]
- Enabling this flag provides a more verbose description of the running times and memory usages of
individual components of the visualizer.
ChunkPly:
Decomposes a single mesh/point-set file into a set of chunks with prescribed bounding box widths.
- --in <input ply file>
- This string is the name of the file containing the geometry that is to be chunked.
- [--out <output ply file name/header>]
- This string is the name of the file/header to which the chunks should be written. If the width of the chunk is W, the file containing the geometry inside the cube [W·i,W·(i+1)]×[W·j,W·(j+1)]×[W·k,W·(k+1)] will be named <output header>.i.j.k.ply.
- [--width <chunk width>]
- This floating point value specifies the width of the cubes used for chunking.
The default value for this parameter is -1, indicating that the input should be written to a single ouput. (In this case the value of the --out parameter is the name of the single file to which the output is written.
- [--radius <padding radius>]
- This floating point value specifies the size of the padding region used, as a fraction of the total width of the cube.
The default value for this parameter is 0, indicating that no padding should be used.
- [--verbose]
- Enabling this flag provides a more verbose description of the running times and memory usages of
individual components of the visualizer.
USAGE EXAMPLES (WITH SAMPLE DATA)
PoissonRecon / SSDRecon / SurfaceTrimmer / ChunkPly
For testing purposes, three point sets are provided:
- Horse:
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.
The surface of the model can be reconstructed by calling the either Poisson surface reconstructor:
% PoissonRecon --in horse.npts --out horse.ply --depth 10
or the SSD surface reconstructor
% SSDRecon --in horse.npts --out horse.ply --depth 10
- Bunny:
A set of 362,271 oriented point samples (represented in PLY format) was obtained by merging the data from the original Stanford Bunny
range scans. The orientation of the sample points was estimated
using the connectivity information within individual range scans.
The original (unscreened) Poisson reconstruction can be obtained by setting the point interpolation weight to zero:
% PoissonRecon --in bunny.points.ply --out bunny.ply --depth 10 --pointWeight 0
By default, the Poisson surface reconstructor uses degree-2 B-splines. A more efficient reconstruction can be obtained using degree-1 B-splines:
% PoissonRecon --in bunny.points.ply --out bunny.ply --depth 10 --pointWeight 0 --degree 1
(The SSD reconstructor requires B-splines of degree at least 2 since second derivatives are required to formulate the bi-Laplacian energy.)
- Eagle:
A set of 796,825 oriented point samples with color (represented in PLY format) was obtained in the EPFL Scanning 3D Statues from Photos course.
A reconstruction of the eagle that extrapolates the color values from the input samples can be obtained by calling:
% PoissonRecon --in eagle.points.ply --out eagle.pr.color.ply --depth 10 --colors
using the --colors flag to indicate that color extrapolation should be used.
A reconstruction of the eagle that does not close up the holes can be obtained by first calling:
% SSDRecon --in eagle.points.ply --out eagle.ssd.color.ply --depth 10 --colors --density
using the --density flag to indicate that density estimates should be output with the vertices of the mesh, and then calling:
% SurfaceTrimmer --in eagle.ssd.color.ply --out eagle.ssd.color.trimmed.ply --trim 7
to remove all subsets of the surface where the sampling density corresponds to a depth smaller than 7.
This reconstruction can be chunked into cubes of size 4×4×4 by calling:
% ChunkPly --in eagle.ssd.color.trimmed.ply --out eagle.ssd.color.trimmed.chnks --width 4
which partitions the reconstruction into 11 pieces.
ImageStitching
For testing purposes, two panoramas are provided: Jaffa (23794 x 9492 pixels) and OldRag (87722 x 12501 pixels).
A seamless panorama can be obtained by running:
% ImageSitching --in pixels.png labels.png --out out.png
EDTInHeat / AdaptiveTreeVisualization
The Euclidean Distance Tranform of the reconstructed horse can be obtained by running:
% EDTInHeat --in horse.ply --out horse.edt --depth 9
Then, the visualization code can be used to extract iso-surfaces from the implicit function.
To obtain a visualization near the input surface, use an iso-value close to zero:
% AdaptiveTreeVisualization.exe --in horse.edt --mesh horse_0.01_.ply --iso 0.01 --flip
(By default, the surface is aligned so that the outward facing normal aligns with the negative gradient. Hence, specifying the --flip
flag is used to re-orient the surface.)
To obtain a visualization closer to the boundary of the bounding box, use an iso-value close to zero:
% AdaptiveTreeVisualization.exe --in horse.edt --mesh horse_0.25_.ply --iso 0.25 --flip
(Since the default --scale
is 2, a value of 0.25 should still give a surface that is contained within the bounding box.)
To obtain a sampling of the implicit function over a regular grid:
% AdaptiveTreeVisualization.exe --in horse.edt --grid horse.grid
HISTORY OF CHANGES
Version 3:
- The implementation of the --samplesPerNode parameter has been modified so that a value of "1" more closely corresponds to a distribution with one sample per leaf node.
- 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.)
Version 4:
- The code supports screened reconstruction, with interpolation weight specified through the --pointWeight parameter.
- The code has been implemented to support parallel processing, with the number of threads used for parallelization specified by the --threads parameter.
- The input point set can now also be in PLY format, and the file-type is determined by the extension, so that the --binary flag is now obsolete.
- At depths coarser than the one specified by the value --minDepth the octree is no longer adaptive but rather complete, simplifying the prolongation operator.
Version 4.5:
- The algorithmic complexity of the solver was reduced from log-linear to linear.
Version 4.51:
- Smart pointers were added to ensure that memory accesses were in bounds.
Version 5:
- The --density flag was added to the reconstructor to output the estimated depth of the iso-vertices.
- The SurfaceTrimmer 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.
Version 5.1:
- Minor bug-fix to address incorrect neighborhood estimation in the octree finalization.
Version 5.5a:
- Modified to support depths greater than 14. (Should work up to 18 or 19 now.)
- Improved speed and memory performance by removing the construction of integral and value tables.
- Fixed a bug in Version 5.5 that used memory and took more time without doing anything useful.
Version 5.6:
- Added the --normalWeight flag to support setting a point's interpolation weight in proportion to the magnitude of its normal.
Version 5.7:
- Modified the setting of the constraints, replacing the map/reduce implementation with OpenMP atomics to reduce memory usage.
- Fixed bugs that caused numerical overflow when processing large point clouds on multi-core machines.
- Improved efficiency of the iso-surface extraction phse.
Version 5.71:
- Added the function GetSolutionValue to support the evaluation of the implicit function at a specific point.
Version 6:
- Modified the solver to use Gauss-Seidel relaxation instead of conjugate-gradients at finer resolution.
- 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.
- Separated the storage of the data associated with the octree nodes from the topology.
Version 6.1:
- 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.
Version 6.11:
- Fixed a bug that created a crash in the evaluation phase when --pointWeight is set zero.
Version 6.12:
- Removed the OpenMP firstprivate directive as it seemed to cause trouble under Linux compilations.
Version 6.13:
- Added a MemoryPointStream class in PointStream.inl to support in-memory point clouds.
- Modified the signature of Octree::SetTree in MultiGridOctreeData.h to take in a pointer to an object of type PointStream rather than a file-name.
Version 6.13a:
- Modified the signature of Octree::SetIsoSurface to rerun a void. [cloudcompare]
- Added a definition of SetIsoVertexValue supporting double precision vertices. [cloudcompare]
- Removed Time.[h/cpp] from the repository. [cloudcompare/asmaloney]
- Fixed assignment bug in Octree::SetSliceIsoVertices. [asmaloney]
- Fixed initialization bug in SortedTreeNodes::SliceTableData and SortedTreeNodes::XSliceTableData. [asmaloney]
- Included stdlib.h in Geometry.h. [asmaloney]
- Fixed default value bug in declaration of Octree::SetTree. [asmaloney]
Version 7.0:
- Added functionality to support color extrapolation if present in the input.
- Modified a bug with the way in which sample contributions were scaled.
Version 8.0:
- 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 Execute function inside of PoissonRecon.cpp.
Similarly, to reduce compilation times, support for specific degrees can be removed.)
- Added the --primalGrid flag to support to extraction of a grid using primal sampling.
- Changed the implementation of the grid sampling so that computation is now linear, rather than log-linear, in the number of samples.
Version 9.0:
- Added support for free boundary conditions.
- Extended the solver to support more general linear systems. This makes it possible to use the same framework to implement the Smoothed Signed Distance Reconstruction of Calakli and Taubin (2011).
- 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.
Version 9.01:
- Reverted the density estimation to behave as in Version 8.0.
Version 9.011:
- Added a parameter for specifying the temporary directory.
Version 10.00:
- 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.
- For the reconstruction code, added the --width flag which allows the system to compute the depth of the octree given a target depth for the finest resolution nodes.
- 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 --confidence and --confidenceBias which allow the user more control of how confidence is used to affect the contribution of a sample.
Version 10.01:
- Modified the reconstruction code to facilitate interpolation of other input-sample quantities, in addition to color.
Version 10.02:
- Set the default value for --degree in PoissonRecon to 1 and change the definitiion of DATA_DEGREE to 0 for sharper color interpolation.
Version 10.03:
- Cleaned up memory leaks and fixed a bug causing ImageStitching and EDTInHeat to SEGFAULT on Linux.
Version 10.04:
- Replaced the ply I/O code with an object-oriented implementation.
- Updated the code to support compilation under gcc version 4.8.
Version 10.05:
- Added cleaner support for warning and error handling.
- Minor bug fixes.
- Added a --inCore flag that enables keeping the pointset in memory instead of streaming it in from disk.
Version 10.06:
- Improved performance.
- Modified
PoissonRecon
and SSDRecon
to support processing of 2D point sets.
- Modified the 2D implementations of
PoissonRecon
, SSDRecon
, and AdaptiveTreeVisualization
to support ouput to .jpg
and .png
image files.
Version 10.07:
- Removed a bug that would cause memory access errors when some slices were empty.
Version 11.00:
- Added support for processing point-sets so large that 32-bit indices for octrees are not sufficient. (Enabled by defining the preprocessor variable BIG_DATA in the file PreProcessor.h.
- Added C++11 parallelism for compilers that do not support OpenMP.
- Added the code for ChunkPly which breaks up large meshes and/or point-sets into chunks.
SUPPORT
This work genersouly supported by NSF grants #0746039 and #1422325.
HOME