M3C2 via CLI
Posted: Wed Sep 09, 2020 2:52 am
having difficulties around running M3C2 plugin via the command line interface. I am trying to run the following parameters (see attached) but functions as "false" are still being processed. Attempting to use M3C2 with;
- normals pre-calculated on Cloud#1 (no normals calculated)
- no subsampling
The issue is parameters that are selected as false are still being used. Normals are being calculated with a normal orientation, and it's still having a subsampling ratio applied. I can work around the subsampling ratio with a low number but I cannot resolve the incorrect normal orientations. All available normal orientations are incorrect and I use the sensor position usually to calculate this. When I use these parameters in the user interface it turns out as desired but not through the CLI. How do I resolve the normals orientation in the command line interface as my program requires doing it through this way?
Topic won't let me attached the parameters used so see below.
[General]
M3C2VER=1
NormalScale=0.3
ExportDensityAtProjScale=false
ExportStdDevInfo=false
MaxThreadCount=20
MinPoints4Stat=5
NormalMinScale=1
NormalMaxScale=1
NormalMode=1
NormalPreferedOri=4
NormalStep=1
NormalUseCorePoints=true
PM1Scale=1
PM2Scale=1
PositiveSearchOnly=false
ProjDestIndex=1
RegistrationError=0
RegistrationErrorEnabled=false
SearchDepth=1.2
SearchScale=0.3
SubsampleEnabled=false
SubsampleRadius=0.00001
UseMedian=false
UseMinPoints4Stat=true
UseOriginalCloud=false
UsePrecisionMaps=false
UseSinglePass4Depth=false
- normals pre-calculated on Cloud#1 (no normals calculated)
- no subsampling
The issue is parameters that are selected as false are still being used. Normals are being calculated with a normal orientation, and it's still having a subsampling ratio applied. I can work around the subsampling ratio with a low number but I cannot resolve the incorrect normal orientations. All available normal orientations are incorrect and I use the sensor position usually to calculate this. When I use these parameters in the user interface it turns out as desired but not through the CLI. How do I resolve the normals orientation in the command line interface as my program requires doing it through this way?
Topic won't let me attached the parameters used so see below.
[General]
M3C2VER=1
NormalScale=0.3
ExportDensityAtProjScale=false
ExportStdDevInfo=false
MaxThreadCount=20
MinPoints4Stat=5
NormalMinScale=1
NormalMaxScale=1
NormalMode=1
NormalPreferedOri=4
NormalStep=1
NormalUseCorePoints=true
PM1Scale=1
PM2Scale=1
PositiveSearchOnly=false
ProjDestIndex=1
RegistrationError=0
RegistrationErrorEnabled=false
SearchDepth=1.2
SearchScale=0.3
SubsampleEnabled=false
SubsampleRadius=0.00001
UseMedian=false
UseMinPoints4Stat=true
UseOriginalCloud=false
UsePrecisionMaps=false
UseSinglePass4Depth=false