/// <summary> /// Resize the OclImage. The calling OclMat be OclMat%lt;Byte>. /// </summary> /// <param name="size">The new size</param> /// <param name="interpolationType">The interpolation type</param> /// <returns>An OclImage of the new size</returns> public OclImage <TColor, TDepth> Resize(Size size, CvEnum.INTER interpolationType) { OclImage <TColor, TDepth> result = new OclImage <TColor, TDepth>(size); OclInvoke.Resize(_ptr, result, 0, 0, interpolationType); return(result); }