Resize() 개인적인 메소드

private Resize ( IntPtr src, IntPtr dst, CvEnum interpolation ) : void
src System.IntPtr
dst System.IntPtr
interpolation CvEnum
리턴 void
예제 #1
0
        /// <summary>
        /// Resize the GpuImage. The calling GpuMat be GpuMat%lt;Byte&gt;. If stream is specified, it has to be either 1 or 4 channels.
        /// </summary>
        /// <param name="size">The new size</param>
        /// <param name="interpolationType">The interpolation type</param>
        /// <param name="stream">Use a Stream to call the function asynchronously (non-blocking) or null to call the function synchronously (blocking).</param>
        /// <returns>A GpuImage of the new size</returns>
        public GpuImage <TColor, TDepth> Resize(Size size, CvEnum.INTER interpolationType, Stream stream)
        {
            GpuImage <TColor, TDepth> result = new GpuImage <TColor, TDepth>(size);

            GpuInvoke.Resize(_ptr, result, interpolationType, stream);
            return(result);
        }