computes a normal vector field over a digitized 3D implicit surface for several estimators.
Computes a normal vector field over a digitized 3D implicit surface for several estimators (II|VCM|Trivial|True), specified with -e. You may add Kanungo noise with option -N. These estimators are compared with ground truth. You may then: 1) visualize the normals or the angle deviations with -V (if WITH_QGL_VIEWER is enabled), 2) outputs them as a list of cells/estimations with -n, 3) outputs them as a ImaGene file with -O, 4) outputs them as a NOFF file with -O, 5) computes estimation statistics with option -S.
-h,--help Print this help message and exit
-p,--polynomial TEXT REQUIRED the implicit polynomial whose zero-level defines the shape of interest.
-N,--noise FLOAT=0 the Kanungo noise level l=arg, with l^d the probability that a point at distance d is flipped inside/outside.
-a,--minAABB FLOAT=-10 the min value of the AABB bounding box (domain)
-A,--maxAABB FLOAT=10 the max value of the AABB bounding box (domain)
-g,--gridstep FLOAT=1 the gridstep that defines the digitization (often called h).
-e,--estimator TEXT:{True,VCM,II,Trivial}=True
the chosen normal estimator: True | VCM | II | Trivial
-R,--R-radius FLOAT=5 the constant for parameter R in R(h)=R h^alpha (VCM).
-r,--r-radius FLOAT=3 the constant for parameter r in r(h)=r h^alpha (VCM,II,Trivial).
-k,--kernel TEXT=hat the function chi_r, either hat or ball.
--alpha FLOAT=0 the parameter alpha in r(h)=r h^alpha (VCM).
-t,--trivial-radius FLOAT=3 the parameter t defining the radius for the Trivial estimator. Also used for reorienting the VCM.
-o,--output TEXT=output the output basename. All generated files will have the form <arg>-*, for instance <arg>-angle-deviation-<gridstep>.txt, <arg>-normals-<gridstep>.txt, <arg>-cells-<gridstep>.txt, <arg>-noff-<gridstep>.off.
-S,--angle-deviation-stats computes angle deviation
error and outputs them in file <basename>-angle-deviation-<gridstep>.txt, as specified by -o <basename>.
-x,--export TEXT=None exports surfel normals which can be viewed with ImaGene tool 'viewSetOfSurfels' in file <basename>-cells-<gridstep>.txt, as specified by -o <basename>. Parameter <arg> is None|Normals|AngleDeviation. The color depends on the angle deviation in degree: 0 metallic blue, 5 light cyan, 10 light green, 15 light yellow, 20 yellow, 25 orange, 30 red, 35, dark red, 40- grey
-n,--normals outputs every surfel, its estimated normal, and the ground truth normal in file <basename>-normals-<gridstep>.txt, as specified by -o <basename>.
-O,--noff exports the digital surface with normals as NOFF file <basename>-noff-<gridstep>.off, as specified by -o <basename>..
-V,--view TEXT view the digital surface with normals. Parameter <arg> is None|Normals|AngleDeviation. The color depends on the angle deviation in degree: 0 metallic blue, 5 light cyan, 10 light green, 15 light yellow, 20 yellow, 25 orange, 30 red, 35, dark red, 40- grey.