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);
        }
Exemple #2
0
        /// <summary>   Sets point cloud generator options. </summary>
        ///
        /// <param name="cloudGeneratorOptions">    Options for controlling the cloud generator. </param>
        ///
        /// <returns>   true if it succeeds, false if it fails. </returns>

        public bool SetPointCloudGeneratorOptions(CloudGeneratorOptions cloudGeneratorOptions)
        {
            HandKernelInterop.SetPointCloudGeneratorOptions(ref cloudGeneratorOptions);
            return(false);
        }