15 #ifndef __IPSDKIMAGE_PLANEXTRACTOR_H__ 16 #define __IPSDKIMAGE_PLANEXTRACTOR_H__ 20 #pragma warning (push) 21 #pragma warning (disable : 4251) 24 #include <IPSDKImage/Image/BaseImage.h> 25 #include <unordered_map> 44 const ipUInt8* extractBuffer(
const std::string& key,
49 ipUInt8* extractBuffer(
const std::string& key,
54 const ipUInt8* extractLineBuffer(
const std::string& key,
59 ipUInt8* extractLineBuffer(
const std::string& key,
64 BoolResult writeBufferToImage(
const std::string& key);
74 template <
typename ImagePtrType>
81 std::vector<char> _vBuffer;
88 typedef boost::shared_ptr< BufferInfo > BufferInfoPtr;
89 typedef boost::shared_ptr< BufferConstInfo > BufferConstInfoPtr;
91 BufferInfoPtr createBufferInfo(
const ImagePtr pImage,
95 BufferConstInfoPtr createBufferInfo(
const ImageConstPtr pImage,
99 void updateBufferInfo(BufferInfoPtr& pBufInfo,
104 void updateBufferInfo(BufferConstInfoPtr& pBufInfo,
112 typedef std::map<std::string, BufferConstInfoPtr> BufferConstColl;
113 typedef std::map<std::string, BufferInfoPtr> BufferColl;
115 BufferColl _mBuffers;
116 BufferConstColl _mBuffersConst;
126 #pragma warning (pop) 128 #endif // __IPSDKIMAGE_PLANEXTRACTOR_H__
Main namespace for IPSDK library.
Definition: AlgorithmFunctionEfficiency.h:22
uint64_t ipUInt64
Base types definition.
Definition: BaseTypes.h:55
Definition: PlanExtractor.h:75
boost::shared_ptr< BaseImage > ImagePtr
Definition: ImageTypes.h:139
double ipReal64
Base types definition.
Definition: BaseTypes.h:57
uint8_t ipUInt8
Base types definition.
Definition: BaseTypes.h:49
Class allowing to extract a plan from several image types (memory, disk, ...)
Definition: PlanExtractor.h:33
Definition of import/export macro for library.
#define IPSDKIMAGE_API
Import/Export macro for library IPSDKImage.
Definition: IPSDKImageExports.h:27
boost::shared_ptr< const BaseImage > ImageConstPtr
Definition: ImageTypes.h:140