/home/oan/prosjekt/gotools/segmentation/gpl_distro/lsseg_1.0_gpl/include/simple_tools_templates.h File Reference

Implements the inline functions specified in simple_tools.h. More...

#include <stdexcept>

Go to the source code of this file.

Namespaces

namespace  lsseg

Functions

template<typename T>
interpolate_value (const lsseg::Image< T > &img, int channel, int x_pixel, int y_pixel, int z_pixel, double x_off, double y_off, double z_off, bool linear)
template<typename ImgType>
void lsseg::downsample_series (const ImgType &input, std::vector< ImgType > &result, int min_num_pixels, bool downscale_z=false, double downscale_factor=2, bool to_grayscale=false, bool linear=true)
 Create a sequence of progressively smaller, resampled copies of a reference image.
template<typename ImgType>
void lsseg::resample_into (const ImgType &src, ImgType &target, bool linear=true)
 Resample an image, using nearest-pixel or linear interpolation.
template<typename T>
void lsseg::to_grayscale (Image< T > &img)
 convert a three-channel Image (RGB of double, int, etc.) to greyscale.
template<typename T>
interpolate_value (const lsseg::Image< T > &img, int ch, int x_px, int y_px, int z_px, double x_off, double y_off, double z_off, bool linear)


Detailed Description

Implements the inline functions specified in simple_tools.h.

Definition in file simple_tools_templates.h.


Function Documentation

template<typename T>
T @15::interpolate_value ( const lsseg::Image< T > &  img,
int  ch,
int  x_px,
int  y_px,
int  z_px,
double  x_off,
double  y_off,
double  z_off,
bool  linear 
) [static]

Definition at line 196 of file simple_tools_templates.h.

template<typename T>
T @14::interpolate_value ( const lsseg::Image< T > &  img,
int  channel,
int  x_pixel,
int  y_pixel,
int  z_pixel,
double  x_off,
double  y_off,
double  z_off,
bool  linear 
) [static]


Generated on Tue Nov 28 18:35:47 2006 for lsseg by  doxygen 1.4.7