Esempio n. 1
0
 public MatOfRect2d(Mat m)
     : base(m, Range.all())
 {
     if (!empty() && checkVector(_channels, _depth) < 0)
     {
         throw new CvException("Incompatible Mat");
     }
     //FIXME: do we need release() here?
 }
Esempio n. 2
0
        public MatOfKeyPoint(Mat m)
            : base(m, Range.all())
        {
            if (m != null)
                m.ThrowIfDisposed();


            if (!empty() && checkVector(_channels, _depth) < 0)
                throw new CvException("Incompatible Mat");
            //FIXME: do we need release() here?
        }
Esempio n. 3
0
        public MatOfDMatch(Mat m)
            : base(m, Range.all())
        {
            if (m != null)
            {
                m.ThrowIfDisposed();
            }


            if (!empty() && checkVector(_channels, _depth) < 0)
            {
                throw new CvException("Incompatible Mat: " + ToString());
            }
            //FIXME: do we need release() here?
        }