IPSDK  4_1_0_2
IPSDK : Image Processing Software Development Kit
PythonGpuImage.h
1 //
15 //#ifndef __PYIPSDKBASE_PYTHONGPUIMAGE_H__
16 //#define __PYIPSDKBASE_PYTHONGPUIMAGE_H__
17 //
22 //
23 //#include <Python/PyIPSDKBase/PyIPSDKBaseExports.h>
24 //#include <Python/PyIPSDKBase/PythonImage.h>
25 //#include <IPSDKImage/Image/Gpu/CudaImage.h>
26 //#include <boost/scoped_ptr.hpp>
27 //
28 //namespace ipsdk {
29 //namespace python {
30 //
33 //
34 //class PYIPSDKBASE_API PythonGpuImage : public ipsdk::image::CudaImage
35 //{
36 // // declare serial class
37 // IPSDK_DECLARE_SERIAL_WITHOUT_COPY(PyIPSDKBase, PythonGpuImage);
38 //
39 // // friend class for protected members access
40 // friend boost::shared_ptr<PythonGpuImage> boost::make_shared<PythonGpuImage>();
41 //
43 //public:
44 // /// type associated to attribute
45 // static const image::eImageType::domain g_imageType = image::eImageType::eIT_Gpu;
46 //
47 //protected:
48 // /// constructor
49 // PythonGpuImage();
50 //
51 //public:
52 // /// destructor
53 // ~PythonGpuImage();
54 //
56 //public:
57 //
58 // /// retrieve image type
59 // image::eImageType getImageType() const;
60 //
61 // /// Transfert from GPU to CPU by using an existing CPU image
62 // void toCPU(ipsdk::image::ImagePtr pOutImage);
63 //
64 // /// returns a python image stored in a numpy array
65 // ipsdk::image::ImagePtr toCPU();
66 //
67 // /// returns true if the image is loaded on GPU
68 // ipBool isGpuImage() const;
69 //
70 //protected:
71 //
72 //
74 //public:
75 //
76 //
77 //};
78 //
81 //
82 //inline image::eImageType
83 //PythonGpuImage::getImageType() const
84 //{
85 // return g_imageType;
86 //}
87 //
90 //
91 //} // end of namespace python
92 //} // end of namespace ipsdk
93 //
95 //
96 //#endif // __PYIPSDKBASE_PYTHONGPUIMAGE_H__