Various functions for manipulating image views. More...
#include <complex>#include "vil_print.h"#include <vxl_config.h>#include <vil/vil_rgb.h>#include <vil/vil_rgba.h>Go to the source code of this file.
Macros | |
| #define | docase(T) |
Functions | |
| template<> | |
| void | vil_print_value (std::ostream &os, const bool &value, unsigned) |
| Explicit overload for bool. More... | |
| template<> | |
| void | vil_print_value (std::ostream &os, const vxl_byte &value, unsigned) |
| Explicit overload for byte. More... | |
| template<> | |
| void | vil_print_value (std::ostream &os, const vxl_sbyte &value, unsigned) |
| Explicit overload for signed byte. More... | |
| template<> | |
| void | vil_print_value (std::ostream &os, const vxl_int_16 &value, unsigned width) |
| Explicit overload for short. More... | |
| template<> | |
| void | vil_print_value (std::ostream &os, const vxl_uint_16 &value, unsigned width) |
| Explicit overload for unsigned short. More... | |
| template<> | |
| void | vil_print_value (std::ostream &os, const vxl_int_32 &value, unsigned width) |
| Explicit overload for int. More... | |
| template<> | |
| void | vil_print_value (std::ostream &os, const vxl_uint_32 &value, unsigned width) |
| Explicit overload for unsigned int. More... | |
| template<> | |
| void | vil_print_value (std::ostream &os, const float &value, unsigned) |
| Explicit overload for float. More... | |
| template<> | |
| void | vil_print_value (std::ostream &os, const double &value, unsigned) |
| Explicit overload for double. More... | |
| template<> | |
| void | vil_print_value (std::ostream &os, const std::complex< float > &value, unsigned) |
| Explicit overload for complex float. More... | |
| template<> | |
| void | vil_print_value (std::ostream &os, const std::complex< double > &value, unsigned) |
| Explicit overload for complex double. More... | |
| template<> | |
| void | vil_print_value (std::ostream &os, const vil_rgb< vxl_byte > &value, unsigned) |
| Explicit overload of print for rgb<byte>. More... | |
| template<> | |
| void | vil_print_value (std::ostream &os, vil_rgb< vxl_sbyte > const &value, unsigned) |
| Explicit overload of print for rgb<sbyte>. More... | |
| template<> | |
| void | vil_print_value (std::ostream &os, const vil_rgb< vxl_int_16 > &value, unsigned width) |
| Explicit overload of print for rgb<short>. More... | |
| template<> | |
| void | vil_print_value (std::ostream &os, const vil_rgb< vxl_uint_16 > &value, unsigned width) |
| Explicit overload of print for rgb<unsigned short>. More... | |
| template<> | |
| void | vil_print_value (std::ostream &os, const vil_rgb< vxl_int_32 > &value, unsigned width) |
| Explicit overload of print for rgb<int>. More... | |
| template<> | |
| void | vil_print_value (std::ostream &os, const vil_rgb< vxl_uint_32 > &value, unsigned width) |
| Explicit overload of print for rgb<unsigned int>. More... | |
| template<> | |
| void | vil_print_value (std::ostream &os, const vil_rgb< float > &value, unsigned) |
| Explicit overload of print for rgb<float>. More... | |
| template<> | |
| void | vil_print_value (std::ostream &os, const vil_rgb< double > &value, unsigned) |
| Explicit overload of print for rgb<double>. More... | |
| template<> | |
| void | vil_print_value (std::ostream &os, const vil_rgba< vxl_byte > &value, unsigned) |
| Explicit overload of print for rgba<byte>. More... | |
| template<> | |
| void | vil_print_value (std::ostream &os, const vil_rgba< vxl_sbyte > &value, unsigned) |
| Explicit overload of print for rgba<sbyte>. More... | |
| template<> | |
| void | vil_print_value (std::ostream &os, const vil_rgba< vxl_int_16 > &value, unsigned width) |
| Explicit overload of print for rgba<short>. More... | |
| template<> | |
| void | vil_print_value (std::ostream &os, const vil_rgba< vxl_uint_16 > &value, unsigned width) |
| Explicit overload of print for rgba<unsigned short>. More... | |
| template<> | |
| void | vil_print_value (std::ostream &os, const vil_rgba< vxl_int_32 > &value, unsigned width) |
| Explicit overload of print for rgba<int>. More... | |
| template<> | |
| void | vil_print_value (std::ostream &os, const vil_rgba< vxl_uint_32 > &value, unsigned width) |
| Explicit overload of print for rgba<unsigned int>. More... | |
| template<> | |
| void | vil_print_value (std::ostream &os, const vil_rgba< float > &value, unsigned) |
| Explicit overload of print for rgba<float>. More... | |
| template<> | |
| void | vil_print_value (std::ostream &os, const vil_rgba< double > &value, unsigned) |
| Explicit overload of print for rgba<double>. More... | |
| void | vil_print_all (std::ostream &os, vil_image_view_base_sptr const &view) |
| Print all image data to os in a grid. More... | |
Various functions for manipulating image views.
Modifications 23 Oct.2003 - Peter Vanroose - Added support for 64-bit int pixels
Definition in file vil_print.cxx.
| #define docase | ( | T | ) |
| void vil_print_all | ( | std::ostream & | os, |
| vil_image_view_base_sptr const & | view | ||
| ) |
Print all image data to os in a grid.
Definition at line 434 of file vil_print.cxx.
| void vil_print_value | ( | std::ostream & | os, |
| const bool & | value, | ||
| unsigned | |||
| ) |
Explicit overload for bool.
Definition at line 23 of file vil_print.cxx.
| void vil_print_value | ( | std::ostream & | os, |
| const vxl_byte & | value, | ||
| unsigned | |||
| ) |
Explicit overload for byte.
Definition at line 30 of file vil_print.cxx.
| void vil_print_value | ( | std::ostream & | os, |
| const vxl_sbyte & | value, | ||
| unsigned | |||
| ) |
Explicit overload for signed byte.
Definition at line 38 of file vil_print.cxx.
| void vil_print_value | ( | std::ostream & | os, |
| const vxl_int_16 & | value, | ||
| unsigned | width | ||
| ) |
Explicit overload for short.
Definition at line 46 of file vil_print.cxx.
| void vil_print_value | ( | std::ostream & | os, |
| const vxl_uint_16 & | value, | ||
| unsigned | width | ||
| ) |
Explicit overload for unsigned short.
Definition at line 60 of file vil_print.cxx.
| void vil_print_value | ( | std::ostream & | os, |
| const vxl_int_32 & | value, | ||
| unsigned | width | ||
| ) |
Explicit overload for int.
Definition at line 72 of file vil_print.cxx.
| void vil_print_value | ( | std::ostream & | os, |
| const vxl_uint_32 & | value, | ||
| unsigned | width | ||
| ) |
Explicit overload for unsigned int.
Definition at line 89 of file vil_print.cxx.
| void vil_print_value | ( | std::ostream & | os, |
| const float & | value, | ||
| unsigned | |||
| ) |
Explicit overload for float.
Definition at line 140 of file vil_print.cxx.
| void vil_print_value | ( | std::ostream & | os, |
| const double & | value, | ||
| unsigned | |||
| ) |
Explicit overload for double.
Definition at line 147 of file vil_print.cxx.
| void vil_print_value | ( | std::ostream & | os, |
| const std::complex< float > & | value, | ||
| unsigned | |||
| ) |
Explicit overload for complex float.
Definition at line 154 of file vil_print.cxx.
| void vil_print_value | ( | std::ostream & | os, |
| const std::complex< double > & | value, | ||
| unsigned | |||
| ) |
Explicit overload for complex double.
Definition at line 161 of file vil_print.cxx.
| void vil_print_value | ( | std::ostream & | os, |
| const vil_rgb< vxl_byte > & | value, | ||
| unsigned | |||
| ) |
Explicit overload of print for rgb<byte>.
Definition at line 168 of file vil_print.cxx.
| void vil_print_value | ( | std::ostream & | os, |
| vil_rgb< vxl_sbyte > const & | value, | ||
| unsigned | |||
| ) |
Explicit overload of print for rgb<sbyte>.
Definition at line 186 of file vil_print.cxx.
| void vil_print_value | ( | std::ostream & | os, |
| const vil_rgb< vxl_int_16 > & | value, | ||
| unsigned | width | ||
| ) |
Explicit overload of print for rgb<short>.
Definition at line 207 of file vil_print.cxx.
| void vil_print_value | ( | std::ostream & | os, |
| const vil_rgb< vxl_uint_16 > & | value, | ||
| unsigned | width | ||
| ) |
Explicit overload of print for rgb<unsigned short>.
Definition at line 218 of file vil_print.cxx.
| void vil_print_value | ( | std::ostream & | os, |
| const vil_rgb< vxl_int_32 > & | value, | ||
| unsigned | width | ||
| ) |
Explicit overload of print for rgb<int>.
Definition at line 229 of file vil_print.cxx.
| void vil_print_value | ( | std::ostream & | os, |
| const vil_rgb< vxl_uint_32 > & | value, | ||
| unsigned | width | ||
| ) |
Explicit overload of print for rgb<unsigned int>.
Definition at line 240 of file vil_print.cxx.
| void vil_print_value | ( | std::ostream & | os, |
| const vil_rgb< float > & | value, | ||
| unsigned | |||
| ) |
Explicit overload of print for rgb<float>.
Definition at line 277 of file vil_print.cxx.
| void vil_print_value | ( | std::ostream & | os, |
| const vil_rgb< double > & | value, | ||
| unsigned | |||
| ) |
Explicit overload of print for rgb<double>.
Definition at line 285 of file vil_print.cxx.
| void vil_print_value | ( | std::ostream & | os, |
| const vil_rgba< vxl_byte > & | value, | ||
| unsigned | |||
| ) |
Explicit overload of print for rgba<byte>.
Definition at line 292 of file vil_print.cxx.
| void vil_print_value | ( | std::ostream & | os, |
| const vil_rgba< vxl_sbyte > & | value, | ||
| unsigned | |||
| ) |
Explicit overload of print for rgba<sbyte>.
Definition at line 314 of file vil_print.cxx.
| void vil_print_value | ( | std::ostream & | os, |
| const vil_rgba< vxl_int_16 > & | value, | ||
| unsigned | width | ||
| ) |
Explicit overload of print for rgba<short>.
Definition at line 340 of file vil_print.cxx.
| void vil_print_value | ( | std::ostream & | os, |
| const vil_rgba< vxl_uint_16 > & | value, | ||
| unsigned | width | ||
| ) |
Explicit overload of print for rgba<unsigned short>.
Definition at line 353 of file vil_print.cxx.
| void vil_print_value | ( | std::ostream & | os, |
| const vil_rgba< vxl_int_32 > & | value, | ||
| unsigned | width | ||
| ) |
Explicit overload of print for rgba<int>.
Definition at line 366 of file vil_print.cxx.
| void vil_print_value | ( | std::ostream & | os, |
| const vil_rgba< vxl_uint_32 > & | value, | ||
| unsigned | width | ||
| ) |
Explicit overload of print for rgba<unsigned int>.
Definition at line 379 of file vil_print.cxx.
| void vil_print_value | ( | std::ostream & | os, |
| const vil_rgba< float > & | value, | ||
| unsigned | |||
| ) |
Explicit overload of print for rgba<float>.
Definition at line 422 of file vil_print.cxx.
| void vil_print_value | ( | std::ostream & | os, |
| const vil_rgba< double > & | value, | ||
| unsigned | |||
| ) |
Explicit overload of print for rgba<double>.
Definition at line 429 of file vil_print.cxx.
1.8.15