Esempio n. 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);
        }
Esempio n. 2
0
        /// <summary>
        /// Resize the OclImage. The calling OclMat be OclMat%lt;Byte&gt;.
        /// </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);
        }
Esempio n. 3
0
 public static extern void WarpPerspective(IntPtr src, IntPtr dst, IntPtr M, CvEnum.INTER flags);
Esempio n. 4
0
 public static extern void WarpAffine(IntPtr src, IntPtr dst, IntPtr M, CvEnum.INTER flags);
Esempio n. 5
0
 public static extern void Resize(IntPtr src, IntPtr dst, CvEnum.INTER interpolation);