#include <stdexcept>
Go to the source code of this file.
Namespaces | |
namespace | lsseg |
Functions | |
template<typename T> | |
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> | |
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) |
Definition in file simple_tools_templates.h.
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.
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] |