![]() |
IPSDK
4_1_0_2
IPSDK : Image Processing Software Development Kit
|
Namespace agregating IPSDK image file (disk image) management routines and classes. More...
Classes | |
| class | AutoDiskImageAccessor |
| Class for disk image automatically allocated by IPSDK. More... | |
| struct | CalibrationData |
| struct | HeaderData |
| shared pointer to file stream More... | |
| class | Im6ImageFile |
| Class for im6 disk image access. More... | |
| class | IPSDKImageFileException |
| Exception class for library IPSDKImageFile. More... | |
| class | MultiFileDiskImageAccessor |
| Class for disk image initialized with a plan storage collection. More... | |
| class | RawImageFile |
| Class for raw disk image access. More... | |
| class | TiffImageFile |
| Class allowing to access tiff disk images. More... | |
Functions | |
| IPSDKIMAGEFILE_API DistributedImagePtr | loadDistributedIm6ImageFile (const boost::filesystem::path &im6FilePath, const bool bSharedFileAccess=false) |
| function allowing to load a im6 image file into a distributed image More... | |
| IPSDKIMAGEFILE_API DistributedImagePtr | loadDistributedIm6ImageFile (const boost::filesystem::path &im6FilePath, const DistributedImage &refImage, const bool bSharedFileAccess=false) |
| function allowing to load a im6 image file into a distributed image More... | |
| IPSDKIMAGEFILE_API const std::string & | getIPSDKImageFileLoggerName () |
| Recovery of logger name associated to library. | |
| IPSDKIMAGEFILE_API log4cplus::Logger & | getIPSDKImageFileLogger () |
| Recovery of logger associated to library. | |
| IPSDKIMAGEFILE_API const LogMessageManager & | getIPSDKImageFileLogMessageManager () |
| Recovery of message manager associated to library. | |
| 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 More... | |
| IPSDKIMAGEFILE_API DistributedImagePtr | loadDistributedRawImageFile (const boost::filesystem::path &rawFilePath, const DistributedImage &refImage, const eImageBufferType &imageBufferType, const ipUInt64 dataStartOffset=0, const bool bSharedFileAccess=false) |
| function allowing to load a raw image file into a distributed image with respect to an existing distributed image geometry More... | |
| 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 More... | |
| 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 More... | |
| IPSDKIMAGEFILE_API DistributedImagePtr | loadDistributedTiffImageFile (const boost::filesystem::path &tiffFilePath, const eTiffDirectoryMode &tiffDirectoryMode=eTiffDirectoryMode::eTDM_Volume, const eTiffBufferMode &tiffBufferMode=eTiffBufferMode::eTBM_Default, const bool bSharedFileAccess=false) |
| function allowing to load a tiff image file into a distributed image More... | |
| IPSDKIMAGEFILE_API DistributedImagePtr | loadDistributedTiffImageFile (const boost::filesystem::path &tiffFilePath, const DistributedImage &refImage, const eTiffBufferMode &tiffBufferMode=eTiffBufferMode::eTBM_Default, const bool bSharedFileAccess=false) |
| function allowing to load a tiff image file into a distributed image with respect to an existing distributed image geometry More... | |
| IPSDKIMAGEFILE_API ImagePtr | loadTiffImageFiles (const boost::filesystem::path &dirPath, const std::string &pattern="*.tif|*.tiff", const eTiffDirectoryMode &tiffDirectoryMode=eTiffDirectoryMode::eTDM_Volume, const eTiffBufferMode &tiffBufferMode=eTiffBufferMode::eTBM_Default) |
| function allowing to load an image from tiff image files contained in a given directory More... | |
| IPSDKIMAGEFILE_API ImagePtr | loadCustomZStackImageFiles (const boost::filesystem::path &dirPath, const boost::filesystem::path &zStepsFilePath, const ipUInt64 nbZPlansInOutputImg, const imaproc::attr::eInterpolationPolicy &interpolationPolicy, const std::string &pattern="*.tif|*.tiff", const eTiffBufferMode &tiffBufferMode=eTiffBufferMode::eTBM_Default) |
| function allowing to load a 3d image scattered over tiff files contained in a given directory, and to resample it along z-axis More... | |
| IPSDKIMAGEFILE_API DiskImagePtr | openTiffImageFile (const boost::filesystem::path &tiffFilePath, const eTiffDirectoryMode &tiffDirectoryMode=eTiffDirectoryMode::eTDM_Volume, const eTiffBufferMode &tiffBufferMode=eTiffBufferMode::eTBM_Default) |
| function allowing to open a tiff file as a disk image More... | |
| IPSDKIMAGEFILE_API ImagePtr | openTiffImageFiles (const boost::filesystem::path &dirPath, const std::string &pattern="*.tif|*.tiff", const eTiffDirectoryMode &tiffDirectoryMode=eTiffDirectoryMode::eTDM_Volume, const eTiffBufferMode &tiffBufferMode=eTiffBufferMode::eTBM_Default) |
| function allowing to open a disk image from tiff image files contained in a given directory More... | |
| IPSDKIMAGEFILE_API void | saveTiffImageFile (const boost::filesystem::path &tiffFilePath, const ImageConstPtr &pImage, const eTiffCompression &tiffCompression=eTiffCompression::eTC_Lzw) |
| function allowing to save a tiff image file More... | |
| IPSDKIMAGEFILE_API bool | imageGeometryMatchesLicenseFeatures (const ipsdk::image::BaseImageGeometry &geometry) |
| returns true if image is 2D ior if the image is 3D and the license has 3D feature enabled | |
| IPSDKIMAGEFILE_API bool | detectDongle () |
| returns false if the license file is a dongle license and if the dongle is unplugged i.e. the license is not valid | |
| IPSDKIMAGEFILE_API bool | testFilePatternMatching (const std::string &pattern, const std::string &parsedString, ipUInt64 &index) |
| function checking if string to parse matches the pattern specified by the user Here are the accepted key characters/key words: More... | |
| IPSDKIMAGEFILE_API ImagePtr | loadIm6ImageFile (const boost::filesystem::path &im6FilePath) |
| function allowing to load a im6 image file More... | |
| IPSDKIMAGEFILE_API void | loadIm6ImageFile (const boost::filesystem::path &im6FilePath, const ImagePtr &pOutImg) |
| function allowing to load a im6 image file More... | |
| IPSDKIMAGEFILE_API ImagePtr | loadRawImageFile (const boost::filesystem::path &rawFilePath, const BaseImageGeometry &imageGeometry, const ipUInt64 dataStartOffset=0) |
| function allowing to load a raw image file More... | |
| IPSDKIMAGEFILE_API void | loadRawImageFile (const boost::filesystem::path &rawFilePath, const BaseImageGeometry &imageGeometry, const ImagePtr &pOutImg, const ipUInt64 dataStartOffset=0) |
| function allowing to load a raw image file More... | |
| IPSDKIMAGEFILE_API ImagePtr | loadTiffImageFile (const boost::filesystem::path &tiffFilePath, const eTiffDirectoryMode &tiffDirectoryMode=eTiffDirectoryMode::eTDM_Volume, const eTiffBufferMode &tiffBufferMode=eTiffBufferMode::eTBM_Default) |
| function allowing to load a tiff image file More... | |
| IPSDKIMAGEFILE_API void | loadTiffImageFile (const boost::filesystem::path &tiffFilePath, ImagePtr &pOutImg, const eTiffDirectoryMode &tiffDirectoryMode=eTiffDirectoryMode::eTDM_Volume, const eTiffBufferMode &tiffBufferMode=eTiffBufferMode::eTBM_Default) |
| function allowing to load a tiff image file More... | |
| IPSDKIMAGEFILE_API ImagePtr | loadTiffImageFile (const boost::filesystem::path &tiffFilePath, const eTiffBufferMode &tiffBufferMode) |
| function allowing to load a tiff image file More... | |
| IPSDKIMAGEFILE_API void | loadTiffImageFile (const boost::filesystem::path &tiffFilePath, const eTiffBufferMode &tiffBufferMode, ImagePtr &pOutImg) |
| function allowing to load a tiff image file More... | |
Namespace agregating IPSDK image file (disk image) management routines and classes.
Enumerate describing messages.
Enumerate describing messages.
Enumerate describing messages.
Enumerate describing messages.
Flag used to interpret tiff directories in term of image geometry.
| Enumerator | |
|---|---|
| eTDM_Volume | Tiff directories will be interpreted as a volume collection (3d case) |
| eTDM_Temporal | Tiff directories will be interpreted as a temporal collection (sequence case) |
Flag used to interpret tiff data type.
| Enumerator | |
|---|---|
| eTBM_Default | Image data type will be simply retrieved into tiff image file. |
| eTBM_Binary | Image data type will be forced to binary. |
| eTBM_Label | Image data type will be forced to label. |
Flag used to select a tiff compression mode.
| Enumerator | |
|---|---|
| eTC_None | No compression will be used. |
| eTC_Lzw | LZW (Lempel-Ziv and Welch) compression algorithm will be used. |
| eTC_Zip | Zip (deflate/inflate) compression algorithm will be used. |
| IPSDKIMAGEFILE_API DistributedImagePtr ipsdk::image::file::loadDistributedIm6ImageFile | ( | const boost::filesystem::path & | im6FilePath, |
| const bool | bSharedFileAccess = false |
||
| ) |
function allowing to load a im6 image file into a distributed image
| ipsdk::image::file::IPSDKImageFileException | on failure |
| IPSDKIMAGEFILE_API DistributedImagePtr ipsdk::image::file::loadDistributedIm6ImageFile | ( | const boost::filesystem::path & | im6FilePath, |
| const DistributedImage & | refImage, | ||
| const bool | bSharedFileAccess = false |
||
| ) |
function allowing to load a im6 image file into a distributed image
| ipsdk::image::file::IPSDKImageFileException | on failure |
| IPSDKIMAGEFILE_API DistributedImagePtr ipsdk::image::file::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
| ipsdk::image::file::IPSDKImageFileException | on failure |
| IPSDKIMAGEFILE_API DistributedImagePtr ipsdk::image::file::loadDistributedRawImageFile | ( | const boost::filesystem::path & | rawFilePath, |
| const DistributedImage & | refImage, | ||
| const eImageBufferType & | imageBufferType, | ||
| const ipUInt64 | dataStartOffset = 0, |
||
| const bool | bSharedFileAccess = false |
||
| ) |
function allowing to load a raw image file into a distributed image with respect to an existing distributed image geometry
| ipsdk::image::file::IPSDKImageFileException | on failure |
| IPSDKIMAGEFILE_API DistributedImagePtr ipsdk::image::file::loadDistributedTiffImageFile | ( | const boost::filesystem::path & | tiffFilePath, |
| const eTiffDirectoryMode & | tiffDirectoryMode = eTiffDirectoryMode::eTDM_Volume, |
||
| const eTiffBufferMode & | tiffBufferMode = eTiffBufferMode::eTBM_Default, |
||
| const bool | bSharedFileAccess = false |
||
| ) |
function allowing to load a tiff image file into a distributed image
| ipsdk::image::file::IPSDKImageFileException | on failure |
| IPSDKIMAGEFILE_API DistributedImagePtr ipsdk::image::file::loadDistributedTiffImageFile | ( | const boost::filesystem::path & | tiffFilePath, |
| const DistributedImage & | refImage, | ||
| const eTiffBufferMode & | tiffBufferMode = eTiffBufferMode::eTBM_Default, |
||
| const bool | bSharedFileAccess = false |
||
| ) |
function allowing to load a tiff image file into a distributed image with respect to an existing distributed image geometry
| ipsdk::image::file::IPSDKImageFileException | on failure |
| IPSDKIMAGEFILE_API ImagePtr ipsdk::image::file::loadCustomZStackImageFiles | ( | const boost::filesystem::path & | dirPath, |
| const boost::filesystem::path & | zStepsFilePath, | ||
| const ipUInt64 | nbZPlansInOutputImg, | ||
| const imaproc::attr::eInterpolationPolicy & | interpolationPolicy, | ||
| const std::string & | pattern = "*.tif|*.tiff", |
||
| const eTiffBufferMode & | tiffBufferMode = eTiffBufferMode::eTBM_Default |
||
| ) |
function allowing to load a 3d image scattered over tiff files contained in a given directory, and to resample it along z-axis
| ipsdk::image::file::IPSDKImageFileException | on failure |
| ipsdk::image::file::IPSDKImageFileException | if pattern string is invalid (see detailed description of the function) |
| dirPath | path of the directory containing the files from which the image is built |
| zStepsFilePath | path of the file (in XML format or text format) describing the z-steps between the consecutive z slices of the 3d image |
| nbZPlansInOutputImg | number of z-plans in the resulting 3d image |
| pattern | file pattern used to filter the set of files found in directory. See the detailed description below |
This function loads an image from the TIFF files that are contained in the directory 'dirPath' and that match the pattern(s) specified by the user. Once the image is loaded, it is resampled along the z-axis using the collection of z-steps defined in the .txt or .xml file located at 'zStepsFilePath'. Resampling process is done using an interpolation defined by the 'interpolationPolicy' parameter.
| IPSDKIMAGEFILE_API ImagePtr ipsdk::image::file::openTiffImageFiles | ( | const boost::filesystem::path & | dirPath, |
| const std::string & | pattern = "*.tif|*.tiff", |
||
| const eTiffDirectoryMode & | tiffDirectoryMode = eTiffDirectoryMode::eTDM_Volume, |
||
| const eTiffBufferMode & | tiffBufferMode = eTiffBufferMode::eTBM_Default |
||
| ) |
function allowing to open a disk image from tiff image files contained in a given directory
| IPSDKIMAGEFILE_API bool ipsdk::image::file::testFilePatternMatching | ( | const std::string & | pattern, |
| const std::string & | parsedString, | ||
| ipUInt64 & | index | ||
| ) |
function checking if string to parse matches the pattern specified by the user Here are the accepted key characters/key words:
1.8.14