iRoCS Toolbox  1.1.0
DericheFilter_base.hh
Go to the documentation of this file.
1 /**************************************************************************
2  *
3  * Copyright (C) 2015 Thorsten Falk
4  *
5  * Image Analysis Lab, University of Freiburg, Germany
6  *
7  * This program is free software; you can redistribute it and/or modify
8  * it under the terms of the GNU General Public License as published by
9  * the Free Software Foundation; either version 3 of the License, or
10  * (at your option) any later version.
11  *
12  * This program is distributed in the hope that it will be useful,
13  * but WITHOUT ANY WARRANTY; without even the implied warranty of
14  * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
15  * GNU General Public License for more details.
16  *
17  * You should have received a copy of the GNU General Public License
18  * along with this program; if not, write to the Free Software Foundation,
19  * Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA
20  *
21  **************************************************************************/
22 
23 /*======================================================================*/
29 /*======================================================================*/
30 
31 #ifndef ATBDERICHEFILTER_BASE_HH
32 #define ATBDERICHEFILTER_BASE_HH
33 
34 #ifdef HAVE_CONFIG_H
35 #include <config.hh>
36 #endif
37 
39 
40 #include "TypeTrais.hh"
41 #include "Interpolator.hh"
42 
43 namespace atb
44 {
45 
46  template<typename DataT, int Dim>
48  blitz::Array<DataT,Dim> const &data,
49  blitz::TinyVector<double,Dim> const &elementSizeUm,
50  blitz::Array<DataT,Dim> &filtered,
51  double sigmaUm, int dim,
53  DataT const &boundaryValue = traits<DataT>::zero,
54  iRoCS::ProgressReporter *pr = NULL);
55 
56 }
57 
58 #include "DericheFilter_base.icc"
59 
60 #endif
BoundaryTreatmentType
BoundaryTreatment.hh "libArrayToolbox/BoundaryTreatment.hh".
static DataT const zero
Get a representation of the Zero for this data type.
Definition: TypeTraits.hh:127
Classes and functions for sub-pixel Array access with different interpolation strategies.
Treat positions beyond the Array domain as having a constant value.
void filterDericheAlongDim(blitz::Array< DataT, Dim > const &data, blitz::TinyVector< double, Dim > const &elementSizeUm, blitz::Array< DataT, Dim > &filtered, double sigmaUm, int dim, BoundaryTreatmentType btType=ValueBT, DataT const &boundaryValue=traits< DataT >::zero, iRoCS::ProgressReporter *pr=NULL)