bioformats
5.1.0
|
TIFF file format (libtiff wrapper). More...
Classes | |
class | Exception |
Exception thrown for TIFF (libtiff) errors. More... | |
class | Field |
Field representing a tag value. More... | |
class | FieldBase |
Common functionality for fields of all types. More... | |
class | IFD |
Image File Directory (IFD). More... | |
class | IFDIterator |
Iterator for IFDs contained within a TIFF. More... | |
struct | ImageJMetadata |
ImageJ metadata from IFD tags. More... | |
class | Sentry |
Sentry for saving and restoring libtiff state. More... | |
class | TIFF |
Tagged Image File Format (TIFF). More... | |
class | TileInfo |
Tile information for an IFD. More... | |
class | Value |
Field value. More... | |
class | ValueProxy |
Proxy for getting and setting a Field value. More... | |
Typedefs | |
typedef uint16_t | directory_index_type |
IFD index. | |
typedef uint64_t | offset_type |
IFD offset. | |
typedef unsigned int | tag_type |
Tag number. | |
Functions | |
ome::compat::shared_ptr< CoreMetadata > | makeCoreMetadata (const IFD &ifd) |
Create CoreMetadata from an IFD. More... | |
tag_type | getWrappedTag (StringTag1 tag) |
Get the TIFF tag number for the specified tag. More... | |
tag_type | getWrappedTag (StringTagArray1 tag) |
Get the TIFF tag number for the specified tag. More... | |
tag_type | getWrappedTag (UInt16Tag1 tag) |
Get the TIFF tag number for the specified tag. More... | |
tag_type | getWrappedTag (UInt16TagArray1 tag) |
Get the TIFF tag number for the specified tag. More... | |
tag_type | getWrappedTag (UInt16Compression1 tag) |
Get the TIFF tag number for the specified tag. More... | |
tag_type | getWrappedTag (UInt16FillOrder1 tag) |
Get the TIFF tag number for the specified tag. More... | |
tag_type | getWrappedTag (UInt16Orientation1 tag) |
Get the TIFF tag number for the specified tag. More... | |
tag_type | getWrappedTag (UInt16PhotometricInterpretation1 tag) |
Get the TIFF tag number for the specified tag. More... | |
tag_type | getWrappedTag (UInt16PlanarConfiguration1 tag) |
Get the TIFF tag number for the specified tag. More... | |
tag_type | getWrappedTag (UInt16Predictor1 tag) |
Get the TIFF tag number for the specified tag. More... | |
tag_type | getWrappedTag (UInt16SampleFormat1 tag) |
Get the TIFF tag number for the specified tag. More... | |
tag_type | getWrappedTag (UInt16Threshholding1 tag) |
Get the TIFF tag number for the specified tag. More... | |
tag_type | getWrappedTag (UInt16YCbCrPosition1 tag) |
Get the TIFF tag number for the specified tag. More... | |
tag_type | getWrappedTag (UInt16Tag2 tag) |
Get the TIFF tag number for the specified tag. More... | |
tag_type | getWrappedTag (UInt16Tag6 tag) |
Get the TIFF tag number for the specified tag. More... | |
tag_type | getWrappedTag (UInt16ExtraSamplesArray1 tag) |
Get the TIFF tag number for the specified tag. More... | |
tag_type | getWrappedTag (UInt16TagArray3 tag) |
Get the TIFF tag number for the specified tag. More... | |
tag_type | getWrappedTag (UInt32Tag1 tag) |
Get the TIFF tag number for the specified tag. More... | |
tag_type | getWrappedTag (UInt32TagArray1 tag) |
Get the TIFF tag number for the specified tag. More... | |
tag_type | getWrappedTag (UInt64TagArray1 tag) |
Get the TIFF tag number for the specified tag. More... | |
tag_type | getWrappedTag (RawDataTag1 tag) |
Get the TIFF tag number for the specified tag. More... | |
tag_type | getWrappedTag (FloatTag1 tag) |
Get the TIFF tag number for the specified tag. More... | |
tag_type | getWrappedTag (FloatTag2 tag) |
Get the TIFF tag number for the specified tag. More... | |
tag_type | getWrappedTag (FloatTag3 tag) |
Get the TIFF tag number for the specified tag. More... | |
tag_type | getWrappedTag (FloatTag6 tag) |
Get the TIFF tag number for the specified tag. More... | |
TIFF file format (libtiff wrapper).
Compression technique.
Enumerator | |
---|---|
COMPRESSION_NONE |
No compression. |
COMPRESSION_CCITTRLE |
CCITT modified Huffman RLE. |
COMPRESSION_CCITTFAX3 |
CCITT Group 3 fax encoding (deprecated). |
COMPRESSION_CCITT_T4 |
CCITT T.4 (TIFF 6 name). |
COMPRESSION_CCITTFAX4 |
CCITT Group 4 fax encoding (deprecated). |
COMPRESSION_CCITT_T6 |
CCITT T.6 (TIFF 6 name). |
COMPRESSION_LZW |
Lempel-Ziv & Welch. |
COMPRESSION_OJPEG |
JPEG (deprecated). |
COMPRESSION_JPEG |
JPEG DCT compression. |
COMPRESSION_ADOBE_DEFLATE |
Deflate compression (Adobe). |
COMPRESSION_T85 |
TIFF/FX T.85 JBIG compression. |
COMPRESSION_T43 |
TIFF/FX T.43 colour by layered JBIG compression. |
COMPRESSION_NEXT |
NeXT 2-bit RLE. |
COMPRESSION_CCITTRLEW |
1 w/ word alignment. |
COMPRESSION_PACKBITS |
Macintosh RLE. |
COMPRESSION_THUNDERSCAN |
ThunderScan RLE. |
COMPRESSION_IT8CTPAD |
codes 32895-32898 are reserved for ANSI IT8 TIFF/IT <dkell). y@ap ago.c om IT8 CT w/padding. |
COMPRESSION_IT8LW |
IT8 Linework RLE. |
COMPRESSION_IT8MP |
IT8 Monochrome picture. |
COMPRESSION_IT8BL |
IT8 Binary line art. |
COMPRESSION_PIXARFILM |
compression codes 32908-32911 are reserved for Pixar. Pixar companded 10bit LZW. |
COMPRESSION_PIXARLOG |
Pixar companded 11bit ZIP. |
COMPRESSION_DEFLATE |
Deflate compression. |
COMPRESSION_DCS |
compression code 32947 is reserved for Oceana Matrix dev@o. cean a.com Kodak DCS encoding. |
COMPRESSION_JBIG |
ISO JBIG. |
COMPRESSION_SGILOG |
SGI Log Luminance RLE. |
COMPRESSION_SGILOG24 |
SGI Log 24-bit packed. |
COMPRESSION_JP2000 |
Leadtools JPEG2000. |
COMPRESSION_LZMA |
LZMA2. |
Image orientation.
Photometric interpretation of pixel data.
String fields.
Tag types.
Unsigned 16-bit integer fields.
Unsigned 16-bit integer (×2) fields.
Unsigned 32-bit integer fields.
Unsigned 64-bit integer fields.
tag_type ome::bioformats::tiff::getWrappedTag | ( | StringTag1 | tag | ) |
Get the TIFF tag number for the specified tag.
tag | the tag to use. |
References ARTIST, COPYRIGHT, DATETIME, DOCUMENTNAME, HOSTCOMPUTER, IMAGEDESCRIPTION, MAKE, MODEL, PAGENAME, SOFTWARE, and TARGETPRINTER.
tag_type ome::bioformats::tiff::getWrappedTag | ( | StringTagArray1 | tag | ) |
tag_type ome::bioformats::tiff::getWrappedTag | ( | UInt16Tag1 | tag | ) |
Get the TIFF tag number for the specified tag.
tag | the tag to use. |
References BITSPERSAMPLE, CELLLENGTH, CELLWIDTH, CLEANFAXDATA, DATATYPE, GRAYRESPONSEUNIT, INDEXED, INKSET, MATTEING, MAXSAMPLEVALUE, MINSAMPLEVALUE, NUMBEROFINKS, RESOLUTIONUNIT, and SAMPLESPERPIXEL.
tag_type ome::bioformats::tiff::getWrappedTag | ( | UInt16TagArray1 | tag | ) |
Get the TIFF tag number for the specified tag.
tag | the tag to use. |
References GRAYRESPONSECURVE.
tag_type ome::bioformats::tiff::getWrappedTag | ( | UInt16Compression1 | tag | ) |
Get the TIFF tag number for the specified tag.
tag | the tag to use. |
References COMPRESSION.
tag_type ome::bioformats::tiff::getWrappedTag | ( | UInt16FillOrder1 | tag | ) |
tag_type ome::bioformats::tiff::getWrappedTag | ( | UInt16Orientation1 | tag | ) |
Get the TIFF tag number for the specified tag.
tag | the tag to use. |
References ORIENTATION.
tag_type ome::bioformats::tiff::getWrappedTag | ( | UInt16PhotometricInterpretation1 | tag | ) |
Get the TIFF tag number for the specified tag.
tag | the tag to use. |
References PHOTOMETRIC.
tag_type ome::bioformats::tiff::getWrappedTag | ( | UInt16PlanarConfiguration1 | tag | ) |
Get the TIFF tag number for the specified tag.
tag | the tag to use. |
References PLANARCONFIG.
tag_type ome::bioformats::tiff::getWrappedTag | ( | UInt16Predictor1 | tag | ) |
tag_type ome::bioformats::tiff::getWrappedTag | ( | UInt16SampleFormat1 | tag | ) |
Get the TIFF tag number for the specified tag.
tag | the tag to use. |
References SAMPLEFORMAT.
tag_type ome::bioformats::tiff::getWrappedTag | ( | UInt16Threshholding1 | tag | ) |
Get the TIFF tag number for the specified tag.
tag | the tag to use. |
References THRESHHOLDING.
tag_type ome::bioformats::tiff::getWrappedTag | ( | UInt16YCbCrPosition1 | tag | ) |
Get the TIFF tag number for the specified tag.
tag | the tag to use. |
References YCBCRPOSITIONING.
tag_type ome::bioformats::tiff::getWrappedTag | ( | UInt16Tag2 | tag | ) |
Get the TIFF tag number for the specified tag.
tag | the tag to use. |
References DOTRANGE, HALFTONEHINTS, PAGENUMBER, and YCBCRSUBSAMPLING.
tag_type ome::bioformats::tiff::getWrappedTag | ( | UInt16Tag6 | tag | ) |
Get the TIFF tag number for the specified tag.
tag | the tag to use. |
References TRANSFERRANGE.
tag_type ome::bioformats::tiff::getWrappedTag | ( | UInt16ExtraSamplesArray1 | tag | ) |
Get the TIFF tag number for the specified tag.
tag | the tag to use. |
References EXTRASAMPLES.
tag_type ome::bioformats::tiff::getWrappedTag | ( | UInt16TagArray3 | tag | ) |
Get the TIFF tag number for the specified tag.
tag | the tag to use. |
References COLORMAP, and TRANSFERFUNCTION.
tag_type ome::bioformats::tiff::getWrappedTag | ( | UInt32Tag1 | tag | ) |
Get the TIFF tag number for the specified tag.
tag | the tag to use. |
References BADFAXLINES, CONSECUTIVEBADFAXLINES, GROUP3OPTIONS, GROUP4OPTIONS, IMAGEDEPTH, IMAGELENGTH, IMAGEWIDTH, ROWSPERSTRIP, SUBFILETYPE, T4OPTIONS, T6OPTIONS, TILEDEPTH, TILELENGTH, and TILEWIDTH.
tag_type ome::bioformats::tiff::getWrappedTag | ( | UInt32TagArray1 | tag | ) |
Get the TIFF tag number for the specified tag.
tag | the tag to use. |
References IMAGEJ_META_DATA_BYTE_COUNTS, and RICHTIFFIPTC.
tag_type ome::bioformats::tiff::getWrappedTag | ( | UInt64TagArray1 | tag | ) |
Get the TIFF tag number for the specified tag.
tag | the tag to use. |
References FREEBYTECOUNTS, FREEOFFSETS, STRIPBYTECOUNTS, STRIPOFFSETS, SUBIFD, TILEBYTECOUNTS, and TILEOFFSETS.
tag_type ome::bioformats::tiff::getWrappedTag | ( | RawDataTag1 | tag | ) |
Get the TIFF tag number for the specified tag.
tag | the tag to use. |
References ICCPROFILE, IMAGEJ_META_DATA, JPEGTABLES, PHOTOSHOP, and XMLPACKET.
Get the TIFF tag number for the specified tag.
tag | the tag to use. |
References XPOSITION, XRESOLUTION, YPOSITION, and YRESOLUTION.
Get the TIFF tag number for the specified tag.
tag | the tag to use. |
References WHITEPOINT.
Get the TIFF tag number for the specified tag.
tag | the tag to use. |
References YCBCRCOEFFICIENTS.
Get the TIFF tag number for the specified tag.
tag | the tag to use. |
References PRIMARYCHROMATICITIES, and REFERENCEBLACKWHITE.
ome::compat::shared_ptr< CoreMetadata > ome::bioformats::tiff::makeCoreMetadata | ( | const IFD & | ifd | ) |
Create CoreMetadata from an IFD.
ifd | the IFD to use. |
References ARTIST, ome::bioformats::bitsPerPixel(), BITSPERSAMPLE, CELLLENGTH, CELLWIDTH, CFA_ARRAY, COLORMAP, COMPRESSION, COMPRESSION_CCITT_T4, COMPRESSION_CCITT_T6, COMPRESSION_LZW, COPYRIGHT, DATETIME, DOCUMENTNAME, DOTRANGE, EXTRASAMPLES, FILLORDER, ome::bioformats::tiff::IFD::getField(), ome::bioformats::tiff::IFD::getImageHeight(), ome::bioformats::tiff::IFD::getImageWidth(), ome::bioformats::tiff::IFD::getPhotometricInterpretation(), ome::bioformats::tiff::IFD::getPixelType(), ome::bioformats::tiff::IFD::getSamplesPerPixel(), GRAYRESPONSECURVE, GRAYRESPONSEUNIT, HALFTONE, HALFTONEHINTS, HOSTCOMPUTER, IMAGELENGTH, IMAGEWIDTH, INDEXED, INKNAMES, INKSET, MAKE, MAXSAMPLEVALUE, MINSAMPLEVALUE, MODEL, NUMBEROFINKS, ORIENTATION, PAGENAME, PAGENUMBER, PALETTE, PHOTOMETRIC, PLANARCONFIG, PREDICTOR, PRIMARYCHROMATICITIES, REFERENCEBLACKWHITE, RESOLUTIONUNIT, RGB, SAMPLEFORMAT, SAMPLESPERPIXEL, SOFTWARE, SUBFILETYPE, T4OPTIONS, T6OPTIONS, TARGETPRINTER, THRESHHOLDING, TILELENGTH, TILEWIDTH, TRANSFERFUNCTION, TRANSFERRANGE, WHITEPOINT, XPOSITION, XRESOLUTION, ome::xml::model::enums::DimensionOrder::XYCZT, YCBCRCOEFFICIENTS, YCBCRPOSITIONING, YCBCRSUBSAMPLING, YPOSITION, and YRESOLUTION.
Referenced by ome::bioformats::in::TIFFReader::readIFDs().