|
1 | 1 | { |
2 | | - "name": "RANSACGlobalRegistration", |
3 | | - "nickname": "RANSACGReg", |
| 2 | + "name": "DFCloudMeshDistance", |
| 3 | + "nickname": "DFC2MDistance", |
4 | 4 | "category": "diffCheck", |
5 | | - "subcategory": "Registrations", |
6 | | - "description": "Register two point clouds together with a feature matching based on RANSAC.", |
| 5 | + "subcategory": "Analysis", |
| 6 | + "description": "Computes the distance between a point cloud and a mesh", |
7 | 7 | "exposure": 4, |
8 | | - "instanceGuid": "805911b9-7ea9-4bbf-be34-00f9f225b9b3", |
| 8 | + "instanceGuid": "534a24ba-7e32-482f-a3d7-293647185122", |
9 | 9 | "ghpython": { |
10 | 10 | "hideOutput": true, |
11 | 11 | "hideInput": true, |
12 | 12 | "isAdvancedMode": true, |
13 | 13 | "marshalOutGuids": true, |
14 | 14 | "iconDisplay": 2, |
15 | 15 | "inputParameters": [ |
16 | | - { |
17 | | - "name": "i_recompute", |
18 | | - "nickname": "i_recompute", |
19 | | - "description": "Connect a button to recompute the registration.", |
20 | | - "optional": true, |
21 | | - "allowTreeAccess": true, |
22 | | - "showTypeHints": true, |
23 | | - "scriptParamAccess": "item", |
24 | | - "wireDisplay": "default", |
25 | | - "sourceCount": 0, |
26 | | - "typeHintID": "bool" |
27 | | - }, |
28 | 16 | { |
29 | 17 | "name": "i_cloud_source", |
30 | 18 | "nickname": "i_cloud_source", |
31 | 19 | "description": "The source point cloud.", |
32 | 20 | "optional": true, |
33 | 21 | "allowTreeAccess": true, |
34 | 22 | "showTypeHints": true, |
35 | | - "scriptParamAccess": "item", |
| 23 | + "scriptParamAccess": "list", |
36 | 24 | "wireDisplay": "default", |
37 | 25 | "sourceCount": 0, |
38 | 26 | "typeHintID": "pointcloud" |
39 | 27 | }, |
40 | 28 | { |
41 | | - "name": "i_cloud_target", |
42 | | - "nickname": "i_cloud_target", |
43 | | - "description": "The target cloud.", |
| 29 | + "name": "i_beam", |
| 30 | + "nickname": "i_beam", |
| 31 | + "description": "The target DFbeam", |
44 | 32 | "optional": false, |
45 | 33 | "allowTreeAccess": true, |
46 | 34 | "showTypeHints": true, |
47 | | - "scriptParamAccess": "item", |
| 35 | + "scriptParamAccess": "list", |
48 | 36 | "wireDisplay": "default", |
49 | 37 | "sourceCount": 0, |
50 | | - "typeHintID": "pointcloud" |
| 38 | + "typeHintID": "ghdoc" |
51 | 39 | }, |
52 | 40 | { |
53 | | - "name": "i_radius_kd_search", |
54 | | - "nickname": "i_radius_kd_search", |
55 | | - "description": "The radius used to search for neighbors in the KDTree.it is expressed relative to the point cloud size (0.01 means radiusKDTreeSearch = 1% of maxSize(pointCloud). It is used for the calculation of FPFHFeatures.", |
| 41 | + "name": "i_signed_flag", |
| 42 | + "nickname": "i_signed_flag", |
| 43 | + "description": "whether to consider the sign of the distances", |
56 | 44 | "optional": false, |
57 | | - "allowTreeAccess": true, |
| 45 | + "allowTreeAccess": false, |
58 | 46 | "showTypeHints": true, |
59 | 47 | "scriptParamAccess": "item", |
60 | 48 | "wireDisplay": "default", |
61 | 49 | "sourceCount": 0, |
62 | | - "typeHintID": "float" |
| 50 | + "typeHintID": "bool" |
63 | 51 | }, |
64 | 52 | { |
65 | | - "name": "i_neighbours_kd_search", |
66 | | - "nickname": "i_neighbours_kd_search", |
67 | | - "description": "The maximum number of neighbors to search for in the KDTree. It is used for the calculation of FPFHFeatures. A higher value will result in heavier computation but potentially more precise.", |
| 53 | + "name": "i_swap", |
| 54 | + "nickname": "i_swap", |
| 55 | + "description": "whether to swap source and target", |
68 | 56 | "optional": false, |
69 | | - "allowTreeAccess": true, |
| 57 | + "allowTreeAccess": false, |
70 | 58 | "showTypeHints": true, |
71 | 59 | "scriptParamAccess": "item", |
72 | 60 | "wireDisplay": "default", |
73 | 61 | "sourceCount": 0, |
74 | | - "typeHintID": "int" |
| 62 | + "typeHintID": "bool" |
75 | 63 | }, |
76 | 64 | { |
77 | | - "name": "i_max_corrspondence_dist", |
78 | | - "nickname": "i_max_corrspondence_dist", |
79 | | - "description": "The maximum distance between correspondences. A higher value will result in more correspondences, but potentially include wrong ones.", |
| 65 | + "name": "i_analysis_resolution", |
| 66 | + "nickname": "i_analysis_resolution", |
| 67 | + "description": "the maximum edge length of the mesh that is used for the distance calculation", |
80 | 68 | "optional": false, |
81 | | - "allowTreeAccess": true, |
| 69 | + "allowTreeAccess": false, |
82 | 70 | "showTypeHints": true, |
83 | 71 | "scriptParamAccess": "item", |
84 | 72 | "wireDisplay": "default", |
85 | 73 | "sourceCount": 0, |
86 | 74 | "typeHintID": "float" |
87 | | - }, |
| 75 | + } |
| 76 | + ], |
| 77 | + "outputParameters": [ |
88 | 78 | { |
89 | | - "name": "is_t_estimate_pt2pt", |
90 | | - "nickname": "is_t_estimate_pt2pt", |
91 | | - "description": "If true it deforms the cloud to match. The transformation estimation method to use. By default, it uses a point to point transformation estimation. If true it will scale and deform the cloud.", |
| 79 | + "name": "o_distances", |
| 80 | + "nickname": "o_distances", |
| 81 | + "description": "list of calculated distances for each point of the source.", |
92 | 82 | "optional": false, |
93 | | - "allowTreeAccess": true, |
94 | | - "showTypeHints": true, |
95 | | - "scriptParamAccess": "item", |
96 | | - "wireDisplay": "default", |
97 | 83 | "sourceCount": 0, |
98 | | - "typeHintID": "bool" |
| 84 | + "graft": false |
99 | 85 | }, |
100 | 86 | { |
101 | | - "name": "i_ransac_n", |
102 | | - "nickname": "i_ransac_n", |
103 | | - "description": "The number of points to sample in the source point cloud. A higher value can result in a more precise transformation, but will take more time to compute.", |
| 87 | + "name": "o_mse", |
| 88 | + "nickname": "o_mse", |
| 89 | + "description": "average squared difference between source and target.", |
104 | 90 | "optional": false, |
105 | | - "allowTreeAccess": true, |
106 | | - "showTypeHints": true, |
107 | | - "scriptParamAccess": "item", |
108 | | - "wireDisplay": "default", |
109 | 91 | "sourceCount": 0, |
110 | | - "typeHintID": "int" |
| 92 | + "graft": false |
111 | 93 | }, |
112 | 94 | { |
113 | | - "name": "i_checker_dist", |
114 | | - "nickname": "i_checker_dist", |
115 | | - "description": "The maximum distance between correspondances in the FPFH space before testing a RanSaC model. It is exprimed in relative values (it is scaled by the size of the bounding box of the poinnt cloud).", |
| 95 | + "name": "o_max_deviation", |
| 96 | + "nickname": "o_max_deviation", |
| 97 | + "description": "max deviation between source and target", |
116 | 98 | "optional": false, |
117 | | - "allowTreeAccess": true, |
118 | | - "showTypeHints": true, |
119 | | - "scriptParamAccess": "item", |
120 | | - "wireDisplay": "default", |
121 | 99 | "sourceCount": 0, |
122 | | - "typeHintID": "float" |
| 100 | + "graft": false |
123 | 101 | }, |
124 | 102 | { |
125 | | - "name": "i_similarity_threshold", |
126 | | - "nickname": "i_similarity_threshold", |
127 | | - "description": "The threshold for the ransac check based on edge length to consider a model as inlier. A higher value will be stricter, discarding more ransac models.", |
| 103 | + "name": "o_min_deviation", |
| 104 | + "nickname": "o_min_deviation", |
| 105 | + "description": "min deviation between source and target", |
128 | 106 | "optional": false, |
129 | | - "allowTreeAccess": true, |
130 | | - "showTypeHints": true, |
131 | | - "scriptParamAccess": "item", |
132 | | - "wireDisplay": "default", |
133 | 107 | "sourceCount": 0, |
134 | | - "typeHintID": "float" |
| 108 | + "graft": false |
135 | 109 | }, |
136 | 110 | { |
137 | | - "name": "i_max_iterations", |
138 | | - "nickname": "i_max_iterations", |
139 | | - "description": "The maximum number of iterations to run the Ransac algorithm. A higher value will take more time to compute but increases the chances of finding a good transformation.", |
| 111 | + "name": "o_std_deviation", |
| 112 | + "nickname": "o_std_deviation", |
| 113 | + "description": "standard deviation between source and target.", |
140 | 114 | "optional": false, |
141 | | - "allowTreeAccess": true, |
142 | | - "showTypeHints": true, |
143 | | - "scriptParamAccess": "item", |
144 | | - "wireDisplay": "default", |
145 | 115 | "sourceCount": 0, |
146 | | - "typeHintID": "int" |
| 116 | + "graft": false |
147 | 117 | }, |
148 | 118 | { |
149 | | - "name": "i_confidence_threshold", |
150 | | - "nickname": "i_confidence_threshold", |
151 | | - "description": "The threshold for the convergence criteria of the ransac models. A higher value will be stricter, discarding more ransac models.", |
152 | | - "optional": false, |
153 | | - "allowTreeAccess": true, |
154 | | - "showTypeHints": true, |
155 | | - "scriptParamAccess": "item", |
156 | | - "wireDisplay": "default", |
157 | | - "sourceCount": 0, |
158 | | - "typeHintID": "float" |
159 | | - } |
160 | | - ], |
161 | | - "outputParameters": [ |
162 | | - { |
163 | | - "name": "o_x_form", |
164 | | - "nickname": "o_x_form", |
165 | | - "description": "The computed transformation.", |
| 119 | + "name": "o_results", |
| 120 | + "nickname": "o_results", |
| 121 | + "description": "The result of the distance calculation.", |
166 | 122 | "optional": false, |
167 | 123 | "sourceCount": 0, |
168 | 124 | "graft": false |
|
0 commit comments