コード例 #1
0
ファイル: Dewarp2.cs プロジェクト: bclgenki/tvn-cosine
        // Build the line disparity model
        public static int dewarpBuildLineModel(this L_Dewarp dew, int opensize, string debugfile)
        {
            if (null == dew)
            {
                throw new System.IO.FileNotFoundException("dew cannot be null.");
            }

            return(Native.DllImports.dewarpBuildLineModel((HandleRef)dew, opensize, debugfile));
        }
コード例 #2
0
ファイル: Dewarp3.cs プロジェクト: bclgenki/tvn-cosine
        public static int dewarpPopulateFullRes(this L_Dewarp dew, Pix pix, int x, int y)
        {
            if (null == dew)
            {
                throw new ArgumentNullException("dew cannot be null.");
            }

            return(Native.DllImports.dewarpPopulateFullRes((HandleRef)dew, (HandleRef)pix, x, y));
        }
コード例 #3
0
ファイル: Dewarp3.cs プロジェクト: bclgenki/tvn-cosine
        // Stripping out data and populating full res disparity
        public static int dewarpMinimize(this L_Dewarp dew)
        {
            if (null == dew)
            {
                throw new ArgumentNullException("dew cannot be null.");
            }

            return(Native.DllImports.dewarpMinimize((HandleRef)dew));
        }
コード例 #4
0
ファイル: Dewarp2.cs プロジェクト: bclgenki/tvn-cosine
        // Build disparity model for slope near binding
        public static int dewarpFindHorizSlopeDisparity(this L_Dewarp dew, Pix pixb, float fractthresh, int parity)
        {
            if (null == dew ||
                null == pixb)
            {
                throw new System.IO.FileNotFoundException("dew, pixb cannot be null.");
            }

            return(Native.DllImports.dewarpFindHorizSlopeDisparity((HandleRef)dew, (HandleRef)pixb, fractthresh, parity));
        }
コード例 #5
0
ファイル: Dewarp2.cs プロジェクト: bclgenki/tvn-cosine
        public static int dewarpFindHorizDisparity(this L_Dewarp dew, Ptaa ptaa)
        {
            if (null == dew ||
                null == ptaa)
            {
                throw new System.IO.FileNotFoundException("dew, ptaa cannot be null.");
            }

            return(Native.DllImports.dewarpFindHorizDisparity((HandleRef)dew, (HandleRef)ptaa));
        }
コード例 #6
0
ファイル: Dewarp4.cs プロジェクト: bclgenki/tvn-cosine
        public static int dewarpDebug(this L_Dewarp dew, string subdirs, int index)
        {
            if (null == dew ||
                string.IsNullOrWhiteSpace(subdirs))
            {
                throw new ArgumentNullException("dewa, subdirs cannot be null.");
            }

            return(Native.DllImports.dewarpDebug((HandleRef)dew, subdirs, index));
        }