//---------------------------------------------------------------------------- // Copyright (C) 2004-2019 by EMGU Corporation. All rights reserved. //---------------------------------------------------------------------------- #if __ANDROID__ using System; using System.Collections.Generic; using System.Drawing; using System.Runtime.InteropServices; using System.Text; using Emgu.CV; using Emgu.CV.Structure; using Emgu.CV.Util; namespace Emgu.CV.Cuda { /// /// An CudaImage is very similar to the Emgu.CV.Image except that it is being used for GPU processing /// /// Color type of this image (either Gray, Bgr, Bgra, Hsv, Hls, Lab, Luv, Xyz, Ycc, Rgb or Rbga) /// Depth of this image (either Byte, SByte, Single, double, UInt16, Int16 or Int32) public partial class CudaImage : GpuMat where TColor : struct, IColor where TDepth : new() { /// /// convert the current CudaImage to its equivalent Bitmap representation /// public new Android.Graphics.Bitmap Bitmap { get { using (Image tmp = ToImage()) { return tmp.ToBitmap(); } } } } } #endif