Functions

debug Namespace Reference

Functions

void println_graph (const std::string &message, const mln::image2d< bool > &input)
 Pretty print an mln::image2d<bool> viewed as a graph.
void println_graph (const std::string &message, const mln::bin_1complex_image2d &input)
 Pretty-print an mln::bin_1complex_image2d viewed as a graph.

Function Documentation

void debug::println_graph ( const std::string &  message,
const mln::image2d< bool > &  input 
)

Pretty print an mln::image2d<bool> viewed as a graph.

Definition at line 45 of file debug.hh.

References mln::image2d< T >::domain(), mln::initialize(), mln::image2d< T >::ncols(), mln::image2d< T >::nrows(), and mln::debug::println().

Referenced by println_graph().

void debug::println_graph ( const std::string &  message,
const mln::bin_1complex_image2d input 
)

Pretty-print an mln::bin_1complex_image2d viewed as a graph.

Definition at line 90 of file debug.hh.

References println_graph(), and convert::to_image2d().