ByteConvertImage Class Reference

#include <ByteConvertImage.h>

Inheritance diagram for ByteConvertImage:

vil1_memory_image_of< vxl_byte > vil1_memory_image vil1_image List of all members.

Detailed Description

Definition at line 17 of file ByteConvertImage.h.


Public Types

typedef vil1_memory_image_of<
vxl_byte > 
base
typedef vxl_byte pixel_type
typedef vxl_byte * iterator
typedef vxl_byteconst * const_iterator

Public Member Functions

 ByteConvertImage (vil1_memory_image_of< float > const &in, bool ignore_zero=false)
 ByteConvertImage (vil1_memory_image_of< float > const &in, float min, float max)
 ByteConvertImage (vil1_memory_image_of< double > const &in, bool ignore_zero=false)
 ByteConvertImage (vil1_memory_image_of< double > const &in, float min, float max)
void print (vcl_ostream &) const
iterator begin ()
const_iterator begin () const
iterator end ()
const_iterator end () const
unsigned size () const
void set (vil1_image const &image)
void resize (int width, int height)
vxl_byte & operator() (int x, int y)
vxl_byteconst & operator() (int x, int y) const
vxl_byte * operator[] (int y)
vxl_byteconst * operator[] (int y) const
vxl_byte *const * row_array ()
vxl_byteconst *const * row_array () const
vxl_byte * get_buffer ()
vxl_byteconst * get_buffer () const
bool in_range (int x, int y) const
bool in_range (int x, int y, unsigned w, unsigned h) const
bool in_range_window (int x, int y, int w) const
void fill (vxl_byteconst &)
int width () const
int height () const
void assert_size (int width, int height) const
void recache_from_impl ()
int planes () const
int components () const
int bits_per_component () const
enum vil1_component_format component_format () const
vil1_image get_plane (unsigned int p) const
bool get_section (void *buf, int x0, int y0, int wd, int ht) const
bool put_section (void const *buf, int x0, int y0, int wd, int ht)
bool get_property (char const *tag, void *property_value=0) const
bool set_property (char const *tag, void const *property_value=0)
char const * file_format () const
int rows () const
int cols () const
int get_size_bytes () const
bool operator== (vil1_image const &that) const
bool operator< (vil1_image const &that) const
 operator safe_bool () const
bool operator! () const
vil1_image_implimpl () const

Protected Attributes

int width_
int height_
void ** rows0_
vil1_image_implptr

Private Member Functions

void filter (vil1_memory_image_of< float > const &)
void filter (vil1_memory_image_of< double > const &)

Private Attributes

bool ignore_zero_
float min_
float max_

Member Typedef Documentation

typedef vil1_memory_image_of<vxl_byte> ByteConvertImage::base

Definition at line 25 of file ByteConvertImage.h.

typedef vxl_byte vil1_memory_image_of< vxl_byte >::pixel_type [inherited]

typedef vxl_byte * vil1_memory_image_of< vxl_byte >::iterator [inherited]

typedef vxl_byte const * vil1_memory_image_of< vxl_byte >::const_iterator [inherited]


Constructor & Destructor Documentation

ByteConvertImage::ByteConvertImage ( vil1_memory_image_of< float > const &  in,
bool  ignore_zero = false 
)

Definition at line 13 of file ByteConvertImage.cxx.

ByteConvertImage::ByteConvertImage ( vil1_memory_image_of< float > const &  in,
float  min,
float  max 
)

Definition at line 32 of file ByteConvertImage.cxx.

ByteConvertImage::ByteConvertImage ( vil1_memory_image_of< double > const &  in,
bool  ignore_zero = false 
)

Definition at line 42 of file ByteConvertImage.cxx.

ByteConvertImage::ByteConvertImage ( vil1_memory_image_of< double > const &  in,
float  min,
float  max 
)

Definition at line 61 of file ByteConvertImage.cxx.


Member Function Documentation

void ByteConvertImage::filter ( vil1_memory_image_of< float > const &   )  [private]

Definition at line 71 of file ByteConvertImage.cxx.

void ByteConvertImage::filter ( vil1_memory_image_of< double > const &   )  [private]

Definition at line 84 of file ByteConvertImage.cxx.

void ByteConvertImage::print ( vcl_ostream &   )  const

Reimplemented from vil1_memory_image_of< vxl_byte >.

Definition at line 98 of file ByteConvertImage.cxx.

iterator vil1_memory_image_of< vxl_byte >::begin (  )  [inherited]

const_iterator vil1_memory_image_of< vxl_byte >::begin (  )  const [inherited]

iterator vil1_memory_image_of< vxl_byte >::end (  )  [inherited]

const_iterator vil1_memory_image_of< vxl_byte >::end (  )  const [inherited]

unsigned vil1_memory_image_of< vxl_byte >::size (  )  const [inherited]

void vil1_memory_image_of< vxl_byte >::set ( vil1_image const &  image  )  [inherited]

void vil1_memory_image_of< vxl_byte >::resize ( int  width,
int  height 
) [inherited]

Reimplemented from vil1_memory_image.

vxl_byte & vil1_memory_image_of< vxl_byte >::operator() ( int  x,
int  y 
) [inherited]

vxl_byte const & vil1_memory_image_of< vxl_byte >::operator() ( int  x,
int  y 
) const [inherited]

vxl_byte * vil1_memory_image_of< vxl_byte >::operator[] ( int  y  )  [inherited]

vxl_byte const * vil1_memory_image_of< vxl_byte >::operator[] ( int  y  )  const [inherited]

vxl_byte *const * vil1_memory_image_of< vxl_byte >::row_array (  )  [inherited]

vxl_byte const *const * vil1_memory_image_of< vxl_byte >::row_array (  )  const [inherited]

vxl_byte * vil1_memory_image_of< vxl_byte >::get_buffer (  )  [inherited]

Reimplemented from vil1_memory_image.

vxl_byte const * vil1_memory_image_of< vxl_byte >::get_buffer (  )  const [inherited]

bool vil1_memory_image_of< vxl_byte >::in_range ( int  x,
int  y 
) const [inherited]

bool vil1_memory_image_of< vxl_byte >::in_range ( int  x,
int  y,
unsigned  w,
unsigned  h 
) const [inherited]

bool vil1_memory_image_of< vxl_byte >::in_range_window ( int  x,
int  y,
int  w 
) const [inherited]

void vil1_memory_image_of< vxl_byte >::fill ( vxl_byte const &   )  [inherited]

int vil1_memory_image_of< vxl_byte >::width (  )  const [inherited]

Reimplemented from vil1_memory_image.

int vil1_memory_image_of< vxl_byte >::height (  )  const [inherited]

Reimplemented from vil1_memory_image.

void vil1_memory_image_of< vxl_byte >::assert_size ( int  width,
int  height 
) const [inherited]

Reimplemented from vil1_memory_image.

void vil1_memory_image_of< vxl_byte >::recache_from_impl (  )  [inherited]

Reimplemented from vil1_memory_image.

int vil1_memory_image_of< vxl_byte >::planes (  )  const [inherited]

Reimplemented from vil1_memory_image.

int vil1_memory_image_of< vxl_byte >::components (  )  const [inherited]

Reimplemented from vil1_memory_image.

int vil1_memory_image_of< vxl_byte >::bits_per_component (  )  const [inherited]

Reimplemented from vil1_memory_image.

enum vil1_component_format vil1_memory_image_of< vxl_byte >::component_format (  )  const [inherited]

Reimplemented from vil1_memory_image.

vil1_image vil1_memory_image_of< vxl_byte >::get_plane ( unsigned int  p  )  const [inherited]

Reimplemented from vil1_memory_image.

bool vil1_memory_image_of< vxl_byte >::get_section ( void *  buf,
int  x0,
int  y0,
int  wd,
int  ht 
) const [inherited]

Reimplemented from vil1_memory_image.

bool vil1_memory_image_of< vxl_byte >::put_section ( void const *  buf,
int  x0,
int  y0,
int  wd,
int  ht 
) [inherited]

Reimplemented from vil1_memory_image.

bool vil1_memory_image_of< vxl_byte >::get_property ( char const *  tag,
void *  property_value = 0 
) const [inherited]

Reimplemented from vil1_memory_image.

bool vil1_memory_image_of< vxl_byte >::set_property ( char const *  tag,
void const *  property_value = 0 
) [inherited]

Reimplemented from vil1_memory_image.

char const * vil1_memory_image_of< vxl_byte >::file_format (  )  const [inherited]

Reimplemented from vil1_memory_image.

int vil1_memory_image_of< vxl_byte >::rows (  )  const [inherited]

Reimplemented from vil1_memory_image.

int vil1_memory_image_of< vxl_byte >::cols (  )  const [inherited]

Reimplemented from vil1_memory_image.

int vil1_memory_image_of< vxl_byte >::get_size_bytes (  )  const [inherited]

Reimplemented from vil1_memory_image.

bool vil1_memory_image_of< vxl_byte >::operator== ( vil1_image const &  that  )  const [inherited]

Reimplemented from vil1_memory_image.

bool vil1_memory_image_of< vxl_byte >::operator< ( vil1_image const &  that  )  const [inherited]

Reimplemented from vil1_memory_image.

vil1_memory_image_of< vxl_byte >::operator safe_bool (  )  const [inherited]

Reimplemented from vil1_memory_image.

bool vil1_memory_image_of< vxl_byte >::operator! (  )  const [inherited]

Reimplemented from vil1_memory_image.

vil1_image_impl * vil1_memory_image_of< vxl_byte >::impl (  )  const [inherited]

Reimplemented from vil1_memory_image.


Member Data Documentation

bool ByteConvertImage::ignore_zero_ [private]

Definition at line 19 of file ByteConvertImage.h.

float ByteConvertImage::min_ [private]

Definition at line 20 of file ByteConvertImage.h.

float ByteConvertImage::max_ [private]

Definition at line 21 of file ByteConvertImage.h.

int vil1_memory_image_of< vxl_byte >::width_ [protected, inherited]

Reimplemented from vil1_memory_image.

int vil1_memory_image_of< vxl_byte >::height_ [protected, inherited]

Reimplemented from vil1_memory_image.

void ** vil1_memory_image_of< vxl_byte >::rows0_ [protected, inherited]

Reimplemented from vil1_memory_image.

vil1_image_impl * vil1_memory_image_of< vxl_byte >::ptr [protected, inherited]

Reimplemented from vil1_memory_image.


The documentation for this class was generated from the following files:
Generated on Tue Dec 2 05:14:29 2008 for contrib/oxl/oxp by  doxygen 1.5.1