Defines | Functions
core/vil/vil_print.cxx File Reference

Various functions for manipulating image views. More...

#include "vil_print.h"
#include <vxl_config.h>
#include <vcl_complex.h>
#include <vil/vil_rgb.h>
#include <vil/vil_rgba.h>

Go to the source code of this file.

Defines

#define docase(T)

Functions

VCL_DEFINE_SPECIALIZATION void vil_print_value (vcl_ostream &os, const bool &value, unsigned)
 Explicit overload for bool.
VCL_DEFINE_SPECIALIZATION void vil_print_value (vcl_ostream &os, const vxl_byte &value, unsigned)
 Explicit overload for byte.
VCL_DEFINE_SPECIALIZATION void vil_print_value (vcl_ostream &os, const vxl_sbyte &value, unsigned)
 Explicit overload for signed byte.
VCL_DEFINE_SPECIALIZATION void vil_print_value (vcl_ostream &os, const vxl_int_16 &value, unsigned width)
 Explicit overload for short.
VCL_DEFINE_SPECIALIZATION void vil_print_value (vcl_ostream &os, const vxl_uint_16 &value, unsigned width)
 Explicit overload for unsigned short.
VCL_DEFINE_SPECIALIZATION void vil_print_value (vcl_ostream &os, const vxl_int_32 &value, unsigned width)
 Explicit overload for int.
VCL_DEFINE_SPECIALIZATION void vil_print_value (vcl_ostream &os, const vxl_uint_32 &value, unsigned width)
 Explicit overload for unsigned int.
VCL_DEFINE_SPECIALIZATION void vil_print_value (vcl_ostream &os, const float &value, unsigned)
 Explicit overload for float.
VCL_DEFINE_SPECIALIZATION void vil_print_value (vcl_ostream &os, const double &value, unsigned)
 Explicit overload for double.
VCL_DEFINE_SPECIALIZATION void vil_print_value (vcl_ostream &os, const vcl_complex< float > &value, unsigned)
 Explicit overload for complex float.
VCL_DEFINE_SPECIALIZATION void vil_print_value (vcl_ostream &os, const vcl_complex< double > &value, unsigned)
 Explicit overload for complex double.
VCL_DEFINE_SPECIALIZATION void vil_print_value (vcl_ostream &os, const vil_rgb< vxl_byte > &value, unsigned)
 Explicit overload of print for rgb<byte>.
VCL_DEFINE_SPECIALIZATION void vil_print_value (vcl_ostream &os, vil_rgb< vxl_sbyte > const &value, unsigned)
 Explicit overload of print for rgb<sbyte>.
VCL_DEFINE_SPECIALIZATION void vil_print_value (vcl_ostream &os, const vil_rgb< vxl_int_16 > &value, unsigned width)
 Explicit overload of print for rgb<short>.
VCL_DEFINE_SPECIALIZATION void vil_print_value (vcl_ostream &os, const vil_rgb< vxl_uint_16 > &value, unsigned width)
 Explicit overload of print for rgb<unsigned short>.
VCL_DEFINE_SPECIALIZATION void vil_print_value (vcl_ostream &os, const vil_rgb< vxl_int_32 > &value, unsigned width)
 Explicit overload of print for rgb<int>.
VCL_DEFINE_SPECIALIZATION void vil_print_value (vcl_ostream &os, const vil_rgb< vxl_uint_32 > &value, unsigned width)
 Explicit overload of print for rgb<unsigned int>.
VCL_DEFINE_SPECIALIZATION void vil_print_value (vcl_ostream &os, const vil_rgb< float > &value, unsigned)
 Explicit overload of print for rgb<float>.
VCL_DEFINE_SPECIALIZATION void vil_print_value (vcl_ostream &os, const vil_rgb< double > &value, unsigned)
 Explicit overload of print for rgb<double>.
VCL_DEFINE_SPECIALIZATION void vil_print_value (vcl_ostream &os, const vil_rgba< vxl_byte > &value, unsigned)
 Explicit overload of print for rgba<byte>.
VCL_DEFINE_SPECIALIZATION void vil_print_value (vcl_ostream &os, const vil_rgba< vxl_sbyte > &value, unsigned)
 Explicit overload of print for rgba<sbyte>.
VCL_DEFINE_SPECIALIZATION void vil_print_value (vcl_ostream &os, const vil_rgba< vxl_int_16 > &value, unsigned width)
 Explicit overload of print for rgba<short>.
VCL_DEFINE_SPECIALIZATION void vil_print_value (vcl_ostream &os, const vil_rgba< vxl_uint_16 > &value, unsigned width)
 Explicit overload of print for rgba<unsigned short>.
VCL_DEFINE_SPECIALIZATION void vil_print_value (vcl_ostream &os, const vil_rgba< vxl_int_32 > &value, unsigned width)
 Explicit overload of print for rgba<int>.
VCL_DEFINE_SPECIALIZATION void vil_print_value (vcl_ostream &os, const vil_rgba< vxl_uint_32 > &value, unsigned width)
 Explicit overload of print for rgba<unsigned int>.
VCL_DEFINE_SPECIALIZATION void vil_print_value (vcl_ostream &os, const vil_rgba< float > &value, unsigned)
 Explicit overload of print for rgba<float>.
VCL_DEFINE_SPECIALIZATION void vil_print_value (vcl_ostream &os, const vil_rgba< double > &value, unsigned)
 Explicit overload of print for rgba<double>.
void vil_print_all (vcl_ostream &os, vil_image_view_base_sptr const &view)
 Print all image data to os in a grid.

Detailed Description

Various functions for manipulating image views.

Author:
Tim Cootes - Manchester
    Modifications
     23 Oct.2003 - Peter Vanroose - Added support for 64-bit int pixels
   

Definition in file vil_print.cxx.


Define Documentation

#define docase (   T)
Value:
case T: \
     vil_print_all(os, static_cast<vil_image_view< vil_pixel_format_type_of<T >::type > >(view) );\
     break

Function Documentation

void vil_print_all ( vcl_ostream &  os,
vil_image_view_base_sptr const &  view 
)

Print all image data to os in a grid.

Definition at line 439 of file vil_print.cxx.

VCL_DEFINE_SPECIALIZATION void vil_print_value ( vcl_ostream &  os,
const bool &  value,
unsigned   
)

Explicit overload for bool.

Definition at line 20 of file vil_print.cxx.

VCL_DEFINE_SPECIALIZATION void vil_print_value ( vcl_ostream &  os,
const vxl_byte &  value,
unsigned   
)

Explicit overload for byte.

Definition at line 27 of file vil_print.cxx.

VCL_DEFINE_SPECIALIZATION void vil_print_value ( vcl_ostream &  os,
const vxl_sbyte &  value,
unsigned   
)

Explicit overload for signed byte.

Definition at line 35 of file vil_print.cxx.

VCL_DEFINE_SPECIALIZATION void vil_print_value ( vcl_ostream &  os,
const vxl_int_16 &  value,
unsigned  width 
)

Explicit overload for short.

Definition at line 43 of file vil_print.cxx.

VCL_DEFINE_SPECIALIZATION void vil_print_value ( vcl_ostream &  os,
const vxl_uint_16 &  value,
unsigned  width 
)

Explicit overload for unsigned short.

Definition at line 57 of file vil_print.cxx.

VCL_DEFINE_SPECIALIZATION void vil_print_value ( vcl_ostream &  os,
const vxl_int_32 &  value,
unsigned  width 
)

Explicit overload for int.

Definition at line 69 of file vil_print.cxx.

VCL_DEFINE_SPECIALIZATION void vil_print_value ( vcl_ostream &  os,
const vxl_uint_32 &  value,
unsigned  width 
)

Explicit overload for unsigned int.

Definition at line 86 of file vil_print.cxx.

VCL_DEFINE_SPECIALIZATION void vil_print_value ( vcl_ostream &  os,
const float &  value,
unsigned   
)

Explicit overload for float.

Definition at line 145 of file vil_print.cxx.

VCL_DEFINE_SPECIALIZATION void vil_print_value ( vcl_ostream &  os,
const double &  value,
unsigned   
)

Explicit overload for double.

Definition at line 152 of file vil_print.cxx.

VCL_DEFINE_SPECIALIZATION void vil_print_value ( vcl_ostream &  os,
const vcl_complex< float > &  value,
unsigned   
)

Explicit overload for complex float.

Definition at line 159 of file vil_print.cxx.

VCL_DEFINE_SPECIALIZATION void vil_print_value ( vcl_ostream &  os,
const vcl_complex< double > &  value,
unsigned   
)

Explicit overload for complex double.

Definition at line 166 of file vil_print.cxx.

VCL_DEFINE_SPECIALIZATION void vil_print_value ( vcl_ostream &  os,
const vil_rgb< vxl_byte > &  value,
unsigned   
)

Explicit overload of print for rgb<byte>.

Definition at line 173 of file vil_print.cxx.

VCL_DEFINE_SPECIALIZATION void vil_print_value ( vcl_ostream &  os,
vil_rgb< vxl_sbyte > const &  value,
unsigned   
)

Explicit overload of print for rgb<sbyte>.

Definition at line 191 of file vil_print.cxx.

VCL_DEFINE_SPECIALIZATION void vil_print_value ( vcl_ostream &  os,
const vil_rgb< vxl_int_16 > &  value,
unsigned  width 
)

Explicit overload of print for rgb<short>.

Definition at line 212 of file vil_print.cxx.

VCL_DEFINE_SPECIALIZATION void vil_print_value ( vcl_ostream &  os,
const vil_rgb< vxl_uint_16 > &  value,
unsigned  width 
)

Explicit overload of print for rgb<unsigned short>.

Definition at line 223 of file vil_print.cxx.

VCL_DEFINE_SPECIALIZATION void vil_print_value ( vcl_ostream &  os,
const vil_rgb< vxl_int_32 > &  value,
unsigned  width 
)

Explicit overload of print for rgb<int>.

Definition at line 234 of file vil_print.cxx.

VCL_DEFINE_SPECIALIZATION void vil_print_value ( vcl_ostream &  os,
const vil_rgb< vxl_uint_32 > &  value,
unsigned  width 
)

Explicit overload of print for rgb<unsigned int>.

Definition at line 245 of file vil_print.cxx.

VCL_DEFINE_SPECIALIZATION void vil_print_value ( vcl_ostream &  os,
const vil_rgb< float > &  value,
unsigned   
)

Explicit overload of print for rgb<float>.

Definition at line 282 of file vil_print.cxx.

VCL_DEFINE_SPECIALIZATION void vil_print_value ( vcl_ostream &  os,
const vil_rgb< double > &  value,
unsigned   
)

Explicit overload of print for rgb<double>.

Definition at line 290 of file vil_print.cxx.

VCL_DEFINE_SPECIALIZATION void vil_print_value ( vcl_ostream &  os,
const vil_rgba< vxl_byte > &  value,
unsigned   
)

Explicit overload of print for rgba<byte>.

Definition at line 297 of file vil_print.cxx.

VCL_DEFINE_SPECIALIZATION void vil_print_value ( vcl_ostream &  os,
const vil_rgba< vxl_sbyte > &  value,
unsigned   
)

Explicit overload of print for rgba<sbyte>.

Definition at line 319 of file vil_print.cxx.

VCL_DEFINE_SPECIALIZATION void vil_print_value ( vcl_ostream &  os,
const vil_rgba< vxl_int_16 > &  value,
unsigned  width 
)

Explicit overload of print for rgba<short>.

Definition at line 345 of file vil_print.cxx.

VCL_DEFINE_SPECIALIZATION void vil_print_value ( vcl_ostream &  os,
const vil_rgba< vxl_uint_16 > &  value,
unsigned  width 
)

Explicit overload of print for rgba<unsigned short>.

Definition at line 358 of file vil_print.cxx.

VCL_DEFINE_SPECIALIZATION void vil_print_value ( vcl_ostream &  os,
const vil_rgba< vxl_int_32 > &  value,
unsigned  width 
)

Explicit overload of print for rgba<int>.

Definition at line 371 of file vil_print.cxx.

VCL_DEFINE_SPECIALIZATION void vil_print_value ( vcl_ostream &  os,
const vil_rgba< vxl_uint_32 > &  value,
unsigned  width 
)

Explicit overload of print for rgba<unsigned int>.

Definition at line 384 of file vil_print.cxx.

VCL_DEFINE_SPECIALIZATION void vil_print_value ( vcl_ostream &  os,
const vil_rgba< float > &  value,
unsigned   
)

Explicit overload of print for rgba<float>.

Definition at line 427 of file vil_print.cxx.

VCL_DEFINE_SPECIALIZATION void vil_print_value ( vcl_ostream &  os,
const vil_rgba< double > &  value,
unsigned   
)

Explicit overload of print for rgba<double>.

Definition at line 434 of file vil_print.cxx.