/home/oan/prosjekt/gotools/segmentation/gpl_distro/lsseg_1.0_gpl/src/cimg_dependent.C File Reference

Implements cimg_dependent.h. More...

#include <set>
#include <string>
#include "errormacros.h"
#include "CImg.h"
#include "Image.h"
#include "cimg_dependent.h"
#include "simple_tools.h"

Go to the source code of this file.

Namespaces

namespace  lsseg

Functions

void image2cimg (const Image< double > &img, CImg< double > &target, int z=-1)
template<typename T>
void cimg2image (const CImg< T > &img, Image< T > &target)
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

Implements cimg_dependent.h.

Definition in file cimg_dependent.C.


Function Documentation

template<typename T>
void @0::cimg2image ( const CImg< T > &  img,
Image< T > &  target 
) [static]

Definition at line 92 of file cimg_dependent.C.

void @0::image2cimg ( const Image< double > &  img,
CImg< double > &  target,
int  z = -1 
) [static]

Definition at line 71 of file cimg_dependent.C.


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