Пример #1
0
        /// <summary>
        /// Release this <see cref="Pyramid"/>.
        /// </summary>
        public void Dispose()
        {
            Pyramid thisReference = this;

            VX.Release(ref thisReference);

            _Reference = thisReference._Reference;
        }
Пример #2
0
        public static Status LaplacianReconstruct(Context context, Pyramid laplacian, Image input, Image output)
        {
            Status retValue;

            Debug.Assert(Delegates.pvxuLaplacianReconstruct != null, "pvxuLaplacianReconstruct not implemented");
            retValue = Delegates.pvxuLaplacianReconstruct(context, laplacian, input, output);
            LogCommand("vxuLaplacianReconstruct", retValue, context, laplacian, input, output);
            DebugCheckErrors(retValue);

            return(retValue);
        }
Пример #3
0
        public static Status OpticalFlowPyrLK(Context context, Pyramid old_images, Pyramid new_images, Array old_points, Array new_points_estimates, Array new_points, int termination, Scalar epsilon, Scalar num_iterations, Scalar use_initial_estimate, UIntPtr window_dimension)
        {
            Status retValue;

            Debug.Assert(Delegates.pvxuOpticalFlowPyrLK != null, "pvxuOpticalFlowPyrLK not implemented");
            retValue = Delegates.pvxuOpticalFlowPyrLK(context, old_images, new_images, old_points, new_points_estimates, new_points, termination, epsilon, num_iterations, use_initial_estimate, window_dimension);
            LogCommand("vxuOpticalFlowPyrLK", retValue, context, old_images, new_images, old_points, new_points_estimates, new_points, termination, epsilon, num_iterations, use_initial_estimate, window_dimension);
            DebugCheckErrors(retValue);

            return(retValue);
        }
Пример #4
0
        public static Status GaussianPyramid(Context context, Image input, Pyramid gaussian)
        {
            Status retValue;

            Debug.Assert(Delegates.pvxuGaussianPyramid != null, "pvxuGaussianPyramid not implemented");
            retValue = Delegates.pvxuGaussianPyramid(context, input, gaussian);
            LogCommand("vxuGaussianPyramid", retValue, context, input, gaussian);
            DebugCheckErrors(retValue);

            return(retValue);
        }