#include <vil1/vil1_memory_image_of.h>
#include <vil1/vil1_rgb.h>
Go to the source code of this file.
Functions | |
template<class T1 , class T2 > | |
vil1_memory_image_of< T2 > * | convert_image (const vil1_memory_image_of< T1 > &from, T2 &var) |
Converts from one type of memory image to another. | |
template<> | |
vil1_memory_image_of< unsigned char > * | convert_image< vil1_rgb< unsigned char >, unsigned char > (const vil1_memory_image_of< vil1_rgb< unsigned char > > &from, unsigned char &var) |
convert image. | |
template<> | |
vil1_memory_image_of< double > * | convert_image< vil1_rgb< unsigned char >, double > (const vil1_memory_image_of< vil1_rgb< unsigned char > > &from, double &var) |
vil1_memory_image_of<T2>* convert_image | ( | const vil1_memory_image_of< T1 > & | from, |
T2 & | var | ||
) |
Converts from one type of memory image to another.
from | the image converted from |
var | a dummy variable used so the right function is called. |
Definition at line 22 of file image_convert.txx.
vil1_memory_image_of<double>* convert_image< vil1_rgb< unsigned char >, double > | ( | const vil1_memory_image_of< vil1_rgb< unsigned char > > & | from, |
double & | var | ||
) |
Definition at line 68 of file image_convert.txx.
vil1_memory_image_of<unsigned char>* convert_image< vil1_rgb< unsigned char >, unsigned char > | ( | const vil1_memory_image_of< vil1_rgb< unsigned char > > & | from, |
unsigned char & | var | ||
) |
convert image.
Specialization for converting from rgb to greyscale
from | the image converted from |
var | a dummy variable used so the right function is called. |
Definition at line 51 of file image_convert.txx.