예제 #1
0
        //javadoc: StereoBM::create()
        public static StereoBM create()
        {
#if ((UNITY_ANDROID || UNITY_IOS || UNITY_WEBGL) && !UNITY_EDITOR) || UNITY_5 || UNITY_5_3_OR_NEWER
            StereoBM retVal = StereoBM.__fromPtr__(calib3d_StereoBM_create_12());

            return(retVal);
#else
            return(null);
#endif
        }
예제 #2
0
        //
        // C++: static Ptr_StereoBM cv::StereoBM::create(int numDisparities = 0, int blockSize = 21)
        //

        //javadoc: StereoBM::create(numDisparities, blockSize)
        public static StereoBM create(int numDisparities, int blockSize)
        {
#if ((UNITY_ANDROID || UNITY_IOS || UNITY_WEBGL) && !UNITY_EDITOR) || UNITY_5 || UNITY_5_3_OR_NEWER
            StereoBM retVal = StereoBM.__fromPtr__(calib3d_StereoBM_create_10(numDisparities, blockSize));

            return(retVal);
#else
            return(null);
#endif
        }
예제 #3
0
 /**
  * Creates StereoBM object
  *
  *     param numDisparities the disparity search range. For each pixel algorithm will find the best
  *     disparity from 0 (default minimum disparity) to numDisparities. The search range can then be
  *     shifted by changing the minimum disparity.
  *     (as the block is centered at the current pixel). Larger block size implies smoother, though less
  *     accurate disparity map. Smaller block size gives more detailed disparity map, but there is higher
  *     chance for algorithm to find a wrong correspondence.
  *
  *     The function create StereoBM object. You can then call StereoBM::compute() to compute disparity for
  *     a specific stereo pair.
  * return automatically generated
  */
 public static StereoBM create(int numDisparities)
 {
     return(StereoBM.__fromPtr__(calib3d_StereoBM_create_11(numDisparities)));
 }
예제 #4
0
        //
        // C++: static Ptr_StereoBM cv::StereoBM::create(int numDisparities = 0, int blockSize = 21)
        //

        /**
         * Creates StereoBM object
         *
         *     param numDisparities the disparity search range. For each pixel algorithm will find the best
         *     disparity from 0 (default minimum disparity) to numDisparities. The search range can then be
         *     shifted by changing the minimum disparity.
         *     param blockSize the linear size of the blocks compared by the algorithm. The size should be odd
         *     (as the block is centered at the current pixel). Larger block size implies smoother, though less
         *     accurate disparity map. Smaller block size gives more detailed disparity map, but there is higher
         *     chance for algorithm to find a wrong correspondence.
         *
         *     The function create StereoBM object. You can then call StereoBM::compute() to compute disparity for
         *     a specific stereo pair.
         * return automatically generated
         */
        public static StereoBM create(int numDisparities, int blockSize)
        {
            return(StereoBM.__fromPtr__(calib3d_StereoBM_create_10(numDisparities, blockSize)));
        }
예제 #5
0
 /**
  * Creates StereoBM object
  *
  *     disparity from 0 (default minimum disparity) to numDisparities. The search range can then be
  *     shifted by changing the minimum disparity.
  *     (as the block is centered at the current pixel). Larger block size implies smoother, though less
  *     accurate disparity map. Smaller block size gives more detailed disparity map, but there is higher
  *     chance for algorithm to find a wrong correspondence.
  *
  *     The function create StereoBM object. You can then call StereoBM::compute() to compute disparity for
  *     a specific stereo pair.
  * return automatically generated
  */
 public static StereoBM create()
 {
     return(StereoBM.__fromPtr__(calib3d_StereoBM_create_12()));
 }