示例#1
0
void CFilterATMApp::FilterStart(void)
   {
   // FilterStart will get user parameters if necessary & select the first tile
   CPSPlugIn::FilterStart();
   // Once we have radius, setup overlap for future tile updates
   SetTileOverlap(2 * m_sData->nRadius);
   // initialize the alpha-trimmed mean filter
   atmfilter<double>::init(m_sData->nRadius, m_sData->nAlpha);
   }
示例#2
0
void CFilterVarianceApp::FilterStart(void)
   {
   // FilterStart will get user parameters if necessary & select the first tile
   CPSPlugIn::FilterStart();
   // Once we have radius, setup overlap for future tile updates (this is not
   // needed for the first tile anyway.
   SetTileOverlap(2 * m_sData->nRadius);
   // initialize variables used for scaling
   m_nIteration = 0;
   m_dScale = 0;
   }