Definition in file vil1_image_as.cxx.
#include "vil1_image_as.h"
#include <vcl_cassert.h>
#include <vcl_iostream.h>
#include <vcl_vector.h>
#include <vcl_string.h>
#include <vil1/vil1_pixel.h>
#include <vil1/vil1_memory_image_of_format.txx>
#include <vxl_config.h>
Go to the source code of this file.
Classes | |
| struct | vil1_image_as_impl< T > |
Functions | |
| template<class Inp, class Out> | |
| bool | convert_grey_to_grey (const vil1_image &image, void *buf, int x0, int y0, int width, int height, Inp *, Out *) |
| template<class Inp, class Out> | |
| bool | convert_rgb_to_grey (const vil1_image &image, void *buf, int x0, int y0, int width, int height, Inp *, Out *) |
| template<class Inp, class Out> | |
| bool | convert_grey_to_rgb (const vil1_image &image, void *buf, int x0, int y0, int width, int height, Inp *, Out *) |
| template<class Inp, class Out> | |
| bool | convert_rgb_to_rgb (const vil1_image &image, void *buf, int x0, int y0, int width, int height, Inp *, Out *) |
| template<class Inp, class Out> | |
| bool | convert_rgba_to_rgb (const vil1_image &image, void *buf, int x0, int y0, int width, int height, Inp *, Out *) |
| template<class Inp, class Out> | |
| bool | convert_rgba_to_grey (const vil1_image &image, void *buf, int x0, int y0, int width, int height, Inp *, Out *) |
| template bool | convert_grey_to_grey (const vil1_image &, void *, int, int, int, int, vxl_uint_16 *, vxl_byte *) |
| template bool | convert_grey_to_grey (const vil1_image &, void *, int, int, int, int, vxl_uint_32 *, vxl_byte *) |
| template bool | convert_grey_to_grey (const vil1_image &, void *, int, int, int, int, float *, vxl_byte *) |
| template bool | convert_grey_to_grey (const vil1_image &, void *, int, int, int, int, double *, vxl_byte *) |
| template bool | convert_rgb_to_grey (const vil1_image &, void *, int, int, int, int, vxl_byte *, vxl_byte *) |
| template bool | convert_rgb_to_grey (const vil1_image &, void *, int, int, int, int, vxl_uint_16 *, vxl_byte *) |
| template bool | convert_rgb_to_grey (const vil1_image &, void *, int, int, int, int, float *, vxl_byte *) |
| template bool | convert_rgb_to_grey (const vil1_image &, void *, int, int, int, int, double *, vxl_byte *) |
| template bool | convert_rgba_to_grey (const vil1_image &, void *, int, int, int, int, vxl_byte *, vxl_byte *) |
| template bool | convert_grey_to_grey (const vil1_image &, void *, int, int, int, int, vxl_byte *, vxl_uint_16 *) |
| template bool | convert_grey_to_grey (const vil1_image &, void *, int, int, int, int, vxl_uint_32 *, vxl_uint_16 *) |
| template bool | convert_grey_to_grey (const vil1_image &, void *, int, int, int, int, float *, vxl_uint_16 *) |
| template bool | convert_grey_to_grey (const vil1_image &, void *, int, int, int, int, double *, vxl_uint_16 *) |
| template bool | convert_rgb_to_grey (const vil1_image &, void *, int, int, int, int, vxl_byte *, vxl_uint_16 *) |
| template bool | convert_rgb_to_grey (const vil1_image &, void *, int, int, int, int, vxl_uint_16 *, vxl_uint_16 *) |
| template bool | convert_rgb_to_grey (const vil1_image &, void *, int, int, int, int, float *, vxl_uint_16 *) |
| template bool | convert_rgb_to_grey (const vil1_image &, void *, int, int, int, int, double *, vxl_uint_16 *) |
| template bool | convert_grey_to_grey (const vil1_image &, void *, int, int, int, int, vxl_byte *, int *) |
| template bool | convert_grey_to_grey (const vil1_image &, void *, int, int, int, int, vxl_uint_16 *, int *) |
| template bool | convert_grey_to_grey (const vil1_image &, void *, int, int, int, int, float *, int *) |
| template bool | convert_grey_to_grey (const vil1_image &, void *, int, int, int, int, double *, int *) |
| template bool | convert_rgb_to_grey (const vil1_image &, void *, int, int, int, int, vxl_byte *, int *) |
| template bool | convert_rgb_to_grey (const vil1_image &, void *, int, int, int, int, vxl_uint_16 *, int *) |
| template bool | convert_rgb_to_grey (const vil1_image &, void *, int, int, int, int, float *, int *) |
| template bool | convert_rgb_to_grey (const vil1_image &, void *, int, int, int, int, double *, int *) |
| template bool | convert_grey_to_grey (const vil1_image &, void *, int, int, int, int, vxl_byte *, float *) |
| template bool | convert_grey_to_grey (const vil1_image &, void *, int, int, int, int, vxl_uint_16 *, float *) |
| template bool | convert_grey_to_grey (const vil1_image &, void *, int, int, int, int, vxl_uint_32 *, float *) |
| template bool | convert_grey_to_grey (const vil1_image &, void *, int, int, int, int, double *, float *) |
| template bool | convert_rgb_to_grey (const vil1_image &, void *, int, int, int, int, vxl_byte *, float *) |
| template bool | convert_rgb_to_grey (const vil1_image &, void *, int, int, int, int, vxl_uint_16 *, float *) |
| template bool | convert_rgb_to_grey (const vil1_image &, void *, int, int, int, int, float *, float *) |
| template bool | convert_rgb_to_grey (const vil1_image &, void *, int, int, int, int, double *, float *) |
| template bool | convert_grey_to_grey (const vil1_image &, void *, int, int, int, int, vxl_byte *, double *) |
| template bool | convert_grey_to_grey (const vil1_image &, void *, int, int, int, int, vxl_uint_16 *, double *) |
| template bool | convert_grey_to_grey (const vil1_image &, void *, int, int, int, int, vxl_uint_32 *, double *) |
| template bool | convert_grey_to_grey (const vil1_image &, void *, int, int, int, int, float *, double *) |
| template bool | convert_rgb_to_grey (const vil1_image &, void *, int, int, int, int, vxl_byte *, double *) |
| template bool | convert_rgb_to_grey (const vil1_image &, void *, int, int, int, int, vxl_uint_16 *, double *) |
| template bool | convert_rgb_to_grey (const vil1_image &, void *, int, int, int, int, float *, double *) |
| template bool | convert_rgb_to_grey (const vil1_image &, void *, int, int, int, int, double *, double *) |
| template bool | convert_grey_to_rgb (const vil1_image &, void *, int, int, int, int, vxl_byte *, unsigned char *) |
| template bool | convert_grey_to_rgb (const vil1_image &, void *, int, int, int, int, vxl_uint_16 *, unsigned char *) |
| template bool | convert_grey_to_rgb (const vil1_image &, void *, int, int, int, int, vxl_uint_32 *, unsigned char *) |
| template bool | convert_grey_to_rgb (const vil1_image &, void *, int, int, int, int, float *, unsigned char *) |
| template bool | convert_grey_to_rgb (const vil1_image &, void *, int, int, int, int, double *, unsigned char *) |
| template bool | convert_rgb_to_rgb (const vil1_image &, void *, int, int, int, int, vxl_uint_16 *, unsigned char *) |
| template bool | convert_rgb_to_rgb (const vil1_image &, void *, int, int, int, int, float *, unsigned char *) |
| template bool | convert_rgb_to_rgb (const vil1_image &, void *, int, int, int, int, double *, unsigned char *) |
| template bool | convert_rgba_to_rgb (const vil1_image &, void *, int, int, int, int, vxl_byte *, unsigned char *) |
| template bool | convert_grey_to_rgb (const vil1_image &, void *, int, int, int, int, vxl_byte *, vxl_uint_16 *) |
| template bool | convert_grey_to_rgb (const vil1_image &, void *, int, int, int, int, vxl_uint_16 *, vxl_uint_16 *) |
| template bool | convert_grey_to_rgb (const vil1_image &, void *, int, int, int, int, vxl_uint_32 *, vxl_uint_16 *) |
| template bool | convert_grey_to_rgb (const vil1_image &, void *, int, int, int, int, float *, vxl_uint_16 *) |
| template bool | convert_grey_to_rgb (const vil1_image &, void *, int, int, int, int, double *, vxl_uint_16 *) |
| template bool | convert_rgb_to_rgb (const vil1_image &, void *, int, int, int, int, vxl_byte *, vxl_uint_16 *) |
| template bool | convert_rgb_to_rgb (const vil1_image &, void *, int, int, int, int, float *, vxl_uint_16 *) |
| template bool | convert_rgb_to_rgb (const vil1_image &, void *, int, int, int, int, double *, vxl_uint_16 *) |
| template bool | convert_rgba_to_rgb (const vil1_image &, void *, int, int, int, int, vxl_byte *, vxl_uint_16 *) |
| template bool | convert_grey_to_rgb (const vil1_image &, void *, int, int, int, int, vxl_byte *, float *) |
| template bool | convert_grey_to_rgb (const vil1_image &, void *, int, int, int, int, vxl_uint_16 *, float *) |
| template bool | convert_grey_to_rgb (const vil1_image &, void *, int, int, int, int, vxl_uint_32 *, float *) |
| template bool | convert_grey_to_rgb (const vil1_image &, void *, int, int, int, int, float *, float *) |
| template bool | convert_grey_to_rgb (const vil1_image &, void *, int, int, int, int, double *, float *) |
| template bool | convert_rgb_to_rgb (const vil1_image &, void *, int, int, int, int, vxl_byte *, float *) |
| template bool | convert_rgb_to_rgb (const vil1_image &, void *, int, int, int, int, vxl_uint_16 *, float *) |
| template bool | convert_rgb_to_rgb (const vil1_image &, void *, int, int, int, int, double *, float *) |
| template bool | convert_rgba_to_rgb (const vil1_image &, void *, int, int, int, int, vxl_byte *, float *) |
| vil1_image | vil1_image_as_byte (vil1_image const &image) |
| Converts to a greyscale image with byte (8bit unsigned) pixels. | |
| VCL_DEFINE_SPECIALIZATION vil1_image | vil1_image_as (vil1_image const &image, vxl_byte *) |
| vil1_image | vil1_image_as_uint16 (vil1_image const &image) |
| Converts to a greyscale image with 16bit unsigned pixels. | |
| VCL_DEFINE_SPECIALIZATION vil1_image | vil1_image_as (vil1_image const &image, vxl_uint_16 *) |
| vil1_image | vil1_image_as_int (vil1_image const &image) |
| Converts to a greyscale image with integer (32bit) pixels. | |
| VCL_DEFINE_SPECIALIZATION vil1_image | vil1_image_as (vil1_image const &image, int *) |
| vil1_image | vil1_image_as_float (vil1_image const &image) |
| Converts to a grayscale image with float pixels. | |
| VCL_DEFINE_SPECIALIZATION vil1_image | vil1_image_as (vil1_image const &image, float *) |
| vil1_image | vil1_image_as_double (vil1_image const &image) |
| Converts to a greyscale image with integer double pixels. | |
| VCL_DEFINE_SPECIALIZATION vil1_image | vil1_image_as (vil1_image const &image, double *) |
| vil1_image | vil1_image_as_rgb_byte (vil1_image const &image) |
| Converts to a rgb image with 8 bits per component. | |
| VCL_DEFINE_SPECIALIZATION vil1_image | vil1_image_as (vil1_image const &image, vil1_rgb< vxl_byte > *) |
| vil1_image | vil1_image_as_rgb_float (vil1_image const &image) |
| Converts to a rgb image with float components. | |
| VCL_DEFINE_SPECIALIZATION vil1_image | vil1_image_as (vil1_image const &image, vil1_rgb< float > *) |
| vil1_image | vil1_image_as_rgb_uint16 (vil1_image const &image) |
| Converts to a rgb image with 16 bits per component. | |
| VCL_DEFINE_SPECIALIZATION vil1_image | vil1_image_as (vil1_image const &image, vil1_rgb< vxl_uint_16 > *) |
| template bool convert_grey_to_grey | ( | const vil1_image & | , | |
| void * | , | |||
| int | , | |||
| int | , | |||
| int | , | |||
| int | , | |||
| float * | , | |||
| double * | ||||
| ) |
| template bool convert_grey_to_grey | ( | const vil1_image & | , | |
| void * | , | |||
| int | , | |||
| int | , | |||
| int | , | |||
| int | , | |||
| vxl_uint_32 * | , | |||
| double * | ||||
| ) |
| template bool convert_grey_to_grey | ( | const vil1_image & | , | |
| void * | , | |||
| int | , | |||
| int | , | |||
| int | , | |||
| int | , | |||
| vxl_uint_16 * | , | |||
| double * | ||||
| ) |
| template bool convert_grey_to_grey | ( | const vil1_image & | , | |
| void * | , | |||
| int | , | |||
| int | , | |||
| int | , | |||
| int | , | |||
| vxl_byte * | , | |||
| double * | ||||
| ) |
| template bool convert_grey_to_grey | ( | const vil1_image & | , | |
| void * | , | |||
| int | , | |||
| int | , | |||
| int | , | |||
| int | , | |||
| double * | , | |||
| float * | ||||
| ) |
| template bool convert_grey_to_grey | ( | const vil1_image & | , | |
| void * | , | |||
| int | , | |||
| int | , | |||
| int | , | |||
| int | , | |||
| vxl_uint_32 * | , | |||
| float * | ||||
| ) |
| template bool convert_grey_to_grey | ( | const vil1_image & | , | |
| void * | , | |||
| int | , | |||
| int | , | |||
| int | , | |||
| int | , | |||
| vxl_uint_16 * | , | |||
| float * | ||||
| ) |
| template bool convert_grey_to_grey | ( | const vil1_image & | , | |
| void * | , | |||
| int | , | |||
| int | , | |||
| int | , | |||
| int | , | |||
| vxl_byte * | , | |||
| float * | ||||
| ) |
| template bool convert_grey_to_grey | ( | const vil1_image & | , | |
| void * | , | |||
| int | , | |||
| int | , | |||
| int | , | |||
| int | , | |||
| double * | , | |||
| int * | ||||
| ) |
| template bool convert_grey_to_grey | ( | const vil1_image & | , | |
| void * | , | |||
| int | , | |||
| int | , | |||
| int | , | |||
| int | , | |||
| float * | , | |||
| int * | ||||
| ) |
| template bool convert_grey_to_grey | ( | const vil1_image & | , | |
| void * | , | |||
| int | , | |||
| int | , | |||
| int | , | |||
| int | , | |||
| vxl_uint_16 * | , | |||
| int * | ||||
| ) |
| template bool convert_grey_to_grey | ( | const vil1_image & | , | |
| void * | , | |||
| int | , | |||
| int | , | |||
| int | , | |||
| int | , | |||
| vxl_byte * | , | |||
| int * | ||||
| ) |
| template bool convert_grey_to_grey | ( | const vil1_image & | , | |
| void * | , | |||
| int | , | |||
| int | , | |||
| int | , | |||
| int | , | |||
| double * | , | |||
| vxl_uint_16 * | ||||
| ) |
| template bool convert_grey_to_grey | ( | const vil1_image & | , | |
| void * | , | |||
| int | , | |||
| int | , | |||
| int | , | |||
| int | , | |||
| float * | , | |||
| vxl_uint_16 * | ||||
| ) |
| template bool convert_grey_to_grey | ( | const vil1_image & | , | |
| void * | , | |||
| int | , | |||
| int | , | |||
| int | , | |||
| int | , | |||
| vxl_uint_32 * | , | |||
| vxl_uint_16 * | ||||
| ) |
| template bool convert_grey_to_grey | ( | const vil1_image & | , | |
| void * | , | |||
| int | , | |||
| int | , | |||
| int | , | |||
| int | , | |||
| vxl_byte * | , | |||
| vxl_uint_16 * | ||||
| ) |
| template bool convert_grey_to_grey | ( | const vil1_image & | , | |
| void * | , | |||
| int | , | |||
| int | , | |||
| int | , | |||
| int | , | |||
| double * | , | |||
| vxl_byte * | ||||
| ) |
| template bool convert_grey_to_grey | ( | const vil1_image & | , | |
| void * | , | |||
| int | , | |||
| int | , | |||
| int | , | |||
| int | , | |||
| float * | , | |||
| vxl_byte * | ||||
| ) |
| template bool convert_grey_to_grey | ( | const vil1_image & | , | |
| void * | , | |||
| int | , | |||
| int | , | |||
| int | , | |||
| int | , | |||
| vxl_uint_32 * | , | |||
| vxl_byte * | ||||
| ) |
| template bool convert_grey_to_grey | ( | const vil1_image & | , | |
| void * | , | |||
| int | , | |||
| int | , | |||
| int | , | |||
| int | , | |||
| vxl_uint_16 * | , | |||
| vxl_byte * | ||||
| ) |
| bool convert_grey_to_grey | ( | const vil1_image & | image, | |
| void * | buf, | |||
| int | x0, | |||
| int | y0, | |||
| int | width, | |||
| int | height, | |||
| Inp * | , | |||
| Out * | ||||
| ) |
Definition at line 58 of file vil1_image_as.cxx.
| template bool convert_grey_to_rgb | ( | const vil1_image & | , | |
| void * | , | |||
| int | , | |||
| int | , | |||
| int | , | |||
| int | , | |||
| double * | , | |||
| float * | ||||
| ) |
| template bool convert_grey_to_rgb | ( | const vil1_image & | , | |
| void * | , | |||
| int | , | |||
| int | , | |||
| int | , | |||
| int | , | |||
| float * | , | |||
| float * | ||||
| ) |
| template bool convert_grey_to_rgb | ( | const vil1_image & | , | |
| void * | , | |||
| int | , | |||
| int | , | |||
| int | , | |||
| int | , | |||
| vxl_uint_32 * | , | |||
| float * | ||||
| ) |
| template bool convert_grey_to_rgb | ( | const vil1_image & | , | |
| void * | , | |||
| int | , | |||
| int | , | |||
| int | , | |||
| int | , | |||
| vxl_uint_16 * | , | |||
| float * | ||||
| ) |
| template bool convert_grey_to_rgb | ( | const vil1_image & | , | |
| void * | , | |||
| int | , | |||
| int | , | |||
| int | , | |||
| int | , | |||
| vxl_byte * | , | |||
| float * | ||||
| ) |
| template bool convert_grey_to_rgb | ( | const vil1_image & | , | |
| void * | , | |||
| int | , | |||
| int | , | |||
| int | , | |||
| int | , | |||
| double * | , | |||
| vxl_uint_16 * | ||||
| ) |
| template bool convert_grey_to_rgb | ( | const vil1_image & | , | |
| void * | , | |||
| int | , | |||
| int | , | |||
| int | , | |||
| int | , | |||
| float * | , | |||
| vxl_uint_16 * | ||||
| ) |
| template bool convert_grey_to_rgb | ( | const vil1_image & | , | |
| void * | , | |||
| int | , | |||
| int | , | |||
| int | , | |||
| int | , | |||
| vxl_uint_32 * | , | |||
| vxl_uint_16 * | ||||
| ) |
| template bool convert_grey_to_rgb | ( | const vil1_image & | , | |
| void * | , | |||
| int | , | |||
| int | , | |||
| int | , | |||
| int | , | |||
| vxl_uint_16 * | , | |||
| vxl_uint_16 * | ||||
| ) |
| template bool convert_grey_to_rgb | ( | const vil1_image & | , | |
| void * | , | |||
| int | , | |||
| int | , | |||
| int | , | |||
| int | , | |||
| vxl_byte * | , | |||
| vxl_uint_16 * | ||||
| ) |
| template bool convert_grey_to_rgb | ( | const vil1_image & | , | |
| void * | , | |||
| int | , | |||
| int | , | |||
| int | , | |||
| int | , | |||
| double * | , | |||
| unsigned char * | ||||
| ) |
| template bool convert_grey_to_rgb | ( | const vil1_image & | , | |
| void * | , | |||
| int | , | |||
| int | , | |||
| int | , | |||
| int | , | |||
| float * | , | |||
| unsigned char * | ||||
| ) |
| template bool convert_grey_to_rgb | ( | const vil1_image & | , | |
| void * | , | |||
| int | , | |||
| int | , | |||
| int | , | |||
| int | , | |||
| vxl_uint_32 * | , | |||
| unsigned char * | ||||
| ) |
| template bool convert_grey_to_rgb | ( | const vil1_image & | , | |
| void * | , | |||
| int | , | |||
| int | , | |||
| int | , | |||
| int | , | |||
| vxl_uint_16 * | , | |||
| unsigned char * | ||||
| ) |
| template bool convert_grey_to_rgb | ( | const vil1_image & | , | |
| void * | , | |||
| int | , | |||
| int | , | |||
| int | , | |||
| int | , | |||
| vxl_byte * | , | |||
| unsigned char * | ||||
| ) |
| bool convert_grey_to_rgb | ( | const vil1_image & | image, | |
| void * | buf, | |||
| int | x0, | |||
| int | y0, | |||
| int | width, | |||
| int | height, | |||
| Inp * | , | |||
| Out * | ||||
| ) |
Definition at line 95 of file vil1_image_as.cxx.
| template bool convert_rgb_to_grey | ( | const vil1_image & | , | |
| void * | , | |||
| int | , | |||
| int | , | |||
| int | , | |||
| int | , | |||
| double * | , | |||
| double * | ||||
| ) |
| template bool convert_rgb_to_grey | ( | const vil1_image & | , | |
| void * | , | |||
| int | , | |||
| int | , | |||
| int | , | |||
| int | , | |||
| float * | , | |||
| double * | ||||
| ) |
| template bool convert_rgb_to_grey | ( | const vil1_image & | , | |
| void * | , | |||
| int | , | |||
| int | , | |||
| int | , | |||
| int | , | |||
| vxl_uint_16 * | , | |||
| double * | ||||
| ) |
| template bool convert_rgb_to_grey | ( | const vil1_image & | , | |
| void * | , | |||
| int | , | |||
| int | , | |||
| int | , | |||
| int | , | |||
| vxl_byte * | , | |||
| double * | ||||
| ) |
| template bool convert_rgb_to_grey | ( | const vil1_image & | , | |
| void * | , | |||
| int | , | |||
| int | , | |||
| int | , | |||
| int | , | |||
| double * | , | |||
| float * | ||||
| ) |
| template bool convert_rgb_to_grey | ( | const vil1_image & | , | |
| void * | , | |||
| int | , | |||
| int | , | |||
| int | , | |||
| int | , | |||
| float * | , | |||
| float * | ||||
| ) |
| template bool convert_rgb_to_grey | ( | const vil1_image & | , | |
| void * | , | |||
| int | , | |||
| int | , | |||
| int | , | |||
| int | , | |||
| vxl_uint_16 * | , | |||
| float * | ||||
| ) |
| template bool convert_rgb_to_grey | ( | const vil1_image & | , | |
| void * | , | |||
| int | , | |||
| int | , | |||
| int | , | |||
| int | , | |||
| vxl_byte * | , | |||
| float * | ||||
| ) |
| template bool convert_rgb_to_grey | ( | const vil1_image & | , |
| void * | , | ||
| int | , | ||
| int | , | ||
| int | , | ||
| int | , | ||
| double *&nbs |