79 void SetMaskSize(
int size)
89 MEM_CXX_CLASS_ALLOC_FUNCS(
"Freestyle:GaussianFilter")
108 int w = (int)map->width();
109 int h = (int)map->height();
114 if ((
y +
i < 0) || (
y +
i >= h)) {
118 if ((
x + j < 0) || (
x + j >=
w)) {
122 float tmpL = map->pixel(
x + j,
y +
i);
Configuration definitions.
Read Guarded memory(de)allocation.
static DBVT_INLINE btScalar size(const btDbvtVolume &a)
SIMD_FORCE_INLINE const btScalar & w() const
Return the w value.
virtual ~GaussianFilter()
GaussianFilter(float iSigma=1.0f)
static int computeMaskSize(float sigma)
GaussianFilter & operator=(const GaussianFilter &)
float getSmoothedPixel(Map *map, int x, int y)
void setSigma(float sigma)