38 #ifndef OME_FILES_TIFF_UTIL_H 39 #define OME_FILES_TIFF_UTIL_H 45 #include <boost/filesystem/path.hpp> 47 #include <ome/files/CoreMetadata.h> 48 #include <ome/files/TileCoverage.h> 49 #include <ome/files/tiff/TileInfo.h> 50 #include <ome/files/tiff/Types.h> 51 #include <ome/files/VariantPixelBuffer.h> 55 #include <ome/xml/model/enums/PixelType.h> 73 std::shared_ptr<CoreMetadata>
114 ifdIndex(
const SeriesIFDRange& seriesIFDRange,
143 const boost::filesystem::path&
filename,
150 #endif // OME_FILES_TIFF_UTIL_H logging::sources::severity_logger_mt< logging::trivial::severity_level > Logger
std::vector< IFDRange > SeriesIFDRange
Mapping between series index and IFD range.
Definition: Util.h:103
dimension_size_type ifdIndex(const SeriesIFDRange &seriesIFDRange, dimension_size_type series, dimension_size_type plane)
Compute IFD index from IFD map and plane index.
Definition: Util.cpp:363
std::size_t dimension_size_type
Size type for image dimensions.
Definition: Types.h:58
uint64_t storage_size_type
Size type for storage size.
Definition: Types.h:64
Range of IFDs for an image series.
Definition: Util.h:92
Open Microscopy Environment C++.
dimension_size_type end
End index.
Definition: Util.h:99
boost::filesystem::path filename
Filename of TIFF containing the IFDs.
Definition: Util.h:95
bool enableBigTIFF(const boost::optional< bool > &wantBig, storage_size_type pixelSize, const boost::filesystem::path &filename, ome::common::Logger &logger)
Check if BigTIFF should be enabled.
Definition: Util.cpp:390
std::shared_ptr< CoreMetadata > makeCoreMetadata(const IFD &ifd)
Create CoreMetadata from an IFD.
Definition: Util.cpp:135
void getCoreMetadata(const IFD &ifd, CoreMetadata &core)
Get CoreMetadata from an IFD.
Definition: Util.cpp:143
dimension_size_type begin
Start index.
Definition: Util.h:97
storage_size_type pixelSize(const ::ome::xml::meta::MetadataRetrieve &meta, dimension_size_type series)
Get the total size of pixel data in a series.
Definition: MetadataTools.cpp:1241