$search
#include <rtcImage.h>
Public Types | |
typedef T | Pixel |
Public Member Functions | |
void | doubleImage () |
void | doubleImage2 () |
void | doubleImage2To (Image< T > &other) |
void | doubleImageTo (Image< T > &other) |
template<> | |
bool | fromOpenCV (const cv::Mat &image) |
template<> | |
bool | fromOpenCV (const cv::Mat &image) |
bool | fromOpenCV (const cv::Mat &image) |
void | halfImage () |
void | halfImageTo (Image< T > &other) |
Image (const Image &other) | |
Image (int _rows, int _columns) | |
Image () | |
template<> | |
Image< unsigned char >::Pixel | interpolate (const float row, const float col) const |
template<> | |
Image< float >::Pixel | interpolate (const float row, const float col) const |
template<> | |
Image< Vec4uc >::Pixel | interpolate (const float row, const float col) const |
template<> | |
Image< Vec3uc >::Pixel | interpolate (const float row, const float col) const |
Pixel | interpolate (const float row, const float col) const |
void | operator*= (const T &v) |
void | operator*= (const Image< T > &other) |
void | operator+= (const T &v) |
void | operator+= (const Image< T > &other) |
void | operator-= (const T &v) |
void | operator-= (const Image< T > &other) |
void | operator/= (const T &v) |
void | operator/= (const Image< T > &other) |
Image< T > & | operator= (const Image< T > &img) |
void | read (FILE *fp) |
virtual bool | read (InputHandler &ih) |
template<> | |
bool | readFromFile (const char *filename) |
template<> | |
bool | readFromFile (const char *filename) |
template<> | |
bool | readFromFile (const char *filename) |
template<> | |
bool | readFromFile (const char *filename) |
bool | readFromFile (const char *filename) |
bool | resize (int rows, int columns) |
bool | resized (Image &dest) const |
template<> | |
bool | toOpenCV (cv::Mat &image) const |
bool | toOpenCV (cv::Mat &image) const |
void | write (FILE *fp) const |
virtual bool | write (OutputHandler &oh) const |
template<> | |
bool | writeToFile (const char *filename) const |
template<> | |
bool | writeToFile (const char *filename) const |
template<> | |
bool | writeToFile (const char *filename) const |
template<> | |
bool | writeToFile (const char *filename) const |
bool | writeToFile (const char *filename) const |
virtual | ~Image () |
A color image container class
Definition at line 38 of file rtcImage.h.
typedef T rtc::Image< T >::Pixel |
Definition at line 40 of file rtcImage.h.
rtc::Image< T >::Image | ( | ) | [inline] |
Definition at line 48 of file rtcImage.h.
rtc::Image< T >::Image | ( | int | _rows, | |
int | _columns | |||
) | [inline] |
Definition at line 49 of file rtcImage.h.
rtc::Image< T >::Image | ( | const Image< T > & | other | ) | [inline] |
Definition at line 50 of file rtcImage.h.
virtual rtc::Image< T >::~Image | ( | ) | [inline, virtual] |
Definition at line 52 of file rtcImage.h.
void rtc::Image< T >::doubleImage | ( | ) | [inline] |
Definition at line 81 of file rtcImage.h.
void rtc::Image< T >::doubleImage2 | ( | ) | [inline] |
Definition at line 83 of file rtcImage.h.
void rtc::Image< T >::doubleImage2To | ( | Image< T > & | other | ) | [inline] |
Definition at line 125 of file rtcImage.h.
void rtc::Image< T >::doubleImageTo | ( | Image< T > & | other | ) | [inline] |
Definition at line 113 of file rtcImage.h.
bool rtc::Image< Vec4uc >::fromOpenCV | ( | const cv::Mat & | image | ) | [inline] |
Definition at line 293 of file rtcImage.cpp.
bool rtc::Image< Vec3uc >::fromOpenCV | ( | const cv::Mat & | image | ) | [inline] |
Definition at line 275 of file rtcImage.cpp.
bool rtc::Image< T >::fromOpenCV | ( | const cv::Mat & | image | ) |
void rtc::Image< T >::halfImage | ( | ) | [inline] |
Definition at line 79 of file rtcImage.h.
void rtc::Image< T >::halfImageTo | ( | Image< T > & | other | ) | [inline] |
Definition at line 101 of file rtcImage.h.
Image< unsigned char >::Pixel rtc::Image< unsigned char >::interpolate | ( | const float | row, | |
const float | col | |||
) | const [inline] |
Definition at line 254 of file rtcImage.cpp.
Image< float >::Pixel rtc::Image< float >::interpolate | ( | const float | row, | |
const float | col | |||
) | const [inline] |
Definition at line 233 of file rtcImage.cpp.
Image< Vec4uc >::Pixel rtc::Image< Vec4uc >::interpolate | ( | const float | row, | |
const float | col | |||
) | const [inline] |
Definition at line 212 of file rtcImage.cpp.
Image< Vec3uc >::Pixel rtc::Image< Vec3uc >::interpolate | ( | const float | row, | |
const float | col | |||
) | const [inline] |
Use bilinear interpolation to approximate values between the elements of matrices.
Definition at line 191 of file rtcImage.cpp.
Pixel rtc::Image< T >::interpolate | ( | const float | row, | |
const float | col | |||
) | const |
void rtc::Image< T >::operator*= | ( | const T & | v | ) | [inline] |
Definition at line 88 of file rtcImage.h.
void rtc::Image< T >::operator*= | ( | const Image< T > & | other | ) | [inline] |
Definition at line 85 of file rtcImage.h.
void rtc::Image< T >::operator+= | ( | const T & | v | ) | [inline] |
Definition at line 90 of file rtcImage.h.
void rtc::Image< T >::operator+= | ( | const Image< T > & | other | ) | [inline] |
Definition at line 86 of file rtcImage.h.
void rtc::Image< T >::operator-= | ( | const T & | v | ) | [inline] |
Definition at line 89 of file rtcImage.h.
void rtc::Image< T >::operator-= | ( | const Image< T > & | other | ) | [inline] |
Definition at line 84 of file rtcImage.h.
void rtc::Image< T >::operator/= | ( | const T & | v | ) | [inline] |
Definition at line 91 of file rtcImage.h.
void rtc::Image< T >::operator/= | ( | const Image< T > & | other | ) | [inline] |
Definition at line 87 of file rtcImage.h.
Image< T > & rtc::Image< T >::operator= | ( | const Image< T > & | img | ) | [inline] |
Definition at line 219 of file rtcImage.h.
void rtc::Image< T >::read | ( | FILE * | fp | ) | [inline] |
Definition at line 207 of file rtcImage.h.
bool rtc::Image< T >::read | ( | InputHandler & | ih | ) | [inline, virtual] |
Reimplemented from rtc::Array< T, 2 >.
Definition at line 191 of file rtcImage.h.
bool rtc::Image< unsigned char >::readFromFile | ( | const char * | filename | ) | [inline] |
Definition at line 92 of file rtcImage.cpp.
bool rtc::Image< float >::readFromFile | ( | const char * | filename | ) | [inline] |
Definition at line 71 of file rtcImage.cpp.
bool rtc::Image< Vec4uc >::readFromFile | ( | const char * | filename | ) | [inline] |
Definition at line 50 of file rtcImage.cpp.
bool rtc::Image< Vec3uc >::readFromFile | ( | const char * | filename | ) | [inline] |
Definition at line 30 of file rtcImage.cpp.
bool rtc::Image< T >::readFromFile | ( | const char * | filename | ) |
bool rtc::Image< T >::resize | ( | int | rows, | |
int | columns | |||
) | [inline] |
Definition at line 162 of file rtcImage.h.
bool rtc::Image< T >::resized | ( | Image< T > & | dest | ) | const [inline] |
Definition at line 171 of file rtcImage.h.
bool rtc::Image< Vec3uc >::toOpenCV | ( | cv::Mat & | image | ) | const [inline] |
Definition at line 313 of file rtcImage.cpp.
bool rtc::Image< T >::toOpenCV | ( | cv::Mat & | image | ) | const |
void rtc::Image< T >::write | ( | FILE * | fp | ) | const [inline] |
Definition at line 198 of file rtcImage.h.
bool rtc::Image< T >::write | ( | OutputHandler & | oh | ) | const [inline, virtual] |
Reimplemented from rtc::Array< T, 2 >.
Definition at line 184 of file rtcImage.h.
bool rtc::Image< unsigned char >::writeToFile | ( | const char * | filename | ) | const [inline] |
Definition at line 171 of file rtcImage.cpp.
bool rtc::Image< float >::writeToFile | ( | const char * | filename | ) | const [inline] |
Definition at line 154 of file rtcImage.cpp.
bool rtc::Image< Vec4uc >::writeToFile | ( | const char * | filename | ) | const [inline] |
Definition at line 132 of file rtcImage.cpp.
bool rtc::Image< Vec3uc >::writeToFile | ( | const char * | filename | ) | const [inline] |
Definition at line 113 of file rtcImage.cpp.
bool rtc::Image< T >::writeToFile | ( | const char * | filename | ) | const |