Main Page | Class Hierarchy | Alphabetical List | Class List | Directories | File List | Class Members | File Members

MedianReduceImage Struct Reference

#include <MedianReduceImage.h>

Inheritance diagram for MedianReduceImage:

Inheritance graph
[legend]
List of all members.

Detailed Description

Definition at line 23 of file MedianReduceImage.h.

Public Types

typedef unsigned char pixel_type
typedef unsigned char * iterator
typedef unsigned charconst * const_iterator

Public Member Functions

 MedianReduceImage (vil1_memory_image_of< unsigned char > const &in, int SCALE)
 Make an image which is a SCALE * SCALE subsampling of {in}, where each output pixel O(x,y) is the median of values in the SCALE * SCALE window with top left corner at I(x*SCALE, y*SCALE).
iterator begin ()
const_iterator begin () const
iterator end ()
const_iterator end () const
unsigned size () const
 vil1_memory_image_of ()
 vil1_memory_image_of (vil1_memory_image_of< unsigned char > const &)
 vil1_memory_image_of (vil1_image const &image)
 vil1_memory_image_of (int sizex, int sizey)
 vil1_memory_image_of (unsigned char *buf, int sizex, int sizey)
void set (vil1_image const &image)
void resize (int width, int height)
unsigned char & operator() (int x, int y)
unsigned charconst & operator() (int x, int y) const
unsigned char * operator[] (int y)
unsigned charconst * operator[] (int y) const
unsigned char *const * row_array ()
unsigned charconst *const * row_array () const
unsigned char * get_buffer ()
unsigned charconst * 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 (unsigned charconst &)
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
vcl_ostream & print (vcl_ostream &) 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


Member Typedef Documentation

typedef unsigned char const * vil1_memory_image_of< unsigned char >::const_iterator [inherited]
 

typedef unsigned char * vil1_memory_image_of< unsigned char >::iterator [inherited]
 

typedef unsigned char vil1_memory_image_of< unsigned char >::pixel_type [inherited]
 


Constructor & Destructor Documentation

MedianReduceImage::MedianReduceImage vil1_memory_image_of< unsigned char > const &  in,
int  SCALE
 

Make an image which is a SCALE * SCALE subsampling of {in}, where each output pixel O(x,y) is the median of values in the SCALE * SCALE window with top left corner at I(x*SCALE, y*SCALE).

Definition at line 19 of file MedianReduceImage.cxx.


Member Function Documentation

void vil1_memory_image_of< unsigned char >::assert_size int  width,
int  height
const [inherited]
 

Reimplemented from vil1_memory_image.

const_iterator vil1_memory_image_of< unsigned char >::begin  )  const [inherited]
 

iterator vil1_memory_image_of< unsigned char >::begin  )  [inherited]
 

int vil1_memory_image_of< unsigned char >::bits_per_component  )  const [inherited]
 

Reimplemented from vil1_memory_image.

int vil1_memory_image_of< unsigned char >::cols  )  const [inherited]
 

Reimplemented from vil1_memory_image.

enum vil1_component_format vil1_memory_image_of< unsigned char >::component_format  )  const [inherited]
 

Reimplemented from vil1_memory_image.

int vil1_memory_image_of< unsigned char >::components  )  const [inherited]
 

Reimplemented from vil1_memory_image.

const_iterator vil1_memory_image_of< unsigned char >::end  )  const [inherited]
 

iterator vil1_memory_image_of< unsigned char >::end  )  [inherited]
 

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

Reimplemented from vil1_memory_image.

void vil1_memory_image_of< unsigned char >::fill unsigned char const &   )  [inherited]
 

unsigned char const * vil1_memory_image_of< unsigned char >::get_buffer  )  const [inherited]
 

unsigned char * vil1_memory_image_of< unsigned char >::get_buffer  )  [inherited]
 

Reimplemented from vil1_memory_image.

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

Reimplemented from vil1_memory_image.

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

Reimplemented from vil1_memory_image.

bool vil1_memory_image_of< unsigned char >::get_section void *  buf,
int  x0,
int  y0,
int  wd,
int  ht
const [inherited]
 

Reimplemented from vil1_memory_image.

int vil1_memory_image_of< unsigned char >::get_size_bytes  )  const [inherited]
 

Reimplemented from vil1_memory_image.

int vil1_memory_image_of< unsigned char >::height  )  const [inherited]
 

Reimplemented from vil1_memory_image.

vil1_image_impl * vil1_memory_image_of< unsigned char >::impl  )  const [inherited]
 

Reimplemented from vil1_memory_image.

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

bool vil1_memory_image_of< unsigned char >::in_range int  x,
int  y
const [inherited]
 

bool vil1_memory_image_of< unsigned char >::in_range_window int  x,
int  y,
int  w
const [inherited]
 

vil1_memory_image_of< unsigned char >::operator safe_bool  )  const [inherited]
 

Reimplemented from vil1_memory_image.

bool vil1_memory_image_of< unsigned char >::operator!  )  const [inherited]
 

Reimplemented from vil1_memory_image.

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

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

bool vil1_memory_image_of< unsigned char >::operator< vil1_image const &  that  )  const [inherited]
 

Reimplemented from vil1_memory_image.

bool vil1_memory_image_of< unsigned char >::operator== vil1_image const &  that  )  const [inherited]
 

Reimplemented from vil1_memory_image.

unsigned char const * vil1_memory_image_of< unsigned char >::operator[] int  y  )  const [inherited]
 

unsigned char * vil1_memory_image_of< unsigned char >::operator[] int  y  )  [inherited]
 

int vil1_memory_image_of< unsigned char >::planes  )  const [inherited]
 

Reimplemented from vil1_memory_image.

vcl_ostream & vil1_memory_image_of< unsigned char >::print vcl_ostream &   )  const [inherited]
 

Reimplemented from vil1_memory_image.

bool vil1_memory_image_of< unsigned char >::put_section void const *  buf,
int  x0,
int  y0,
int  wd,
int  ht
[inherited]
 

Reimplemented from vil1_memory_image.

void vil1_memory_image_of< unsigned char >::recache_from_impl  )  [inherited]
 

Reimplemented from vil1_memory_image.

void vil1_memory_image_of< unsigned char >::resize int  width,
int  height
[inherited]
 

Reimplemented from vil1_memory_image.

unsigned char const *const * vil1_memory_image_of< unsigned char >::row_array  )  const [inherited]
 

unsigned char *const * vil1_memory_image_of< unsigned char >::row_array  )  [inherited]
 

int vil1_memory_image_of< unsigned char >::rows  )  const [inherited]
 

Reimplemented from vil1_memory_image.

void vil1_memory_image_of< unsigned char >::set vil1_image const &  image  )  [inherited]
 

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

Reimplemented from vil1_memory_image.

unsigned vil1_memory_image_of< unsigned char >::size  )  const [inherited]
 

vil1_memory_image_of< unsigned char >::vil1_memory_image_of unsigned char *  buf,
int  sizex,
int  sizey
[inherited]
 

vil1_memory_image_of< unsigned char >::vil1_memory_image_of int  sizex,
int  sizey
[inherited]
 

vil1_memory_image_of< unsigned char >::vil1_memory_image_of vil1_image const &  image  )  [inherited]
 

vil1_memory_image_of< unsigned char >::vil1_memory_image_of vil1_memory_image_of< unsigned char > const &   )  [inherited]
 

vil1_memory_image_of< unsigned char >::vil1_memory_image_of  )  [inherited]
 

int vil1_memory_image_of< unsigned char >::width  )  const [inherited]
 

Reimplemented from vil1_memory_image.


Member Data Documentation

int vil1_memory_image_of< unsigned char >::height_ [protected, inherited]
 

Reimplemented from vil1_memory_image.

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

Reimplemented from vil1_memory_image.

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

Reimplemented from vil1_memory_image.

int vil1_memory_image_of< unsigned char >::width_ [protected, inherited]
 

Reimplemented from vil1_memory_image.


The documentation for this struct was generated from the following files:
Generated on Thu Jan 10 14:46:07 2008 for contrib/oxl/oxp by  doxygen 1.4.4