38 #ifndef OME_FILES_COREMETADATA_H 39 #define OME_FILES_COREMETADATA_H 48 #include <ome/files/MetadataMap.h> 49 #include <ome/files/Modulo.h> 50 #include <ome/files/Types.h> 52 #include <ome/xml/meta/BaseMetadata.h> 53 #include <ome/xml/model/enums/DimensionOrder.h> 54 #include <ome/xml/model/enums/PixelType.h> 91 std::vector<dimension_size_type>
sizeC;
180 template<
class charT,
class traits>
181 inline std::basic_ostream<charT,traits>&
182 operator<< (std::basic_ostream<charT,traits>& os,
185 os <<
"sizeX = " << core.
sizeX <<
'\n' 186 <<
"sizeY = " << core.sizeY <<
'\n' 187 <<
"sizeZ = " << core.sizeZ <<
'\n' 188 <<
"sizeC = " << std::accumulate(core.sizeC.begin(), core.sizeC.end(),
dimension_size_type(0));
189 if (core.sizeC.size() > 1U)
192 for (std::vector<dimension_size_type>::const_iterator i = core.sizeC.begin();
193 i != core.sizeC.end();
197 if (i + 1 != core.sizeC.end())
202 os <<
"\nsizeT = " << core.sizeT <<
'\n' 203 <<
"thumbSizeX = " << core.thumbSizeX <<
'\n' 204 <<
"thumbSizeY = " << core.thumbSizeY <<
'\n' 205 <<
"pixelType = " << core.pixelType <<
'\n' 206 <<
"bitsPerPixel = " << core.bitsPerPixel <<
'\n' 207 <<
"imageCount = " << core.imageCount <<
'\n' 208 <<
"moduloZ = {\n" << core.moduloZ
209 <<
"}\nmoduloT = {\n" << core.moduloT
210 <<
"}\nmoduloC = {\n" << core.moduloC
211 <<
"}\ndimensionOrder = " << core.dimensionOrder <<
'\n' 212 <<
"orderCertain = " << core.orderCertain <<
'\n';
214 for (std::vector<dimension_size_type>::const_iterator i = core.sizeC.begin();
215 i != core.sizeC.end();
219 if (i + 1 != core.sizeC.end())
223 os <<
"\nlittleEndian = " << core.littleEndian <<
'\n' 224 <<
"interleaved = " << core.interleaved <<
'\n' 225 <<
"indexed = " << core.indexed <<
'\n' 226 <<
"falseColor = " << core.falseColor <<
'\n' 227 <<
"metadataComplete = " << core.metadataComplete <<
'\n' 228 <<
"seriesMetadata = " << core.seriesMetadata.size() <<
" keys" <<
'\n' 229 <<
"thumbnail = " << core.thumbnail <<
'\n' 230 <<
"resolutionCount = " << core.resolutionCount <<
'\n';
237 #endif // OME_FILES_COREMETADATA_H
uint32_t pixel_size_type
Size type for pixel bit depths.
Definition: Types.h:62
std::size_t dimension_size_type
Size type for image dimensions.
Definition: Types.h:59
A subdimension of Z, C, or T.
Definition: Modulo.h:57