
#include <Image/ImageSet.H>
Collaboration diagram for ImageSet< T >:

Definition at line 49 of file ImageSet.H.
Public Member Functions | |
| ImageSet (const uint n=0) | |
| Construct with a given number of empty images. | |
| ImageSet (const uint n, const Dims &dims, InitPolicy init=ZEROS) | |
| Construct with a given number of images of the given size. | |
| template<class TT> | |
| ImageSet (const ImageSet< TT > &iset) | |
| Copy-conversion constructor. | |
| template<class TT> | |
| ImageSet< T > & | operator= (const ImageSet< TT > &iset) |
| Converting assignment. | |
| void | swap (ImageSet< T > &that) |
| Swap contents with another ImageSet. | |
| void | clear () |
| Keep the same number of images, but make all images empty (0-by-0 size). | |
| void | reset (uint newDepth=0) |
| Reset to a new number of images, all images will be empty (0-by-0 size). | |
| uint | size () const |
| Return number of images in image set. | |
| const Image< T > & | getImage (const uint lev) const |
| Get image from a given level. | |
| const Image< T > & | operator[] (const uint lev) const |
| Get image from a given level (shorthand for getImage()). | |
| Image< T > & | getImageMut (const uint lev) |
| Get mutable image from a given level. | |
| Image< T > & | operator[] (const uint lev) |
| Get mutable image from a given level (shorthand for getImageMut()). | |
| void | push_back (Image< T > &img) |
| push an image to the back of the set | |
| void | push_front (Image< T > &img) |
| push an image to the front of the set | |
| Image< T > | pop_back () |
| return the last image in the set and pop it off | |
| Image< T > | pop_front () |
| return the first image in the set and pop it off | |
| Image< T > | front () const |
| return the last image in the set (without popping it off) | |
| Image< T > | back () const |
| return the first image in the set (without popping it off) | |
| bool | isEmpty () const |
| Return true if the pyramid has no non-empty images (width*height > 0). | |
| bool | isNonEmpty () const |
| Return true if the pyramid has any non-empty images (width*height > 0). | |
| ImageSet< T > | subSet (const uint a, const uint b) const |
| Return a new ImageSet with images in the half-open range [a,b[. | |
|
||||||||||
|
Construct with a given number of empty images.
Definition at line 132 of file ImageSet.H. |
|
||||||||||||||||||||
|
Construct with a given number of images of the given size.
Definition at line 138 of file ImageSet.H. |
|
||||||||||||||
|
Copy-conversion constructor.
Definition at line 144 of file ImageSet.H. References ImageSet< T >::getImage(), i, and ImageSet< T >::size(). |
|
|||||||||
|
return the first image in the set (without popping it off)
Definition at line 257 of file ImageSet.H. References ASSERT, and ImageSet< T >::isNonEmpty(). Referenced by transformDoG(). |
|
|||||||||
|
Keep the same number of images, but make all images empty (0-by-0 size). This returns the ImageSet to a state where isEmpty() is true. Definition at line 169 of file ImageSet.H. Referenced by doClear(), IntegerSimpleChannel::doInputInt(), processTrackCommand(), renderScene2(), SingleChannel::reset1(), IntegerSimpleChannel::reset1(), SingleChannel::setClipPyramid(), and POMDP::updatePerception(). |
|
|||||||||
|
return the last image in the set (without popping it off)
Definition at line 249 of file ImageSet.H. References ASSERT, and ImageSet< T >::isNonEmpty(). |
|
||||||||||
|
Get image from a given level.
Definition at line 189 of file ImageSet.H. References ASSERT. Referenced by ScaleSpace::getBlurredImage(), ScaleSpace::getDoGImage(), ScaleSpace::getTwoSigmaImage(), ImageSet< T >::ImageSet(), intgBuildPyrGaussian(), ImageSet< T >::operator=(), and ImageSet< T >::operator[](). |
|
||||||||||
|
Get mutable image from a given level.
Definition at line 202 of file ImageSet.H. References ASSERT. Referenced by apply_sift_on_patches(), ContourChannel::doInput(), and ImageSet< T >::operator[](). |
|
|||||||||
|
Return true if the pyramid has no non-empty images (width*height > 0).
Definition at line 265 of file ImageSet.H. References ImageSet< T >::isNonEmpty(). Referenced by OrientationChannel::doInteractions(), IntegerSimpleChannel::getRawCSmapInt(), ImgVec2mexArr(), IntegerSimpleChannel::outputAvailable(), IntegerSimpleChannel::saveResults(), and DirectFeedChannel::setCoeff(). |
|
|||||||||
|
Return true if the pyramid has any non-empty images (width*height > 0).
Definition at line 269 of file ImageSet.H. References i. Referenced by ImageSet< T >::back(), centerSurround(), centerSurroundDiff(), centerSurroundDiffSingleOpponent(), centerSurroundSingleOpponent(), ImageSet< T >::front(), ChannelMaps::hasPyramid(), intgCenterSurround(), ImageSet< T >::isEmpty(), ImageSet< T >::pop_back(), and ImageSet< T >::pop_front(). |
|
||||||||||||||
|
Converting assignment.
Definition at line 152 of file ImageSet.H. References ImageSet< T >::getImage(), i, and ImageSet< T >::size(). |
|
||||||||||
|
Get mutable image from a given level (shorthand for getImageMut()).
Definition at line 210 of file ImageSet.H. References ImageSet< T >::getImageMut(). |
|
||||||||||
|
Get image from a given level (shorthand for getImage()).
Definition at line 197 of file ImageSet.H. References ImageSet< T >::getImage(). |
|
|||||||||
|
return the last image in the set and pop it off
Definition at line 229 of file ImageSet.H. References ASSERT, and ImageSet< T >::isNonEmpty(). |
|
|||||||||
|
return the first image in the set and pop it off
Definition at line 239 of file ImageSet.H. References ASSERT, and ImageSet< T >::isNonEmpty(). Referenced by transformDoG(). |
|
||||||||||
|
push an image to the back of the set
Definition at line 215 of file ImageSet.H. Referenced by BeoSub::Decode(), ObjRecBOF::extractGaborFeatures(), POMDP::init(), LGN::init(), Ganglion::init(), main(), BeoMap::makePanorama(), mexFunction(), ObjRecSPM::ObjRecSPM(), processTrackCommand(), renderScene2(), SimulationViewerStats::save1(), submain(), BeoSubQtMainForm::taskDecode(), and transformDoG(). |
|
||||||||||
|
push an image to the front of the set
Definition at line 222 of file ImageSet.H. |
|
||||||||||
|
Reset to a new number of images, all images will be empty (0-by-0 size).
Definition at line 177 of file ImageSet.H. Referenced by Beobot2GistSalMasterI::Beobot2GistSalMasterI(), SimulationViewerStd::reset1(), SimulationViewerNerdCam::reset1(), DirectFeedChannel::reset1(), SimulationViewerI::SimulationViewerI(), VisualCortexEyeMvt::start1(), and DisparityChannel::start1(). |
|
|||||||||
|
||||||||||||||||
|
Return a new ImageSet with images in the half-open range [a,b[.
Definition at line 279 of file ImageSet.H. References ASSERT, i, ImageSet< T >::itsLevels, and ImageSet< T >::size(). Referenced by arrcat(), and IntegerSimpleChannel::doInputInt(). |
|
||||||||||
|
Swap contents with another ImageSet.
Definition at line 162 of file ImageSet.H. References ImageSet< T >::itsLevels. |
1.4.4