TuttleOFX  1
test.cpp File Reference
#include "stdafx.h"
#include <boost/gil/extension/io/bmp_io.hpp>
#include <boost/gil/extension/opencv/convert.hpp>
Include dependency graph for test.cpp:

Go to the source code of this file.

Data Structures

struct  mandelbrot_fn< P >
struct  set_to_max
struct  set_to_min
struct  add_vector< T >
struct  calc_diff
struct  foo< DST_MAX >
struct  do_it< SRC_VIEW, SRC_PIXEL, DST_VIEW, DST_MAX >

Typedefs

typedef channel_type
< rgb16_pixel_t >::type 
channel_t

Functions

template<class PIXEL , class VIEW >
PIXEL min_channel_values (const VIEW &view)
template<class PIXEL , class VIEW >
PIXEL min_channel_values_ (const VIEW &view, const size_t percent=1)
template<class PIXEL , class VIEW >
PIXEL max_channel_values (const VIEW &view)
template<class PIXEL , class VIEW >
boost::fusion::vector< PIXEL,
PIXEL > 
minmax_channel_values (const VIEW &view)
template<class SRC , class DST >
void down_sample (const SRC &src_view, const DST &dst_view)
int main (int argc, char *argv[])

Typedef Documentation

typedef channel_type<rgb16_pixel_t>::type channel_t

Definition at line 198 of file test.cpp.


Function Documentation

template<class SRC , class DST >
void down_sample ( const SRC &  src_view,
const DST &  dst_view 
)

Definition at line 203 of file test.cpp.

References tuttle::max(), terry::max_value(), tuttle::min(), and terry::algorithm::static_for_each().

Referenced by main().

Here is the call graph for this function:

int main ( int  argc,
char *  argv[] 
)

Definition at line 334 of file test.cpp.

References tuttle::plugin::merge::copy_pixels(), down_sample(), tuttle::plugin::viewer::img, terry::max_value(), and boost::gil::view().

Here is the call graph for this function:

template<class PIXEL , class VIEW >
PIXEL max_channel_values ( const VIEW &  view) [inline]

Definition at line 131 of file test.cpp.

References tuttle::max(), and terry::algorithm::static_for_each().

Here is the call graph for this function:

template<class PIXEL , class VIEW >
PIXEL min_channel_values ( const VIEW &  view) [inline]
Todo:
: use ( p[i] < min[i] ), more readable...

Definition at line 79 of file test.cpp.

References tuttle::min(), and terry::algorithm::static_for_each().

Here is the call graph for this function:

template<class PIXEL , class VIEW >
PIXEL min_channel_values_ ( const VIEW &  view,
const size_t  percent = 1 
) [inline]

Definition at line 116 of file test.cpp.

References tuttle::max(), and terry::max_value().

Here is the call graph for this function:

template<class PIXEL , class VIEW >
boost::fusion::vector<PIXEL, PIXEL> minmax_channel_values ( const VIEW &  view) [inline]

Definition at line 159 of file test.cpp.

References tuttle::max(), tuttle::min(), and terry::algorithm::static_for_each().

Here is the call graph for this function: