|
DGtal 2.0.0
|
Aim: implements a tiled image from a "bigger/original" one from an ImageFactory. More...
#include <DGtal/images/TiledImage.h>
Data Structures | |
| class | TiledIterator |
Protected Attributes | |
| Domain::Integer | myN |
| Number of tiles per dimension. | |
| Point | mySize |
| Width of a tile (for each dimension) | |
| ImageFactory * | myImageFactory |
| ImageFactory pointer. | |
| MyImageCache * | myImageCache |
| ImageCache pointer. | |
| Point | m_lowerBound |
| domain lower and upper bound | |
| Point | m_upperBound |
| TImageCacheReadPolicy * | myReadPolicy |
| TImageCacheReadPolicy pointer. | |
| TImageCacheWritePolicy * | myWritePolicy |
| TImageCacheWritePolicy pointer. | |
Aim: implements a tiled image from a "bigger/original" one from an ImageFactory.
Description of template class 'TiledImage'
| TImageContainer | an image container type (model of ). |
| TImageFactory | an image factory type (model of CImageFactory). |
| TImageCacheReadPolicy | an image cache read policy class (model of CImageCacheReadPolicy). |
| TImageCacheWritePolicy | an image cache write policy class (model of CImageCacheWritePolicy). |
Definition at line 78 of file TiledImage.h.
| typedef TiledIterator DGtal::TiledImage< TImageContainer, TImageFactory, TImageCacheReadPolicy, TImageCacheWritePolicy >::ConstIterator |
Definition at line 451 of file TiledImage.h.
| typedef TiledImageBidirectionalConstRangeFromPoint<TiledImage > DGtal::TiledImage< TImageContainer, TImageFactory, TImageCacheReadPolicy, TImageCacheWritePolicy >::ConstRange |
Definition at line 559 of file TiledImage.h.
| typedef ReverseTiledIterator DGtal::TiledImage< TImageContainer, TImageFactory, TImageCacheReadPolicy, TImageCacheWritePolicy >::ConstReverseIterator |
Definition at line 455 of file TiledImage.h.
| typedef ImageContainer::Difference DGtal::TiledImage< TImageContainer, TImageFactory, TImageCacheReadPolicy, TImageCacheWritePolicy >::Difference |
Definition at line 98 of file TiledImage.h.
| typedef ImageContainer::Domain DGtal::TiledImage< TImageContainer, TImageFactory, TImageCacheReadPolicy, TImageCacheWritePolicy >::Domain |
Definition at line 94 of file TiledImage.h.
| typedef TImageCacheReadPolicy DGtal::TiledImage< TImageContainer, TImageFactory, TImageCacheReadPolicy, TImageCacheWritePolicy >::ImageCacheReadPolicy |
Definition at line 104 of file TiledImage.h.
| typedef TImageCacheWritePolicy DGtal::TiledImage< TImageContainer, TImageFactory, TImageCacheReadPolicy, TImageCacheWritePolicy >::ImageCacheWritePolicy |
Definition at line 105 of file TiledImage.h.
| typedef TImageContainer DGtal::TiledImage< TImageContainer, TImageFactory, TImageCacheReadPolicy, TImageCacheWritePolicy >::ImageContainer |
Types copied from the container.
Definition at line 93 of file TiledImage.h.
| typedef TImageFactory DGtal::TiledImage< TImageContainer, TImageFactory, TImageCacheReadPolicy, TImageCacheWritePolicy >::ImageFactory |
Types.
Definition at line 101 of file TiledImage.h.
| typedef ImageCache<OutputImage, ImageFactory, ImageCacheReadPolicy, ImageCacheWritePolicy > DGtal::TiledImage< TImageContainer, TImageFactory, TImageCacheReadPolicy, TImageCacheWritePolicy >::MyImageCache |
Definition at line 106 of file TiledImage.h.
| typedef ImageFactory::OutputImage DGtal::TiledImage< TImageContainer, TImageFactory, TImageCacheReadPolicy, TImageCacheWritePolicy >::OutputImage |
Definition at line 102 of file TiledImage.h.
| typedef TiledIterator DGtal::TiledImage< TImageContainer, TImageFactory, TImageCacheReadPolicy, TImageCacheWritePolicy >::OutputIterator |
Definition at line 452 of file TiledImage.h.
| typedef ImageContainer::Point DGtal::TiledImage< TImageContainer, TImageFactory, TImageCacheReadPolicy, TImageCacheWritePolicy >::Point |
Definition at line 95 of file TiledImage.h.
| typedef TiledImageBidirectionalRangeFromPoint<TiledImage > DGtal::TiledImage< TImageContainer, TImageFactory, TImageCacheReadPolicy, TImageCacheWritePolicy >::Range |
Definition at line 560 of file TiledImage.h.
| typedef ReverseTiledIterator DGtal::TiledImage< TImageContainer, TImageFactory, TImageCacheReadPolicy, TImageCacheWritePolicy >::ReverseOutputIterator |
Definition at line 456 of file TiledImage.h.
| typedef boost::reverse_iterator<TiledIterator> DGtal::TiledImage< TImageContainer, TImageFactory, TImageCacheReadPolicy, TImageCacheWritePolicy >::ReverseTiledIterator |
Definition at line 454 of file TiledImage.h.
| typedef TiledImage<TImageContainer, TImageFactory, TImageCacheReadPolicy, TImageCacheWritePolicy> DGtal::TiledImage< TImageContainer, TImageFactory, TImageCacheReadPolicy, TImageCacheWritePolicy >::Self |
Definition at line 84 of file TiledImage.h.
| typedef ImageContainer::Value DGtal::TiledImage< TImageContainer, TImageFactory, TImageCacheReadPolicy, TImageCacheWritePolicy >::Value |
Definition at line 96 of file TiledImage.h.
|
inline |
Constructor.
| anImageFactory | alias on the image factory (see ImageFactoryFromImage or ImageFactoryFromHDF5). |
| aReadPolicy | alias on a read policy. |
| aWritePolicy | alias on a write policy. |
| N | how many tiles we want for each dimension. |
Definition at line 119 of file TiledImage.h.
References m_lowerBound, m_upperBound, myImageCache, myImageFactory, myN, myReadPolicy, mySize, and myWritePolicy.
Referenced by operator=(), TiledImage(), DGtal::TiledImage< TImageContainer, TImageFactory, TImageCacheReadPolicy, TImageCacheWritePolicy >::TiledIterator::TiledIterator(), and DGtal::TiledImage< TImageContainer, TImageFactory, TImageCacheReadPolicy, TImageCacheWritePolicy >::TiledIterator::TiledIterator().
|
inline |
|
inline |
Copy constructor.
| other | the TiledImage to clone. |
Definition at line 150 of file TiledImage.h.
References m_lowerBound, m_upperBound, myImageCache, myImageFactory, myN, myReadPolicy, mySize, myWritePolicy, and TiledImage().
|
inline |
Definition at line 464 of file TiledImage.h.
References begin(), and domainBlockCoords().
|
inline |
Definition at line 459 of file TiledImage.h.
References begin(), and domainBlockCoords().
Referenced by begin(), begin(), begin(), begin(), outputIterator(), outputIterator(), rbegin(), rbegin(), rend(), and rend().
|
inline |
Definition at line 475 of file TiledImage.h.
References aPoint, begin(), domainBlockCoords(), and findBlockCoordsFromPoint().
|
inline |
Definition at line 469 of file TiledImage.h.
References aPoint, begin(), domainBlockCoords(), and findBlockCoordsFromPoint().
| DGtal::TiledImage< TImageContainer, TImageFactory, TImageCacheReadPolicy, TImageCacheWritePolicy >::BOOST_CONCEPT_ASSERT | ( | (concepts::CImage< TImageContainer >) | ) |
Checking concepts.
| DGtal::TiledImage< TImageContainer, TImageFactory, TImageCacheReadPolicy, TImageCacheWritePolicy >::BOOST_CONCEPT_ASSERT | ( | (concepts::CImageCacheReadPolicy< TImageCacheReadPolicy >) | ) |
| DGtal::TiledImage< TImageContainer, TImageFactory, TImageCacheReadPolicy, TImageCacheWritePolicy >::BOOST_CONCEPT_ASSERT | ( | (concepts::CImageCacheWritePolicy< TImageCacheWritePolicy >) | ) |
| DGtal::TiledImage< TImageContainer, TImageFactory, TImageCacheReadPolicy, TImageCacheWritePolicy >::BOOST_CONCEPT_ASSERT | ( | (concepts::CImageFactory< TImageFactory >) | ) |
|
inline |
Clear the cache and reset the cache misses
Definition at line 777 of file TiledImage.h.
References myImageCache.
|
inline |
Definition at line 566 of file TiledImage.h.
|
inline |
Returns a reference to the underlying image domain.
Definition at line 202 of file TiledImage.h.
References myImageFactory.
|
inline |
Returns the block coords domain.
Definition at line 212 of file TiledImage.h.
References m_lowerBound, m_upperBound, and myN.
Referenced by begin(), begin(), begin(), begin(), end(), end(), findSubDomainFromBlockCoords(), and findTileFromBlockCoords().
|
inline |
|
inline |
Definition at line 481 of file TiledImage.h.
References domainBlockCoords(), and end().
Referenced by end(), end(), rbegin(), rbegin(), and routputIterator().
|
inline |
Get the block coords containing aPoint.
| aPoint | the point. |
Definition at line 635 of file TiledImage.h.
References aPoint, m_lowerBound, myImageFactory, and mySize.
|
inline |
Get the domain containing aPoint.
| aPoint | the point. |
Definition at line 603 of file TiledImage.h.
References aPoint, m_lowerBound, m_upperBound, myImageFactory, and mySize.
Referenced by operator()(), and setValue().
|
inline |
Get the domain with his block coords.
| aCoord | the block coords. |
Definition at line 659 of file TiledImage.h.
References domainBlockCoords(), m_lowerBound, m_upperBound, and mySize.
Referenced by findTileFromBlockCoords().
|
inline |
Returns an ImageContainer pointer for the block coords aCoord.
| aCoord | the block coords. |
Definition at line 685 of file TiledImage.h.
References domainBlockCoords(), findSubDomainFromBlockCoords(), and myImageCache.
|
inline |
|
inline |
|
inline |
Checks the validity/consistency of the object.
Definition at line 592 of file TiledImage.h.
References myImageCache, and myImageFactory.
|
inline |
Get the value of an image (from cache) at a given position given by aPoint.
| aPoint | the point. |
Definition at line 707 of file TiledImage.h.
References aPoint, findSubDomain(), myImageCache, myImageFactory, and DGtal::trace.
|
inline |
Assignment.
| other | the TiledImage to copy. |
Definition at line 171 of file TiledImage.h.
References m_lowerBound, m_upperBound, myImageCache, myImageFactory, myN, myReadPolicy, mySize, myWritePolicy, and TiledImage().
|
inline |
|
inline |
Definition at line 542 of file TiledImage.h.
|
inline |
Definition at line 575 of file TiledImage.h.
|
inline |
Definition at line 496 of file TiledImage.h.
References end().
|
inline |
|
inline |
Definition at line 513 of file TiledImage.h.
References aPoint, begin(), m_lowerBound, and m_upperBound.
|
inline |
Definition at line 501 of file TiledImage.h.
References aPoint, begin(), m_lowerBound, and m_upperBound.
|
inline |
Definition at line 530 of file TiledImage.h.
References begin().
|
inline |
Definition at line 525 of file TiledImage.h.
References begin().
|
inline |
Definition at line 547 of file TiledImage.h.
References end().
|
inline |
Definition at line 552 of file TiledImage.h.
| void DGtal::TiledImage< TImageContainer, TImageFactory, TImageCacheReadPolicy, TImageCacheWritePolicy >::selfDisplay | ( | std::ostream & | out | ) | const |
Writes/Displays the object on an output stream.
| out | the output stream where the object is written. |
|
inline |
Set a value on an image (in cache) at a position specified by a aPoint.
| aPoint | the point. |
| aValue | the value. |
Definition at line 744 of file TiledImage.h.
References aPoint, findSubDomain(), myImageCache, and myImageFactory.
|
protected |
domain lower and upper bound
Definition at line 798 of file TiledImage.h.
Referenced by domainBlockCoords(), findBlockCoordsFromPoint(), findSubDomain(), findSubDomainFromBlockCoords(), operator=(), rbegin(), rbegin(), TiledImage(), and TiledImage().
|
protected |
Definition at line 798 of file TiledImage.h.
Referenced by domainBlockCoords(), findSubDomain(), findSubDomainFromBlockCoords(), operator=(), rbegin(), rbegin(), TiledImage(), and TiledImage().
|
protected |
ImageCache pointer.
Definition at line 795 of file TiledImage.h.
Referenced by clearCacheAndResetCacheMisses(), findTileFromBlockCoords(), getCacheMissRead(), getCacheMissWrite(), isValid(), operator()(), operator=(), setValue(), TiledImage(), TiledImage(), and ~TiledImage().
|
protected |
ImageFactory pointer.
Definition at line 792 of file TiledImage.h.
Referenced by domain(), findBlockCoordsFromPoint(), findSubDomain(), isValid(), operator()(), operator=(), setValue(), TiledImage(), and TiledImage().
|
protected |
Number of tiles per dimension.
Definition at line 786 of file TiledImage.h.
Referenced by domainBlockCoords(), operator=(), TiledImage(), and TiledImage().
|
protected |
TImageCacheReadPolicy pointer.
Definition at line 801 of file TiledImage.h.
Referenced by operator=(), TiledImage(), and TiledImage().
|
protected |
Width of a tile (for each dimension)
Definition at line 789 of file TiledImage.h.
Referenced by findBlockCoordsFromPoint(), findSubDomain(), findSubDomainFromBlockCoords(), operator=(), TiledImage(), and TiledImage().
|
protected |
TImageCacheWritePolicy pointer.
Definition at line 804 of file TiledImage.h.
Referenced by operator=(), TiledImage(), and TiledImage().