|
cisst-saw
|
Functions | |
| CISST_EXPORT int | ConvertSample (const svlSample *inimage, svlSample *outimage, unsigned int threads=1, unsigned int threadid=0) |
| CISST_EXPORT int | ConvertImage (const svlSampleImage *inimage, svlSampleImage *outimage, int param=0, unsigned int threads=1, unsigned int threadid=0) |
| CISST_EXPORT int | ConvertImage (const svlSampleImage *inimage, const unsigned int inchannel, svlSampleImage *outimage, const unsigned int outchannel, int param=0, unsigned int threads=1, unsigned int threadid=0) |
| CISST_EXPORT void | Gray8toRGB24 (unsigned char *input, unsigned char *output, const unsigned int pixelcount) |
| CISST_EXPORT void | Gray8toRGBA32 (unsigned char *input, unsigned char *output, const unsigned int pixelcount) |
| CISST_EXPORT void | Gray8toGray16 (unsigned char *input, unsigned short *output, const unsigned int pixelcount) |
| CISST_EXPORT void | Gray8toGray32 (unsigned char *input, unsigned int *output, const unsigned int pixelcount) |
| CISST_EXPORT void | Gray16toRGB24 (unsigned short *input, unsigned char *output, const unsigned int pixelcount, const unsigned int shiftdown=0) |
| CISST_EXPORT void | Gray16toRGBA32 (unsigned short *input, unsigned char *output, const unsigned int pixelcount, const unsigned int shiftdown=0) |
| CISST_EXPORT void | Gray16toGray8 (unsigned short *input, unsigned char *output, const unsigned int pixelcount, const unsigned int shiftdown=0) |
| CISST_EXPORT void | Gray16toGray32 (unsigned short *input, unsigned int *output, const unsigned int pixelcount) |
| CISST_EXPORT void | Gray32toRGB24 (unsigned int *input, unsigned char *output, const unsigned int pixelcount, const unsigned int shiftdown=0) |
| CISST_EXPORT void | Gray32toRGBA32 (unsigned int *input, unsigned char *output, const unsigned int pixelcount, const unsigned int shiftdown=0) |
| CISST_EXPORT void | Gray32toGray8 (unsigned int *input, unsigned char *output, const unsigned int pixelcount, const unsigned int shiftdown=0) |
| CISST_EXPORT void | Gray32toGray16 (unsigned int *input, unsigned short *output, const unsigned int pixelcount, const unsigned int shiftdown=0) |
| CISST_EXPORT void | int32toRGB24 (int *input, unsigned char *output, const unsigned int pixelcount, const int maxinputvalue=-1) |
| CISST_EXPORT void | int32toRGBA32 (int *input, unsigned char *output, const unsigned int pixelcount, const int maxinputvalue=-1) |
| CISST_EXPORT void | int32toGray8 (int *input, unsigned char *output, const unsigned int pixelcount, const int maxinputvalue=-1) |
| CISST_EXPORT void | int32toGray16 (int *input, unsigned short *output, const unsigned int pixelcount, const int maxinputvalue=-1) |
| CISST_EXPORT void | int32toGray32 (int *input, unsigned int *output, const unsigned int pixelcount) |
| CISST_EXPORT void | float32toRGB24 (float *input, unsigned char *output, const unsigned int pixelcount, const float scalingratio=1.0f, const int elementstride=1) |
| CISST_EXPORT void | float32toRGBA32 (float *input, unsigned char *output, const unsigned int pixelcount, const float scalingratio=1.0f, const int elementstride=1) |
| CISST_EXPORT void | float32toGray8 (float *input, unsigned char *output, const unsigned int pixelcount, const float scalingratio=1.0f, const int elementstride=1) |
| CISST_EXPORT void | float32toGray16 (float *input, unsigned short *output, const unsigned int pixelcount, const float scalingratio=1.0f, const int elementstride=1) |
| CISST_EXPORT void | float32toGray32 (float *input, unsigned int *output, const unsigned int pixelcount, const float scalingratio=1.0f, const int elementstride=1) |
| CISST_EXPORT void | RGB16toRGB24 (unsigned char *input, unsigned char *output, const unsigned int pixelcount, bool ch1=true, bool ch2=true, bool ch3=true) |
| CISST_EXPORT void | RGB24toRGBA32 (unsigned char *input, unsigned char *output, const unsigned int pixelcount) |
| CISST_EXPORT void | RGB24toGray8 (unsigned char *input, unsigned char *output, const unsigned int pixelcount, bool accurate=false, bool bgr=false) |
| CISST_EXPORT void | RGB24toGray16 (unsigned char *input, unsigned short *output, const unsigned int pixelcount, bool accurate=false, bool bgr=false) |
| CISST_EXPORT void | RGB24toGray32 (unsigned char *input, unsigned int *output, const unsigned int pixelcount, bool accurate=false, bool bgr=false) |
| CISST_EXPORT void | RGB24toYUV444 (unsigned char *input, unsigned char *output, const unsigned int pixelcount, bool ch1=true, bool ch2=true, bool ch3=true) |
| CISST_EXPORT void | RGB24toYUV444P (unsigned char *input, unsigned char *output, const unsigned int pixelcount, bool ch1=true, bool ch2=true, bool ch3=true) |
| CISST_EXPORT void | BGR24toYUV422 (unsigned char *input, unsigned char *output, const unsigned int pixelcount, bool ch1=true, bool ch2=true, bool ch3=true) |
| CISST_EXPORT void | RGB24toYUV422 (unsigned char *input, unsigned char *output, const unsigned int pixelcount, bool ch1=true, bool ch2=true, bool ch3=true) |
| CISST_EXPORT void | RGB24toYUV422P (unsigned char *input, unsigned char *output, const unsigned int pixelcount, bool ch1=true, bool ch2=true, bool ch3=true) |
| CISST_EXPORT void | RGB24toHSV24 (unsigned char *input, unsigned char *output, const unsigned int pixelcount, bool ch1=true, bool ch2=true, bool ch3=true) |
| CISST_EXPORT void | RGB24toHSV24P (unsigned char *input, unsigned char *output, const unsigned int pixelcount, bool ch1=true, bool ch2=true, bool ch3=true) |
| CISST_EXPORT void | RGB24toHSL24 (unsigned char *input, unsigned char *output, const unsigned int pixelcount, bool ch1=true, bool ch2=true, bool ch3=true) |
| CISST_EXPORT void | RGB24toHSL24P (unsigned char *input, unsigned char *output, const unsigned int pixelcount, bool ch1=true, bool ch2=true, bool ch3=true) |
| CISST_EXPORT void | RGBA32toRGB24 (unsigned char *input, unsigned char *output, const unsigned int pixelcount) |
| CISST_EXPORT void | RGBA32toGray8 (unsigned char *input, unsigned char *output, const unsigned int pixelcount, bool accurate=false, bool bgr=false) |
| CISST_EXPORT void | RGBA32toGray16 (unsigned char *input, unsigned short *output, const unsigned int pixelcount, bool accurate=false, bool bgr=false) |
| CISST_EXPORT void | RGBA32toGray32 (unsigned char *input, unsigned int *output, const unsigned int pixelcount, bool accurate=false, bool bgr=false) |
| CISST_EXPORT void | YUV444toRGB24 (unsigned char *input, unsigned char *output, const unsigned int pixelcount, bool ch1=true, bool ch2=true, bool ch3=true) |
| CISST_EXPORT void | YUV444PtoRGB24 (unsigned char *input, unsigned char *output, const unsigned int pixelcount, bool ch1=true, bool ch2=true, bool ch3=true) |
| CISST_EXPORT void | YUV422toRGB24 (unsigned char *input, unsigned char *output, const unsigned int pixelcount, bool ch1=true, bool ch2=true, bool ch3=true) |
| CISST_EXPORT void | YUV422PtoRGB24 (unsigned char *input, unsigned char *output, const unsigned int pixelcount, bool ch1=true, bool ch2=true, bool ch3=true) |
| CISST_EXPORT void | NV21toRGB24 (unsigned char *input, unsigned char *output, const unsigned int width, const unsigned int height) |
| CISST_EXPORT void | UYVYtoRGB24 (unsigned char *input, unsigned char *output, const unsigned int pixelcount, bool ch1=true, bool ch2=true, bool ch3=true) |
| CISST_EXPORT void | HSV24toRGB24 (unsigned char *input, unsigned char *output, const unsigned int pixelcount, bool ch1=true, bool ch2=true, bool ch3=true) |
| CISST_EXPORT void svlConverter::BGR24toYUV422 | ( | unsigned char * | input, |
| unsigned char * | output, | ||
| const unsigned int | pixelcount, | ||
| bool | ch1 = true, |
||
| bool | ch2 = true, |
||
| bool | ch3 = true |
||
| ) |
| CISST_EXPORT int svlConverter::ConvertImage | ( | const svlSampleImage * | inimage, |
| svlSampleImage * | outimage, | ||
| int | param = 0, |
||
| unsigned int | threads = 1, |
||
| unsigned int | threadid = 0 |
||
| ) |
| CISST_EXPORT int svlConverter::ConvertImage | ( | const svlSampleImage * | inimage, |
| const unsigned int | inchannel, | ||
| svlSampleImage * | outimage, | ||
| const unsigned int | outchannel, | ||
| int | param = 0, |
||
| unsigned int | threads = 1, |
||
| unsigned int | threadid = 0 |
||
| ) |
| CISST_EXPORT int svlConverter::ConvertSample | ( | const svlSample * | inimage, |
| svlSample * | outimage, | ||
| unsigned int | threads = 1, |
||
| unsigned int | threadid = 0 |
||
| ) |
| CISST_EXPORT void svlConverter::float32toGray16 | ( | float * | input, |
| unsigned short * | output, | ||
| const unsigned int | pixelcount, | ||
| const float | scalingratio = 1.0f, |
||
| const int | elementstride = 1 |
||
| ) |
| CISST_EXPORT void svlConverter::float32toGray32 | ( | float * | input, |
| unsigned int * | output, | ||
| const unsigned int | pixelcount, | ||
| const float | scalingratio = 1.0f, |
||
| const int | elementstride = 1 |
||
| ) |
| CISST_EXPORT void svlConverter::float32toGray8 | ( | float * | input, |
| unsigned char * | output, | ||
| const unsigned int | pixelcount, | ||
| const float | scalingratio = 1.0f, |
||
| const int | elementstride = 1 |
||
| ) |
| CISST_EXPORT void svlConverter::float32toRGB24 | ( | float * | input, |
| unsigned char * | output, | ||
| const unsigned int | pixelcount, | ||
| const float | scalingratio = 1.0f, |
||
| const int | elementstride = 1 |
||
| ) |
| CISST_EXPORT void svlConverter::float32toRGBA32 | ( | float * | input, |
| unsigned char * | output, | ||
| const unsigned int | pixelcount, | ||
| const float | scalingratio = 1.0f, |
||
| const int | elementstride = 1 |
||
| ) |
| CISST_EXPORT void svlConverter::Gray16toGray32 | ( | unsigned short * | input, |
| unsigned int * | output, | ||
| const unsigned int | pixelcount | ||
| ) |
| CISST_EXPORT void svlConverter::Gray16toGray8 | ( | unsigned short * | input, |
| unsigned char * | output, | ||
| const unsigned int | pixelcount, | ||
| const unsigned int | shiftdown = 0 |
||
| ) |
| CISST_EXPORT void svlConverter::Gray16toRGB24 | ( | unsigned short * | input, |
| unsigned char * | output, | ||
| const unsigned int | pixelcount, | ||
| const unsigned int | shiftdown = 0 |
||
| ) |
| CISST_EXPORT void svlConverter::Gray16toRGBA32 | ( | unsigned short * | input, |
| unsigned char * | output, | ||
| const unsigned int | pixelcount, | ||
| const unsigned int | shiftdown = 0 |
||
| ) |
| CISST_EXPORT void svlConverter::Gray32toGray16 | ( | unsigned int * | input, |
| unsigned short * | output, | ||
| const unsigned int | pixelcount, | ||
| const unsigned int | shiftdown = 0 |
||
| ) |
| CISST_EXPORT void svlConverter::Gray32toGray8 | ( | unsigned int * | input, |
| unsigned char * | output, | ||
| const unsigned int | pixelcount, | ||
| const unsigned int | shiftdown = 0 |
||
| ) |
| CISST_EXPORT void svlConverter::Gray32toRGB24 | ( | unsigned int * | input, |
| unsigned char * | output, | ||
| const unsigned int | pixelcount, | ||
| const unsigned int | shiftdown = 0 |
||
| ) |
| CISST_EXPORT void svlConverter::Gray32toRGBA32 | ( | unsigned int * | input, |
| unsigned char * | output, | ||
| const unsigned int | pixelcount, | ||
| const unsigned int | shiftdown = 0 |
||
| ) |
| CISST_EXPORT void svlConverter::Gray8toGray16 | ( | unsigned char * | input, |
| unsigned short * | output, | ||
| const unsigned int | pixelcount | ||
| ) |
| CISST_EXPORT void svlConverter::Gray8toGray32 | ( | unsigned char * | input, |
| unsigned int * | output, | ||
| const unsigned int | pixelcount | ||
| ) |
| CISST_EXPORT void svlConverter::Gray8toRGB24 | ( | unsigned char * | input, |
| unsigned char * | output, | ||
| const unsigned int | pixelcount | ||
| ) |
| CISST_EXPORT void svlConverter::Gray8toRGBA32 | ( | unsigned char * | input, |
| unsigned char * | output, | ||
| const unsigned int | pixelcount | ||
| ) |
| CISST_EXPORT void svlConverter::HSV24toRGB24 | ( | unsigned char * | input, |
| unsigned char * | output, | ||
| const unsigned int | pixelcount, | ||
| bool | ch1 = true, |
||
| bool | ch2 = true, |
||
| bool | ch3 = true |
||
| ) |
| CISST_EXPORT void svlConverter::int32toGray16 | ( | int * | input, |
| unsigned short * | output, | ||
| const unsigned int | pixelcount, | ||
| const int | maxinputvalue = -1 |
||
| ) |
| CISST_EXPORT void svlConverter::int32toGray32 | ( | int * | input, |
| unsigned int * | output, | ||
| const unsigned int | pixelcount | ||
| ) |
| CISST_EXPORT void svlConverter::int32toGray8 | ( | int * | input, |
| unsigned char * | output, | ||
| const unsigned int | pixelcount, | ||
| const int | maxinputvalue = -1 |
||
| ) |
| CISST_EXPORT void svlConverter::int32toRGB24 | ( | int * | input, |
| unsigned char * | output, | ||
| const unsigned int | pixelcount, | ||
| const int | maxinputvalue = -1 |
||
| ) |
| CISST_EXPORT void svlConverter::int32toRGBA32 | ( | int * | input, |
| unsigned char * | output, | ||
| const unsigned int | pixelcount, | ||
| const int | maxinputvalue = -1 |
||
| ) |
| CISST_EXPORT void svlConverter::NV21toRGB24 | ( | unsigned char * | input, |
| unsigned char * | output, | ||
| const unsigned int | width, | ||
| const unsigned int | height | ||
| ) |
| CISST_EXPORT void svlConverter::RGB16toRGB24 | ( | unsigned char * | input, |
| unsigned char * | output, | ||
| const unsigned int | pixelcount, | ||
| bool | ch1 = true, |
||
| bool | ch2 = true, |
||
| bool | ch3 = true |
||
| ) |
| CISST_EXPORT void svlConverter::RGB24toGray16 | ( | unsigned char * | input, |
| unsigned short * | output, | ||
| const unsigned int | pixelcount, | ||
| bool | accurate = false, |
||
| bool | bgr = false |
||
| ) |
| CISST_EXPORT void svlConverter::RGB24toGray32 | ( | unsigned char * | input, |
| unsigned int * | output, | ||
| const unsigned int | pixelcount, | ||
| bool | accurate = false, |
||
| bool | bgr = false |
||
| ) |
| CISST_EXPORT void svlConverter::RGB24toGray8 | ( | unsigned char * | input, |
| unsigned char * | output, | ||
| const unsigned int | pixelcount, | ||
| bool | accurate = false, |
||
| bool | bgr = false |
||
| ) |
| CISST_EXPORT void svlConverter::RGB24toHSL24 | ( | unsigned char * | input, |
| unsigned char * | output, | ||
| const unsigned int | pixelcount, | ||
| bool | ch1 = true, |
||
| bool | ch2 = true, |
||
| bool | ch3 = true |
||
| ) |
| CISST_EXPORT void svlConverter::RGB24toHSL24P | ( | unsigned char * | input, |
| unsigned char * | output, | ||
| const unsigned int | pixelcount, | ||
| bool | ch1 = true, |
||
| bool | ch2 = true, |
||
| bool | ch3 = true |
||
| ) |
| CISST_EXPORT void svlConverter::RGB24toHSV24 | ( | unsigned char * | input, |
| unsigned char * | output, | ||
| const unsigned int | pixelcount, | ||
| bool | ch1 = true, |
||
| bool | ch2 = true, |
||
| bool | ch3 = true |
||
| ) |
| CISST_EXPORT void svlConverter::RGB24toHSV24P | ( | unsigned char * | input, |
| unsigned char * | output, | ||
| const unsigned int | pixelcount, | ||
| bool | ch1 = true, |
||
| bool | ch2 = true, |
||
| bool | ch3 = true |
||
| ) |
| CISST_EXPORT void svlConverter::RGB24toRGBA32 | ( | unsigned char * | input, |
| unsigned char * | output, | ||
| const unsigned int | pixelcount | ||
| ) |
| CISST_EXPORT void svlConverter::RGB24toYUV422 | ( | unsigned char * | input, |
| unsigned char * | output, | ||
| const unsigned int | pixelcount, | ||
| bool | ch1 = true, |
||
| bool | ch2 = true, |
||
| bool | ch3 = true |
||
| ) |
| CISST_EXPORT void svlConverter::RGB24toYUV422P | ( | unsigned char * | input, |
| unsigned char * | output, | ||
| const unsigned int | pixelcount, | ||
| bool | ch1 = true, |
||
| bool | ch2 = true, |
||
| bool | ch3 = true |
||
| ) |
| CISST_EXPORT void svlConverter::RGB24toYUV444 | ( | unsigned char * | input, |
| unsigned char * | output, | ||
| const unsigned int | pixelcount, | ||
| bool | ch1 = true, |
||
| bool | ch2 = true, |
||
| bool | ch3 = true |
||
| ) |
| CISST_EXPORT void svlConverter::RGB24toYUV444P | ( | unsigned char * | input, |
| unsigned char * | output, | ||
| const unsigned int | pixelcount, | ||
| bool | ch1 = true, |
||
| bool | ch2 = true, |
||
| bool | ch3 = true |
||
| ) |
| CISST_EXPORT void svlConverter::RGBA32toGray16 | ( | unsigned char * | input, |
| unsigned short * | output, | ||
| const unsigned int | pixelcount, | ||
| bool | accurate = false, |
||
| bool | bgr = false |
||
| ) |
| CISST_EXPORT void svlConverter::RGBA32toGray32 | ( | unsigned char * | input, |
| unsigned int * | output, | ||
| const unsigned int | pixelcount, | ||
| bool | accurate = false, |
||
| bool | bgr = false |
||
| ) |
| CISST_EXPORT void svlConverter::RGBA32toGray8 | ( | unsigned char * | input, |
| unsigned char * | output, | ||
| const unsigned int | pixelcount, | ||
| bool | accurate = false, |
||
| bool | bgr = false |
||
| ) |
| CISST_EXPORT void svlConverter::RGBA32toRGB24 | ( | unsigned char * | input, |
| unsigned char * | output, | ||
| const unsigned int | pixelcount | ||
| ) |
| CISST_EXPORT void svlConverter::UYVYtoRGB24 | ( | unsigned char * | input, |
| unsigned char * | output, | ||
| const unsigned int | pixelcount, | ||
| bool | ch1 = true, |
||
| bool | ch2 = true, |
||
| bool | ch3 = true |
||
| ) |
| CISST_EXPORT void svlConverter::YUV422PtoRGB24 | ( | unsigned char * | input, |
| unsigned char * | output, | ||
| const unsigned int | pixelcount, | ||
| bool | ch1 = true, |
||
| bool | ch2 = true, |
||
| bool | ch3 = true |
||
| ) |
| CISST_EXPORT void svlConverter::YUV422toRGB24 | ( | unsigned char * | input, |
| unsigned char * | output, | ||
| const unsigned int | pixelcount, | ||
| bool | ch1 = true, |
||
| bool | ch2 = true, |
||
| bool | ch3 = true |
||
| ) |
| CISST_EXPORT void svlConverter::YUV444PtoRGB24 | ( | unsigned char * | input, |
| unsigned char * | output, | ||
| const unsigned int | pixelcount, | ||
| bool | ch1 = true, |
||
| bool | ch2 = true, |
||
| bool | ch3 = true |
||
| ) |
| CISST_EXPORT void svlConverter::YUV444toRGB24 | ( | unsigned char * | input, |
| unsigned char * | output, | ||
| const unsigned int | pixelcount, | ||
| bool | ch1 = true, |
||
| bool | ch2 = true, |
||
| bool | ch3 = true |
||
| ) |
1.8.6