Emgu.CV.StereoGC.StereoGC C# (CSharp) Метод

StereoGC() публичный Метод

Creates the stereo correspondence state and initializes it.
public StereoGC ( int numberOfDisparities, int maxIters ) : System
numberOfDisparities int The number of disparities. The disparity search range will be state.minDisparity <= disparity < state.minDisparity + state.numberOfDisparities
maxIters int Maximum number of iterations. On each iteration all possible (or reasonable) alpha-expansions are tried. The algorithm may terminate earlier if it could not find an alpha-expansion that decreases the overall cost function value
Результат System
        public StereoGC(
         int numberOfDisparities,
         int maxIters)
        {
            _ptr = CvInvoke.cvCreateStereoGCState(numberOfDisparities, maxIters);
             State = (MCvStereoGCState)Marshal.PtrToStructure(_ptr, typeof(MCvStereoGCState));
        }