|
| | View () |
| |
| | View (Image &img) |
| |
| | View (Image &img, const std::vector< int > &start, const std::vector< int > &size) |
| |
| basetype & | operator() (const std::vector< int > &coords) |
| |
| void | Create (std::vector< int > dims, std::string channels, ColorType colortype, uint8_t *ptr, const std::vector< float > &spacings=std::vector< float >(), Device dev=Device::CPU) |
| |
| Iterator< basetype > | Begin () |
| |
| Iterator< basetype > | End () |
| |
| template<typename T > |
| Iterator< T > | Begin () |
| | Generic non-const Begin Iterator. More...
|
| |
| template<typename T > |
| Iterator< T > | End () |
| | Generic non-const End Iterator. More...
|
| |
| template<typename T > |
| ConstIterator< T > | Begin () const |
| | Generic const Begin Iterator. More...
|
| |
| template<typename T > |
| ConstIterator< T > | End () const |
| | Generic const End Iterator. More...
|
| |
| template<typename T > |
| ContiguousIterator< T > | ContiguousBegin () |
| | Contiguous non-const Begin Iterator. More...
|
| |
| template<typename T > |
| ContiguousIterator< T > | ContiguousEnd () |
| | Contiguous non-const End Iterator. More...
|
| |
| template<typename T > |
| ConstContiguousIterator< T > | ContiguousBegin () const |
| | Contiguous const Begin Iterator. More...
|
| |
| template<typename T > |
| ConstContiguousIterator< T > | ContiguousEnd () const |
| | Contiguous const End Iterator. More...
|
| |
| | Image () |
| | Default constructor. More...
|
| |
| | Image (const std::vector< int > &dims, DataType elemtype, std::string channels, ColorType colortype, const std::vector< float > &spacings=std::vector< float >(), Device dev=Device::CPU) |
| | Initializing constructor. More...
|
| |
| | Image (const Image &img) |
| | Copy constructor. More...
|
| |
| | Image (Image &&img) |
| | Move constructor. More...
|
| |
| Image & | operator= (const Image &rhs) |
| |
| Image & | operator= (Image &&rhs) |
| |
| void | To (Device dev) |
| |
| void | Create (const std::vector< int > &dims, DataType elemtype, std::string channels, ColorType colortype, const std::vector< float > &spacings=std::vector< float >(), Device dev=Device::CPU) |
| | Allocates new contiguous data if needed. More...
|
| |
| | ~Image () |
| | Destructor. More...
|
| |
| bool | IsEmpty () const |
| | To check whether the Image contains data or not, regardless of the owning status. More...
|
| |
| bool | IsOwner () const |
| | To check whether the Image is owner of the data. More...
|
| |
| int | Channels () const |
| | Returns the number of channels. More...
|
| |
| int | Width () const |
| | Returns the width of Image. More...
|
| |
| int | Height () const |
| | Returns the height of Image. More...
|
| |
| uint8_t * | Ptr (const std::vector< int > &coords) |
| | Returns a non-const pointer to data at given coordinates. More...
|
| |
| const uint8_t * | Ptr (const std::vector< int > &coords) const |
| | Returns a const pointer to data at given coordinates. More...
|
| |
| void | Neg () |
| | In-place negation. More...
|
| |
| template<typename T > |
| void | Add (const T &rhs, bool saturate=true) |
| | In-place addition. More...
|
| |
| template<typename T > |
| void | Sub (const T &rhs, bool saturate=true) |
| | In-place subtraction. More...
|
| |
| template<typename T > |
| void | Mul (const T &rhs, bool saturate=true) |
| | In-place multiplication. More...
|
| |
| template<typename T > |
| void | Div (const T &rhs, bool saturate=true) |
| | In-place division. More...
|
| |
| template<typename T > |
| void | SetTo (T value) |
| | Set Image value to rhs. More...
|
| |
| void | ConvertTo (DataType dtype, bool saturate=true) |
| | Convert Image to another DataType. More...
|
| |
| Image | operator- () const |
| |
| Image & | operator+= (const Image &rhs) |
| |
| Image & | operator-= (const Image &rhs) |
| |
| Image & | operator *= (const Image &rhs) |
| |
| Image & | operator/= (const Image &rhs) |
| |
template<DataType DT>
class ecvl::View< DT >
- Examples
- example_ecvl_eddl.cpp, and example_image_view.cpp.
Definition at line 64 of file image.h.