IPSDK  4_1_0_2
IPSDK : Image Processing Software Development Kit
RawImageFileUtils.h
Go to the documentation of this file.
1 // RawImageFileUtils.h:
3 // --------------------
4 //
14 
15 #ifndef __IPSDKIMAGEFILE_RAWIMAGEFILEUTILS_H__
16 #define __IPSDKIMAGEFILE_RAWIMAGEFILEUTILS_H__
17 
19 #include <IPSDKUtil/Tools/ProcessingResult.h>
22 #include <vector>
23 
24 namespace ipsdk {
25 namespace image {
26 
27 class DistributedImage;
28 
29 namespace file {
30 
33 
40 loadRawImageFile(const boost::filesystem::path& rawFilePath,
41  const BaseImageGeometry& imageGeometry,
42  const ipUInt64 dataStartOffset = 0);
44 loadRawImageFile(const boost::filesystem::path& rawFilePath,
45  const BaseImageGeometry& imageGeometry,
46  const ImagePtr& pOutImg,
47  const ipUInt64 dataStartOffset = 0);
49 
54 loadDistributedRawImageFile(const boost::filesystem::path& rawFilePath,
55  const BaseImageGeometry& imageGeometry,
56  const ipUInt64 dataStartOffset = 0,
57  const bool bSharedFileAccess = false);
58 
64 loadDistributedRawImageFile(const boost::filesystem::path& rawFilePath,
65  const DistributedImage& refImage,
66  const eImageBufferType& imageBufferType,
67  const ipUInt64 dataStartOffset = 0,
68  const bool bSharedFileAccess = false);
69 
74 openRawImageFile(const boost::filesystem::path& rawFilePath,
75  const BaseImageGeometry& imageGeometry,
76  const ipUInt64 dataStartOffset = 0);
77 
82 saveRawImageFile(const boost::filesystem::path& rawFilePath,
83  const ImageConstPtr& pImage,
84  const std::string& headerData = std::string());
85 
88 
89 } // end of namespace file
90 } // end of namespace image
91 } // end of namespace ipsdk
92 
93 #endif // __IPSDKIMAGEFILE_RAWIMAGEFILEUTILS_H__
Main namespace for IPSDK library.
Definition: AlgorithmFunctionEfficiency.h:22
uint64_t ipUInt64
Base types definition.
Definition: BaseTypes.h:55
#define IPSDKIMAGEFILE_API
Import/Export macro for library IPSDKImageFile.
Definition: IPSDKImageFileExports.h:27
boost::shared_ptr< BaseImage > ImagePtr
Definition: ImageTypes.h:139
Definition of import/export macro for library.
IPSDKIMAGEFILE_API DiskImagePtr openRawImageFile(const boost::filesystem::path &rawFilePath, const BaseImageGeometry &imageGeometry, const ipUInt64 dataStartOffset=0)
function allowing to open a raw file as a disk image
Predefined types for image geometry management.
boost::shared_ptr< const BaseImage > ImageConstPtr
Definition: ImageTypes.h:140
boost::shared_ptr< DistributedImage > DistributedImagePtr
Definition: DistributedImageTypes.h:38
boost::shared_ptr< DiskImage > DiskImagePtr
Definition: ImageTypes.h:151
IPSDKIMAGEFILE_API DistributedImagePtr loadDistributedRawImageFile(const boost::filesystem::path &rawFilePath, const BaseImageGeometry &imageGeometry, const ipUInt64 dataStartOffset=0, const bool bSharedFileAccess=false)
function allowing to load a raw image file into a distributed image
IPSDKIMAGEFILE_API ImagePtr loadRawImageFile(const boost::filesystem::path &rawFilePath, const BaseImageGeometry &imageGeometry, const ipUInt64 dataStartOffset=0)
function allowing to load a raw image file
Predefined type for image management.
IPSDKIMAGEFILE_API void saveRawImageFile(const boost::filesystem::path &rawFilePath, const ImageConstPtr &pImage, const std::string &headerData=std::string())
function allowing to save a raw image file
eImageBufferType
types associated to image buffers
Definition: ImageTypes.h:78