$search
#include <vlrImage.h>
Public Member Functions | |
void | bounds (T &lower_bound, T &upper_bound) |
const T * | constData () const |
T * | data () const |
uint32_t | elementSize () const |
Image (const Image &img, bool manage_buffer=true, bool copyData=true, bool copyTags=true) | |
Image (uint32_t width, uint32_t height) | |
Image (uint32_t width, uint32_t height, uint32_t channels) | |
Image (uint32_t width, uint32_t height, uint32_t channels, colorSpace_t colorSpace) | |
Image (uint32_t width, uint32_t height, uint32_t channels, uint32_t padded_width, bool manage_buffer, colorSpace_t colorSpace) | |
void | normalize (T new_min, T new_max) |
template<class nT > | |
operator Image< nT > () | |
Image< T > | operator() (uint32_t x, uint32_t y, uint32_t roi_width, uint32_t roi_height) const |
T & | operator() (const uint32_t x, const uint32_t y, const uint32_t c) const |
T & | operator() (const uint32_t x, const uint32_t y) const |
Image< T > | operator+ (const Image< T > &img) const |
Image & | operator= (const Image &img) |
T & | operator[] (const uint32_t pos) const |
bool | reformat (uint32_t new_width, uint32_t new_height, uint32_t new_channels, uint32_t new_padded_width, colorSpace_t new_color_space) |
bool | sameDims (const Image &img) const |
T * | setData (T *new_data, bool manage_new_buffer=false) |
virtual | ~Image () |
Private Member Functions | |
void | create () |
Private Attributes | |
T * | data_ |
uint32_t | element_size_ |
Definition at line 187 of file vlrImage.h.
vlr::Image< T >::Image | ( | uint32_t | width, | |
uint32_t | height, | |||
uint32_t | channels, | |||
uint32_t | padded_width, | |||
bool | manage_buffer, | |||
colorSpace_t | colorSpace | |||
) | [inline] |
Definition at line 49 of file vlrImage.cpp.
vlr::Image< T >::Image | ( | uint32_t | width, | |
uint32_t | height, | |||
uint32_t | channels, | |||
colorSpace_t | colorSpace | |||
) | [inline] |
Definition at line 55 of file vlrImage.cpp.
vlr::Image< T >::Image | ( | uint32_t | width, | |
uint32_t | height, | |||
uint32_t | channels | |||
) | [inline] |
Definition at line 61 of file vlrImage.cpp.
vlr::Image< T >::Image | ( | uint32_t | width, | |
uint32_t | height | |||
) | [inline] |
Definition at line 67 of file vlrImage.cpp.
vlr::Image< T >::Image | ( | const Image< T > & | img, | |
bool | manage_buffer = true , |
|||
bool | copyData = true , |
|||
bool | copyTags = true | |||
) | [inline] |
Definition at line 82 of file vlrImage.cpp.
vlr::Image< T >::~Image | ( | ) | [inline, virtual] |
Definition at line 137 of file vlrImage.cpp.
void vlr::Image< T >::bounds | ( | T & | lower_bound, | |
T & | upper_bound | |||
) | [inline] |
Definition at line 144 of file vlrImage.cpp.
const T* vlr::Image< T >::constData | ( | ) | const [inline] |
Definition at line 204 of file vlrImage.h.
void vlr::Image< T >::create | ( | ) | [inline, private] |
Definition at line 73 of file vlrImage.cpp.
T* vlr::Image< T >::data | ( | ) | const [inline] |
Definition at line 203 of file vlrImage.h.
uint32_t vlr::Image< T >::elementSize | ( | ) | const [inline] |
Definition at line 202 of file vlrImage.h.
void vlr::Image< T >::normalize | ( | T | new_min, | |
T | new_max | |||
) | [inline] |
Definition at line 168 of file vlrImage.cpp.
Definition at line 219 of file vlrImage.h.
Image< T > vlr::Image< T >::operator() | ( | uint32_t | x, | |
uint32_t | y, | |||
uint32_t | roi_width, | |||
uint32_t | roi_height | |||
) | const [inline] |
Definition at line 251 of file vlrImage.cpp.
T& vlr::Image< T >::operator() | ( | const uint32_t | x, | |
const uint32_t | y, | |||
const uint32_t | c | |||
) | const [inline] |
Definition at line 251 of file vlrImage.h.
T& vlr::Image< T >::operator() | ( | const uint32_t | x, | |
const uint32_t | y | |||
) | const [inline] |
Definition at line 250 of file vlrImage.h.
Image< T > vlr::Image< T >::operator+ | ( | const Image< T > & | img | ) | const [inline] |
Definition at line 200 of file vlrImage.cpp.
Image< T > & vlr::Image< T >::operator= | ( | const Image< T > & | img | ) | [inline] |
Definition at line 100 of file vlrImage.cpp.
T& vlr::Image< T >::operator[] | ( | const uint32_t | pos | ) | const [inline] |
Definition at line 249 of file vlrImage.h.
bool vlr::Image< T >::reformat | ( | uint32_t | new_width, | |
uint32_t | new_height, | |||
uint32_t | new_channels, | |||
uint32_t | new_padded_width, | |||
colorSpace_t | new_color_space | |||
) | [inline] |
Definition at line 217 of file vlrImage.cpp.
bool vlr::Image< T >::sameDims | ( | const Image< T > & | img | ) | const [inline] |
Definition at line 214 of file vlrImage.h.
T* vlr::Image< T >::setData | ( | T * | new_data, | |
bool | manage_new_buffer = false | |||
) | [inline] |
Definition at line 205 of file vlrImage.h.
T* vlr::Image< T >::data_ [private] |
Definition at line 260 of file vlrImage.h.
uint32_t vlr::Image< T >::element_size_ [private] |
Definition at line 259 of file vlrImage.h.