コード例 #1
0
        internal void UpdateOptions(ref DepthDataCleanerOptions depthDataCleanerOptions, ref CloudGeneratorOptions cloudGeneratorOptions, IPointCloudSource <PointXYZConfidence> pointCloudSource)
        {
            // -- Set Generation Options
            cloudGeneratorOptions.clusterRadius = clusterRadius;
            cloudGeneratorOptions.debugDisplay  = debugDisplay;

            // -- Set DepthData Cleaner Options
            depthDataCleanerOptions.maximumNoise            = maximumNoise;
            depthDataCleanerOptions.minimumDepth            = minimumDepth;
            depthDataCleanerOptions.maximumDepth            = maximumDepth;
            depthDataCleanerOptions.minimumConfidence       = minimumConfidence;
            depthDataCleanerOptions.medianFilterSize        = medianFilterSize;
            depthDataCleanerOptions.morphologicalFilterSize = morphologicalFilterSize;
            depthDataCleanerOptions.morpholicalIteration    = morpholicalIteration;
            depthDataCleanerOptions.debugDisplay            = debugDisplay;
            depthDataCleanerOptions.cameraRotated180        = debugDisplay;



            // -- Set DepthData Cleaner Options
            // KernelHandsInterop.SetDepthDataCleanerOptions(ref depthDataCleanerOptions);

            // -- Set PointCloudSource Generation Options
            pointCloudSource.SetPointCloudGeneratorOptions(cloudGeneratorOptions);
        }
コード例 #2
0
 internal static extern bool SetDepthDataCleanerOptions(ref DepthDataCleanerOptions depthDataCleanerOptions);