/*! ========================================================================
** Extended Template Library
** Gaussian Blur Template Implementation
-** $Id: _gaussian.h,v 1.1.1.1 2005/01/04 01:31:47 darco Exp $
+** $Id$
**
** Copyright (c) 2002 Robert B. Quattlebaum Jr.
**
//typename T::iterator_x iter;
- // Setup the row bufers
+ // Setup the row buffers
for(x=0;x<w;x++)SC0[x+2]=pen.x()[x]*24;
memset(SC1,0,(w+2)*sizeof(typename T::value_type));
memset(SC2,0,(w+2)*sizeof(typename T::value_type));
typename T::pointer SC0=new typename T::value_type[w+1];
typename T::pointer SC1=new typename T::value_type[w+1];
- // Setup the row bufers
+ // Setup the row buffers
for(x=0;x<w;x++)SC0[x+1]=pen.x()[x]*4;
memset(SC1,0,(w+1)*sizeof(typename T::value_type));
if(iter!=begin && ( endpts || (prev != begin) ))
*prev=(Tmp1)/4;
}
-
+
if(endpts)
{
Tmp1=*prev;