AliceVision
Photogrammetric Computer Vision Framework
Public Types | Public Member Functions | Static Public Member Functions | List of all members
aliceVision::CachedImage< T > Class Template Reference

Public Types

using RowType = std::vector< image::CachedTile::smart_pointer >
 

Public Member Functions

bool createImage (std::shared_ptr< image::TileCacheManager > manager, size_t width, size_t height)
 
bool writeImage (const std::string &path, const image::EStorageDataType &storageDataType=image::EStorageDataType::Auto)
 
template<class UnaryFunction >
bool perPixelOperation (UnaryFunction f)
 
template<class T2 , class BinaryFunction >
bool perPixelOperation (CachedImage< T2 > &other, BinaryFunction f)
 
bool deepCopy (CachedImage< T > &source)
 
bool assign (const aliceVision::image::Image< T > &input, const BoundingBox &inputBb, const BoundingBox &outputBb)
 
bool extract (aliceVision::image::Image< T > &output, const BoundingBox &outputBb, const BoundingBox &inputBb)
 
bool fill (const T &val)
 
std::vector< RowType > & getTiles ()
 
int getWidth () const
 
int getHeight () const
 
int getTileSize () const
 
bool writeImage (const std::string &path, const image::EStorageDataType &storageDataType)
 
bool writeImage (const std::string &path, const image::EStorageDataType &storageDataType)
 
bool writeImage (const std::string &path, const image::EStorageDataType &storageDataType)
 
bool writeImage (const std::string &path, const image::EStorageDataType &storageDataType)
 
bool writeImage (const std::string &path, const image::EStorageDataType &storageDataType)
 
bool writeImage (const std::string &path, const image::EStorageDataType &storageDataType)
 
bool writeImage (const std::string &path, const image::EStorageDataType &storageDataType)
 
bool writeImage (const std::string &path, const image::EStorageDataType &storageDataType)
 
bool writeImage (const std::string &path, const image::EStorageDataType &storageDataType)
 
bool writeImage (const std::string &path, const image::EStorageDataType &storageDataType)
 

Static Public Member Functions

static bool getTileAsImage (image::Image< T > &ret, image::CachedTile::smart_pointer tile)
 
static bool setTileWithImage (image::CachedTile::smart_pointer tile, const image::Image< T > &ret)
 

The documentation for this class was generated from the following file: