Beispiel #1
0
        /// <summary>Compute the complement Mat</summary>
        /// <param name="mat">The mat to be inverted</param>
        /// <returns>The complement image</returns>
        public static UMat operator ~(UMat mat)
        {
            UMat invert = new UMat();

            CvInvoke.BitwiseNot(mat, invert);
            return(invert);
        }
Beispiel #2
0
 public void _Not()
 {
     CvInvoke.BitwiseNot(this, this, null);
 }