|
bioformats
5.1.4
|
Tile information for an IFD. More...
#include <ome/bioformats/tiff/TileInfo.h>
Classes | |
| class | Impl |
| Internal implementation details of TileInfo. More... | |
Public Member Functions | |
| virtual | ~TileInfo () |
| Destructor. | |
| TileType | tileType () const |
| Get the type of a tile. More... | |
| dimension_size_type | tileWidth () const |
| Get the width of a tile. More... | |
| dimension_size_type | tileHeight () const |
| Get the height of a tile. More... | |
| dimension_size_type | tileCount () const |
| Get the total number of tiles. More... | |
| dimension_size_type | tileRowCount () const |
| Get the total number of rows. More... | |
| dimension_size_type | tileColumnCount () const |
| Get the total number of columns. More... | |
| dimension_size_type | bufferSize () const |
| Get the buffer size needed to contain a single tile. More... | |
| dimension_size_type | tileIndex (dimension_size_type x, dimension_size_type y, dimension_size_type s=0) const |
| Get the tile index covering the given coordinates. More... | |
| dimension_size_type | tileColumn (dimension_size_type index) const |
| Get the column index for the given tile index. More... | |
| dimension_size_type | tileRow (dimension_size_type index) const |
| Get the row index for the given tile index. More... | |
| dimension_size_type | tileSample (dimension_size_type index) const |
| Get the sample index for the given tile index. More... | |
| PlaneRegion | tileRegion (dimension_size_type index, const PlaneRegion &clip) const |
| Get the region covered by the given tile index. More... | |
| PlaneRegion | tileRegion (dimension_size_type index) const |
| Get the region covered by the given tile index. More... | |
| std::vector< dimension_size_type > | tileCoverage (PlaneRegion region) const |
| Get a list of the tiles covering an image region. More... | |
Protected Member Functions | |
| TileInfo (ome::compat::shared_ptr< IFD > ifd) | |
| Constructor. More... | |
Protected Attributes | |
| ome::compat::shared_ptr< Impl > | impl |
| Private implementation details. | |
Friends | |
| class | IFD |
Tile information for an IFD.
|
protected |
Constructor.
| ifd | the directory the tile belongs to. |
| dimension_size_type ome::bioformats::tiff::TileInfo::bufferSize | ( | ) | const |
| dimension_size_type ome::bioformats::tiff::TileInfo::tileColumn | ( | dimension_size_type | index | ) | const |
Get the column index for the given tile index.
| index | the tile index. |
References impl.
Referenced by tileCoverage(), and tileRegion().
Here is the caller graph for this function:| dimension_size_type ome::bioformats::tiff::TileInfo::tileColumnCount | ( | ) | const |
| dimension_size_type ome::bioformats::tiff::TileInfo::tileCount | ( | ) | const |
| std::vector< dimension_size_type > ome::bioformats::tiff::TileInfo::tileCoverage | ( | PlaneRegion | region | ) | const |
Get a list of the tiles covering an image region.
| region | the image region to cover. |
References ome::bioformats::PlaneRegion::h, impl, ome::bioformats::tiff::SEPARATE, tileColumn(), tileIndex(), tileRow(), ome::bioformats::PlaneRegion::w, ome::bioformats::PlaneRegion::x, and ome::bioformats::PlaneRegion::y.
Referenced by ome::bioformats::tiff::IFD::readImage(), and ome::bioformats::tiff::IFD::writeImage().
Here is the caller graph for this function:| dimension_size_type ome::bioformats::tiff::TileInfo::tileHeight | ( | ) | const |
| dimension_size_type ome::bioformats::tiff::TileInfo::tileIndex | ( | dimension_size_type | x, |
| dimension_size_type | y, | ||
| dimension_size_type | s = 0 |
||
| ) | const |
Get the tile index covering the given coordinates.
| x | the image column. |
| y | the image row. |
| s | the image subchannel. |
References impl.
Referenced by tileCoverage().
Here is the caller graph for this function:| PlaneRegion ome::bioformats::tiff::TileInfo::tileRegion | ( | dimension_size_type | index, |
| const PlaneRegion & | clip | ||
| ) | const |
Get the region covered by the given tile index.
If the tile index is invalid, the region will be of zero size. The clip region is a bounding box which will be intersected with the tile index to compute the returned region.
| index | the tile index. |
| clip | the clip region. |
| PlaneRegion ome::bioformats::tiff::TileInfo::tileRegion | ( | dimension_size_type | index | ) | const |
Get the region covered by the given tile index.
If the tile index is invalid, the region will be of zero size.
| index | the tile index. |
References impl, tileColumn(), and tileRow().
| dimension_size_type ome::bioformats::tiff::TileInfo::tileRow | ( | dimension_size_type | index | ) | const |
Get the row index for the given tile index.
| index | the tile index. |
References impl.
Referenced by tileCoverage(), and tileRegion().
Here is the caller graph for this function:| dimension_size_type ome::bioformats::tiff::TileInfo::tileRowCount | ( | ) | const |
| dimension_size_type ome::bioformats::tiff::TileInfo::tileSample | ( | dimension_size_type | index | ) | const |
Get the sample index for the given tile index.
| index | the tile index. |
References impl.
| TileType ome::bioformats::tiff::TileInfo::tileType | ( | ) | const |
| dimension_size_type ome::bioformats::tiff::TileInfo::tileWidth | ( | ) | const |
1.8.10