core/vil1/vil1_pixel.h File Reference


Detailed Description

Convenient descriptions of format combinations.

Author:
awf@robots.ox.ac.uk

Definition in file vil1_pixel.h.

Go to the source code of this file.


Enumerations

enum  vil1_pixel_format_t {
  VIL1_PIXEL_FORMAT_UNKNOWN, VIL1_BYTE, VIL1_RGB_BYTE, VIL1_RGBA_BYTE,
  VIL1_RGB_UINT16, VIL1_RGB_FLOAT, VIL1_RGB_DOUBLE, VIL1_UINT16,
  VIL1_UINT32, VIL1_FLOAT, VIL1_DOUBLE, VIL1_COMPLEX
}
 Common combinations of component format, bits, planes and components. More...

Functions

const char * vil1_print (vil1_pixel_format_t f)
vil1_pixel_format_t vil1_pixel_format (vil1_image const &)
 Returns one of the `vil1_pixel_format's.

Enumeration Type Documentation

enum vil1_pixel_format_t

Common combinations of component format, bits, planes and components.

Enumerator:
VIL1_PIXEL_FORMAT_UNKNOWN 
VIL1_BYTE  1 x W x H x 1 of UINT x 8
VIL1_RGB_BYTE  1 x W x H x 3 of UINT x 8
VIL1_RGBA_BYTE  1 x W x H x 4 of UINT x 8
VIL1_RGB_UINT16  1 x W x H x 3 of UINT x 16
VIL1_RGB_FLOAT  1 x W x H x 3 of IEEE_FLOAT x 32
VIL1_RGB_DOUBLE  1 x W x H x 3 of IEEE_DOUBLE x 64
VIL1_UINT16  1 x W x H x 1 of UINT x 16
VIL1_UINT32  1 x W x H x 1 of UINT x 32
VIL1_FLOAT  1 x W x H x 1 of IEEE_FLOAT x 32
VIL1_DOUBLE  1 x W x H x 1 of IEEE_DOUBLE x 64
VIL1_COMPLEX  1 x W x H x 1 of COMPLEX x 64

Definition at line 15 of file vil1_pixel.h.


Function Documentation

vil1_pixel_format_t vil1_pixel_format ( vil1_image const &   ) 

Returns one of the `vil1_pixel_format's.

A standard RGB RGB RGB image has pixel_type() == VIL1_RGB_BYTE

Definition at line 12 of file vil1_pixel.cxx.

const char* vil1_print ( vil1_pixel_format_t  f  )  [inline]

Definition at line 32 of file vil1_pixel.h.


Generated on Sat Nov 22 05:08:30 2008 for core/vil1 by  doxygen 1.5.1