38 #ifndef OME_FILES_IN_OMETIFFREADER_H 39 #define OME_FILES_IN_OMETIFFREADER_H 41 #include <ome/files/in/MinimalTIFFReader.h> 42 #include <ome/files/tiff/ImageJMetadata.h> 46 #include <ome/xml/meta/BaseMetadata.h> 69 using detail::FormatReader::isThisType;
70 using ::ome::files::FormatReader::getOptimalTileWidth;
71 using ::ome::files::FormatReader::getOptimalTileHeight;
84 typedef std::map<boost::filesystem::path, ome::compat::shared_ptr<ome::files::tiff::TIFF> >
tiff_map;
115 isSingleFile(
const boost::filesystem::path&
id)
const;
119 isThisType(
const boost::filesystem::path& name,
125 isFilenameThisTypeImpl(
const boost::filesystem::path& name)
const;
148 const ome::compat::shared_ptr<const tiff::IFD>
157 addTIFF(
const boost::filesystem::path& tiff);
170 const ome::compat::shared_ptr<const ome::files::tiff::TIFF>
171 getTIFF(
const boost::filesystem::path& tiff)
const;
181 closeTIFF(
const boost::filesystem::path& tiff);
186 close(
bool fileOnly =
false);
188 const std::vector<std::string>&
192 const std::vector<boost::filesystem::path>
193 getSeriesUsedFiles(
bool noPixels)
const;
197 fileGroupOption(
const std::string&
id);
209 initFile(
const boost::filesystem::path&
id);
224 const boost::filesystem::path& currentId,
225 const boost::filesystem::path& currentDir,
226 const boost::optional<std::string>& currentUUID);
239 std::vector<boost::optional<ome::xml::model::primitives::Timestamp> >& timestamps);
277 boost::optional<ome::xml::model::primitives::NonNegativeInteger>& zIndexStart,
278 boost::optional<ome::xml::model::primitives::NonNegativeInteger>& tIndexStart,
279 boost::optional<ome::xml::model::primitives::NonNegativeInteger>& cIndexStart);
298 boost::optional<ome::xml::model::primitives::NonNegativeInteger>& tdIFD,
343 ome::compat::shared_ptr< ome::xml::meta::MetadataStore>
344 getMetadataStoreForConversion();
355 ome::compat::shared_ptr< ome::xml::meta::MetadataStore>
356 getMetadataStoreForDisplay();
364 #endif // OME_FILES_IN_OMETIFFREADER_H logging::sources::severity_logger_mt< logging::trivial::severity_level > Logger
std::size_t dimension_size_type
Size type for image dimensions.
Definition: Types.h:59
std::map< boost::filesystem::path, ome::compat::shared_ptr< ome::files::tiff::TIFF > > tiff_map
Map filename to open TIFF handle.
Definition: OMETIFFReader.h:84
bool hasSPW
Has screen-plate-well metadata.
Definition: OMETIFFReader.h:103
invalid_file_map invalidFiles
Invalid filename to valid filename mapping.
Definition: OMETIFFReader.h:90
uuid_file_map files
UUID to filename mapping.
Definition: OMETIFFReader.h:87
tiff_map tiffs
Open TIFF files.
Definition: OMETIFFReader.h:94
TIFF reader with support for OME-XML metadata.
Definition: OMETIFFReader.h:67
ome::common::Logger logger
Message logger.
Definition: OMETIFFReader.h:75
std::map< boost::filesystem::path, boost::filesystem::path > invalid_file_map
Map filename to another file.
Definition: OMETIFFReader.h:81
boost::filesystem::path metadataFile
Metadata file.
Definition: OMETIFFReader.h:97
std::map< std::string, boost::filesystem::path > uuid_file_map
Map UUID to filename.
Definition: OMETIFFReader.h:78
Buffer for all pixel types.
Definition: VariantPixelBuffer.h:75
std::vector< boost::filesystem::path > usedFiles
Used files.
Definition: OMETIFFReader.h:100