IPSDK  4_1_0_2
IPSDK : Image Processing Software Development Kit
CopyImgLvl1.h
1 // CopyImgLvl1.h:
3 // --------------
4 //
16 
17 #ifndef __IPSDKIPLUTILITY_COPYIMGLVL1_H__
18 #define __IPSDKIPLUTILITY_COPYIMGLVL1_H__
19 
23 
24 // Attributes headers
25 #include <IPSDKIPL/IPSDKIPLAttributes/Attribute/Image/Input/InImg.h>
26 #include <IPSDKIPL/IPSDKIPLAttributes/Attribute/Image/Output/OutImg.h>
27 
28 namespace ipsdk {
29 namespace imaproc {
30 namespace util {
31 
34 
35 // declare processor class
36 IPSDK_DECLARE_LVL1_PROCESSOR(ASYNC1, IPSDKIPLUtility, CopyImg,
37  ipsdk::imaproc::matchSizeAndType(_pInImg, _pOutImg),
38  (((ipsdk)(imaproc)(attr))(InImg))
39  (((ipsdk)(imaproc)(attr))(OutImg)(ipsdk::imaproc::duplicateInOut)(_pInImg)))
40 
41 // methods
42 public:
47  //ipsdk::processor::RetrievalResult tryToLaunchGpuProcess(const ipsdk::core::BasePriority& priority, ipsdk::core::ActionProviderPtr& pProvider);
48  //ipsdk::BoolResult tryToLaunchProcessGpu2(const ipsdk::core::BasePriority& priority, ipsdk::core::ActionProviderPtr& pProvider);
49 
50 // attributes
51 protected:
52 
53  ipsdk::image::ImageConstPtr _pConstInImg;
54  ipsdk::image::ImagePtr _pOutImg_;
55 
56 };
57 
60 
61 } // end of namespace util
62 } // end of namespace imaproc
63 } // end of namespace ipsdk
64 
65 #endif // __IPSDKIPLUTILITY_COPYIMGLVL1_H__
#define IPSDK_DECLARE_LVL1_PROCESSOR(ProcType, libraryName, algoName, RuleString, attributeSeq)
boost::shared_ptr< BaseImage > ImagePtr
processor::OutputInitializerPtr duplicateInOut(const boost::weak_ptr< OutputAttributeType > &pOutputAttribute, const boost::weak_ptr< InputAttributeType > &pInputAttribute, const eImageInitializerStoragePolicy &storagePolicy=eImageInitializerStoragePolicy::eIISP_Inherit)
Definition of import/export macro for library.
boost::shared_ptr< const BaseImage > ImageConstPtr