Movatterモバイル変換


[0]ホーム

URL:


Skip to content

Navigation Menu

Sign in
Appearance settings

Search code, repositories, users, issues, pull requests...

Provide feedback

We read every piece of feedback, and take your input very seriously.

Saved searches

Use saved searches to filter your results more quickly

Sign up
Appearance settings

Commitf6faf68

Browse files
committed
tools params
1 parentcf24191 commitf6faf68

File tree

5 files changed

+249
-0
lines changed

5 files changed

+249
-0
lines changed

‎Server/tools/meshclean/clean.mlx‎

Lines changed: 11 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,11 @@
1+
<!DOCTYPE FilterScript>
2+
<FilterScript>
3+
<filter name="Merge Close Vertices">
4+
<Param min="0" max="0.106888" description="Merging distance" name="Threshold" tooltip="All the vertices that closer than this threshold are merged together. Use very small values, default values is 1/10000 of bounding box diagonal. " value="0.0010689" type="RichAbsPerc"/>
5+
</filter>
6+
<filter name="Remove Duplicate Faces"/>
7+
<filter name="Remove Isolated pieces (wrt Face Num.)">
8+
<Param description="Enter minimum conn. comp size:" name="MinComponentSize" tooltip="Delete all the connected components (floating pieces) composed by a number of triangles smaller than the specified one" value="7500" type="RichInt"/>
9+
</filter>
10+
<filter name="Remove Unreferenced Vertex"/>
11+
</FilterScript>
Lines changed: 11 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,11 @@
1+
<!DOCTYPE FilterScript>
2+
<FilterScript>
3+
<filter name="Merge Close Vertices">
4+
<Param min="0" max="0.106888" description="Merging distance" name="Threshold" tooltip="All the vertices that closer than this threshold are merged together. Use very small values, default values is 1/10000 of bounding box diagonal. " value="0.0010689" type="RichAbsPerc"/>
5+
</filter>
6+
<filter name="Remove Duplicate Faces"/>
7+
<filter name="Remove Isolated pieces (wrt Face Num.)">
8+
<Param description="Enter minimum conn. comp size:" name="MinComponentSize" tooltip="Delete all the connected components (floating pieces) composed by a number of triangles smaller than the specified one" value="1000" type="RichInt"/>
9+
</filter>
10+
<filter name="Remove Unreferenced Vertex"/>
11+
</FilterScript>
Lines changed: 25 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,25 @@
1+
<!DOCTYPE FilterScript>
2+
<FilterScript>
3+
<filter name="Quadric Edge Collapse Decimation">
4+
<Param value="0" tooltip="The desired final number of faces." type="RichInt" name="TargetFaceNum" description="Target number of faces"/>
5+
<Param value="0.2" tooltip="If non zero, this parameter specifies the desired final size of the mesh as a percentage of the initial size." type="RichFloat" name="TargetPerc" description="Percentage reduction (0..1)"/>
6+
<Param value="0.3" tooltip="Quality threshold for penalizing bad shaped faces.&lt;br>The value is in the range [0..1]&#xa; 0 accept any kind of face (no penalties),&#xa; 0.5 penalize faces with quality &lt; 0.5, proportionally to their shape&#xa;" type="RichFloat" name="QualityThr" description="Quality threshold"/>
7+
<Param value="false" tooltip="The simplification process tries to do not affect mesh boundaries during simplification" type="RichBool" name="PreserveBoundary" description="Preserve Boundary of the mesh"/>
8+
<Param value="1" tooltip="The importance of the boundary during simplification. Default (1.0) means that the boundary has the same importance of the rest. Values greater than 1.0 raise boundary importance and has the effect of removing less vertices on the border. Admitted range of values (0,+inf). " type="RichFloat" name="BoundaryWeight" description="Boundary Preserving Weight"/>
9+
<Param value="false" tooltip="Try to avoid face flipping effects and try to preserve the original orientation of the surface" type="RichBool" name="PreserveNormal" description="Preserve Normal"/>
10+
<Param value="false" tooltip="Avoid all the collapses that should cause a topology change in the mesh (like closing holes, squeezing handles, etc). If checked the genus of the mesh should stay unchanged." type="RichBool" name="PreserveTopology" description="Preserve Topology"/>
11+
<Param value="true" tooltip="Each collapsed vertex is placed in the position minimizing the quadric error.&#xa; It can fail (creating bad spikes) in case of very flat areas. &#xa;If disabled edges are collapsed onto one of the two original vertices and the final mesh is composed by a subset of the original vertices. " type="RichBool" name="OptimalPlacement" description="Optimal position of simplified vertices"/>
12+
<Param value="false" tooltip="Add additional simplification constraints that improves the quality of the simplification of the planar portion of the mesh." type="RichBool" name="PlanarQuadric" description="Planar Simplification"/>
13+
<Param value="false" tooltip="Use the Per-Vertex quality as a weighting factor for the simplification. The weight is used as a error amplification value, so a vertex with a high quality value will not be simplified and a portion of the mesh with low quality values will be aggressively simplified." type="RichBool" name="QualityWeight" description="Weighted Simplification"/>
14+
<Param value="true" tooltip="After the simplification an additional set of steps is performed to clean the mesh (unreferenced vertices, bad faces, etc)" type="RichBool" name="AutoClean" description="Post-simplification cleaning"/>
15+
<Param value="false" tooltip="The simplification is applied only to the selected set of faces.&#xa; Take care of the target number of faces!" type="RichBool" name="Selected" description="Simplify only selected faces"/>
16+
</filter>
17+
<filter name="Merge Close Vertices">
18+
<Param min="0" max="0.106888" description="Merging distance" name="Threshold" tooltip="All the vertices that closer than this threshold are merged together. Use very small values, default values is 1/10000 of bounding box diagonal. " value="0.0010689" type="RichAbsPerc"/>
19+
</filter>
20+
<filter name="Remove Duplicate Faces"/>
21+
<filter name="Remove Isolated pieces (wrt Face Num.)">
22+
<Param description="Enter minimum conn. comp size:" name="MinComponentSize" tooltip="Delete all the connected components (floating pieces) composed by a number of triangles smaller than the specified one" value="1000" type="RichInt"/>
23+
</filter>
24+
<filter name="Remove Unreferenced Vertex"/>
25+
</FilterScript>
Lines changed: 76 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,76 @@
1+
2+
3+
s_verbose = true; // output debug statements (invalid frames etc)
4+
5+
s_erodeSIFTdepth = true;
6+
s_sendUplinkFeedbackImage = true;
7+
8+
s_recordSolverConvergence = false;
9+
10+
s_enablePerFrameTimings = true;
11+
s_enableGlobalTimings = false;
12+
13+
s_widthSIFT = 640;
14+
s_heightSIFT = 480;
15+
16+
s_minKeyScale = 3.0f;//5.0f;
17+
s_siftMatchThresh = 0.7f;//0.5f;
18+
s_siftMatchRatioMaxLocal = 0.8f;
19+
s_siftMatchRatioMaxGlobal = 0.8f;
20+
21+
s_optMaxResThresh = 0.12f;//not squared (per axis component)
22+
s_denseDistThresh = 0.15f;
23+
s_denseNormalThresh = 0.95f;
24+
s_denseColorThresh = 0.1f;
25+
s_denseColorGradientMin = 0.005f;
26+
s_denseDepthMin = 0.5f;
27+
s_denseDepthMax = 4.0f;//4.5f;
28+
s_denseOverlapCheckSubsampleFactor = 4;
29+
30+
s_maxNumImages = 2000;
31+
s_submapSize = 10;
32+
s_maxNumKeysPerImage = 512;
33+
s_maxNumCorrPerImage = 2000; // over-conservative
34+
s_maxNumResidualsRemoved = 10;
35+
36+
s_useLocalDense = true;
37+
s_numOptPerResidualRemoval = 1;
38+
39+
s_numLocalNonLinIterations = 2;
40+
s_numLocalLinIterations = 100;
41+
s_numGlobalNonLinIterations = 3;
42+
s_numGlobalLinIterations = 150;
43+
44+
s_downsampledWidth = 80;
45+
s_downsampledHeight = 60;
46+
47+
48+
//dense term filtering
49+
s_colorDownSigma = 2.5f;
50+
s_depthDownSigmaD = 1.0f;
51+
s_depthDownSigmaR = 0.05f;
52+
53+
s_maxKabschResidual2 = 0.0006f;
54+
55+
s_projCorrDistThres = 0.15f;
56+
s_projCorrNormalThres = 0.95f;
57+
s_projCorrColorThresh = 0.1f;
58+
59+
s_verifySiftErrThresh = 0.12f;
60+
s_verifySiftCorrThresh = 0.02f;
61+
62+
s_useLocalVerify = true;
63+
s_verifyOptErrThresh = 0.05f;
64+
s_verifyOptCorrThresh = 0.001f;
65+
66+
s_surfAreaPcaThresh = 0.032f;
67+
68+
s_minNumMatchesLocal = 4;
69+
s_minNumMatchesGlobal = 4;
70+
71+
// filtering
72+
s_depthSigmaD = 2.0f;//bilateral filter sigma domain
73+
s_depthSigmaR = 0.05f;//bilateral filter sigma range
74+
s_depthFilter = true;//bilateral filter enabled depth
75+
76+
s_useComprehensiveFrameInvalidation = true;
Lines changed: 126 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,126 @@
1+
// 0=Kinect; 1=PrimeSense; 2=KinectOne; 3=BinaryDumpReader; 4=NetworkSensor; 5=IntelSensor; 6=RealSense; 7=StructureSensor; 8=SensorDataReader
2+
s_sensorIdx = 8;
3+
4+
s_numSolveFramesBeforeExit = 60; //#frames to run after scan is done before saving ply and exiting; -1 to keep running
5+
s_overwriteOrigSensTrajectory = true;
6+
7+
s_generateVideo = false;
8+
s_generateVideoDir = "output/";
9+
s_printTimingsDirectory = "";
10+
s_printConvergenceFile = "";
11+
s_topVideoTransformWorld = 1.0f 0.0f 0.0f 0.0f 0.0f 1.0f 0.0f 0.0f 0.0f 0.0f 1.0f 0.0f 0.0f 0.0f 0.0f 1.0f;
12+
s_topVideoCameraPose = 0.0f 0.0f 0.0f 0.0f; //rotation (deg around z axis), translation (m)
13+
s_topVideoMinMax = 0.0f 0.0f;
14+
15+
s_windowWidth = 640;//render window width
16+
s_windowHeight = 480;//render window height
17+
//s_windowWidth = 1600;//render window width
18+
//s_windowHeight = 1200;//render window height
19+
20+
s_integrationWidth = 320;//input depth gets re-sampled to this width (decrease to improve perf.)
21+
s_integrationHeight = 240;//input depth gets re-sampled to this height (decrease to improve perf.)
22+
s_rayCastWidth = 320;//should be same as integration except if rendering video
23+
s_rayCastHeight = 240;
24+
25+
//trajectory manager/reintegration
26+
s_maxFrameFixes = 30;//max number of frames reintegrated per frame
27+
s_topNActive = 30;//max number of active elements to be reintegrated (sorted list)
28+
s_minPoseDistSqrt = 0.0f;//reintegrate everything above that pose distance (squared dist)
29+
30+
////////////////////////////////////
31+
// **** DEPTH SENSING BELOW ***** //
32+
////////////////////////////////////
33+
34+
s_sensorDepthMax = 6.0f;//maximum sensor depth in meter
35+
s_sensorDepthMin = 0.1f;//minimum sensor depth in meter
36+
s_renderDepthMax = 6.0f;//maximum render depth in meter
37+
s_renderDepthMin = 0.1f;//minimum render depth in meter
38+
39+
// cropping options for PrimeSense & Asus Xtion Pro
40+
s_enableColorCropping = false;
41+
s_colorCropX = 320;
42+
s_colorCropY = 272;
43+
s_colorCropWidth = 640;
44+
s_colorCropHeight = 480;
45+
46+
// sdf and hash settings
47+
s_SDFVoxelSize = 0.010f;//voxel size in meter (IMPORTANT: reduces to improve perf.)
48+
s_SDFMarchingCubeThreshFactor = 10.0f;//marching cube thresh: s_SDFMarchingCubeThresh = s_SDFMarchingCubeThreshFactor*s_SDFVoxelSize
49+
s_SDFTruncation = 0.06f;//truncation in meter
50+
s_SDFTruncationScale = 0.02f;//truncation scale in meter per meter
51+
s_SDFMaxIntegrationDistance = 4.0f;//maximum integration in meter
52+
s_SDFIntegrationWeightSample = 1;//weight for an integrated depth value
53+
s_SDFIntegrationWeightMax = 99999999;//maximum integration weight for a voxel
54+
// s_SDFBlockSize is pound defined (SDF_BLOCK_SIZE)
55+
// s_hashBucketSize is pound defined (HASH_BUCKET_SIZE)
56+
s_hashNumBuckets = 800000;//smaller voxels require more space
57+
s_hashNumSDFBlocks = 600000;//100000;//smaller voxels require more space
58+
s_hashMaxCollisionLinkedListSize = 7;
59+
60+
// raycast
61+
s_SDFRayIncrementFactor = 0.8f;//(don't touch) s_SDFRayIncrement = s_SDFRayIncrementFactor*s_SDFTrunaction;
62+
s_SDFRayThresSampleDistFactor = 50.5f;//(don't touch) s_SDFRayThresSampleDist = s_SDFRayThresSampleDistFactor*s_rayIncrement;
63+
s_SDFRayThresDistFactor = 50.0f;//(don't touch) s_SDFRayThresDist = s_SDFRayThresSampleDistFactor*s_rayIncrement;
64+
s_SDFUseGradients = false;//analytic gradients for rendering
65+
66+
67+
s_binaryDumpSensorFile = "";
68+
s_binaryDumpSensorUseTrajectory = false;
69+
70+
// filtering (unused in FriedLiver)
71+
s_depthSigmaD = 2.0f;//bilateral filter sigma domain
72+
s_depthSigmaR = 0.1f;//bilateral filter sigma range
73+
s_depthFilter = false;//bilateral filter enabled depth
74+
75+
s_colorSigmaD = 2.0f;//bilateral filter sigma domain
76+
s_colorSigmaR = 0.1f;//bilateral filter sigma range
77+
s_colorFilter = false;//bilateral filter enabled depth
78+
79+
s_integrationEnabled= true;
80+
s_trackingEnabled= true;
81+
s_timingsDetailledEnabled = true;//enable timing output
82+
s_timingsTotalEnabled= false;//enable timing output
83+
s_garbageCollectionEnabled= true;
84+
s_garbageCollectionStarve= 0;//decrement the voxel weight every n'th frame
85+
86+
// rendering
87+
s_materialShininess = 16.0f;
88+
s_materialAmbient = 0.75f 0.65f 0.5f 1.0f;
89+
s_materialDiffuse = 1.0f 0.9f 0.7f 1.0f;
90+
s_materialSpecular = 1.0f 1.0f 1.0f 1.0f;
91+
s_lightAmbient = 0.4f 0.4f 0.4f 1.0f;
92+
s_lightDiffuse = 0.6f 0.52944f 0.4566f 0.6f;
93+
s_lightSpecular = 0.3f 0.3f 0.3f 1.0f;
94+
s_lightDirection = 0.0f -1.0f 2.0f;
95+
96+
s_RenderMode = 1;
97+
s_playData = true;
98+
99+
s_renderingDepthDiscontinuityThresOffset = 0.012f; // discontinuity offset in meter
100+
s_renderingDepthDiscontinuityThresLin = 0.001f; // additional discontinuity threshold per meter
101+
s_remappingDepthDiscontinuityThresOffset = 0.012f; // discontinuity offset in meter
102+
s_remappingDepthDiscontinuityThresLin = 0.01f;
103+
104+
s_bUseCameraCalibration = false;
105+
106+
s_marchingCubesMaxNumTriangles = 5000000; // max buffer size for marching cube
107+
108+
//streaming parameters
109+
s_streamingEnabled = false;
110+
s_streamingVoxelExtents = 1.0f 1.0f 1.0f;
111+
s_streamingGridDimensions = 257 257 257; // dimensions have to be odd (number of samples)
112+
s_streamingMinGridPos = -128 -128 -128;
113+
s_streamingInitialChunkListSize = 2000;
114+
s_streamingRadius = 5.0f; // Depends on DepthMin and DepthMax
115+
s_streamingPos = 0.0f 0.0f 3.0f 1.0f; // Depends on DepthMin and DepthMax
116+
s_streamingOutParts = 80;// number of frames required to sweep through the entire hash
117+
118+
//recording of the input data
119+
s_recordData = false;// master flag for data recording: enables or disables data recording
120+
s_recordCompression = true;//if recoding is enabled; then compression is used (.sens instead of .sensor)
121+
s_recordDataWidth = 640;//only applies to the non compressed version (see RGBDSensor.cpp)
122+
s_recordDataHeight = 480;//only applies to the non compressed version (see RGBDSensor.cpp)
123+
s_recordDataFile = "dump/recording.sens";
124+
s_reconstructionEnabled = true;
125+
126+

0 commit comments

Comments
 (0)

[8]ページ先頭

©2009-2025 Movatter.jp