/// <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); }
public void _Not() { CvInvoke.BitwiseNot(this, this, null); }