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

This header encapsulates all functions, classes, etc. whose implementations are dependent on the cimg library (downloadable here). More...

#include "Image.h"

Go to the source code of this file.

Namespaces

namespace  lsseg

Classes

class  lsseg::UpdatableImage
 Display the pixel distribution of the image as a graph (histogram).Graphical display of an Image, with basic user interaction functionality. More...

Functions

void lsseg::load_image (const char *name, Image< double > &target, bool convert_to_greyscale=false)
 load an Image<double> from file
void lsseg::load_image (const char *name, Image< int > &target, bool convert_to_greyscale=false)
 load an Image<int> from file
void lsseg::save_image (const char *name, const Image< double > &target)
 save an Image<double> to file
void lsseg::display_image (const Image< double > &img, int z=0)
 Display an image in a graphical window and pause the program until the window is closed.
void lsseg::permanent_display (const Image< double > &img)
 Display an Image in a graphical window an continue execution of program.
void lsseg::blur_image (Image< double > &img, double rho)
 Gaussian blur an Image<double> with a certain strength.
void lsseg::blur_1D (double *data, unsigned int data_size, double rho)
 Gaussian blur an 1D-array of double values with a certain strength.
void lsseg::gaussian_noise (Image< double > &img, double sigma=0)
 fill an Image<double> with Gaussian noise.


Detailed Description

This header encapsulates all functions, classes, etc. whose implementations are dependent on the cimg library (downloadable here).

The idea of separating out all code dependent on cimg in this header (and the file containing its implementation: cimg_dependent.C) was to keep a sharp line between code in this project (lsseg) that stands alone, and code that needs the external library cimg to run. This way, if ever it is decided to make lsseg a fully independent library, it is sufficient to reimplement the functions declared in this header (and whose current implementation is found in cimg_dependent.C).

Definition in file cimg_dependent.h.


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