Beispiel #1
0
        public static int EnableDepthEdgeEnhance(bool active)
        {
            int result = SRWorkModule_API.SetDepthParameterBool((int)DepthCmd.ENABLE_EDGE_ENHANCE, active);

            if (result == (int)Error.WORK)
            {
                _DepthEdgeEnhance = active;
            }
            return(result);
        }
Beispiel #2
0
        public static int EnableDepthRefinement(bool active)
        {
            int result = SRWorkModule_API.SetDepthParameterBool((int)DepthCmd.ENABLE_REFINEMENT, active);

            if (result == (int)Error.WORK)
            {
                _DepthRefinement = active;
            }
            return(result);
        }