Main Page   Class Overview   Pixels   Images   Geometry   Quick Index  

HxMakeGaussian1d.h File Reference

More...

#include "HxImageRep.h"

Go to the source code of this file.

Functions

HxImageRep L_HXIMAGEREP HxMakeGaussian1d (double sigma, int deri, double acc, int maxfsize, int fsize=-1)
 Generate a kernel image resembling a Gaussian. More...


Detailed Description


Function Documentation

HxImageRep L_HXIMAGEREP HxMakeGaussian1d double    sigma,
int    deri,
double    acc,
int    maxfsize,
int    fsize = -1
 

Generate a kernel image resembling a Gaussian.

00015 {
00016     HxTagList   tags;
00017 
00018     HxAddTag(tags, "sigma", sigma);
00019     HxAddTag(tags, "derivative", deri);
00020     HxAddTag(tags, "accuracy", acc);
00021     HxAddTag(tags, "size", fsize);
00022     HxAddTag(tags, "maxSize", maxfsize);
00023 
00024     return HxImageFactory::instance().fromNamedGenerator(
00025             HXIMAGESIG2DDOUBLE, "gauss1d", tags);
00026 }


Generated on Tue Jan 8 13:59:21 2002 for C++Reference by doxygen1.2.12 written by Dimitri van Heesch, © 1997-2001