#include <qgarlib/Mask1dGaussD1.H>
Inheritance diagram for qgar::Mask1dGaussD1:

The code implementing this class is an adaptation of code written by Carsten Steger at TU Muenchen, Germany. Here is the copyright notice from his code:
+----------------------------------------------------------------------+ | Copyright (C) 1996 Carsten Steger | | | | This program is free software; you can redistribute it and/or modify | | it under the terms of the GNU General Public License as published by | | the Free Software Foundation; either version 2, or (at your option) | | any later version. | | | | This program is distributed in the hope that it will be useful, but | | WITHOUT ANY WARRANTY; without even the implied warranty of | | MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU | | General Public License for more details. | | | | You should have received a copy of the GNU General Public License | | along with this program; if not, write to the Free Software | | Foundation, Inc., 675 Mass Ave, Cambridge, MA 02139, USA. | +----------------------------------------------------------------------+
Definition at line 88 of file Mask1dGaussD1.H.
Public Types | |
Types | |
| typedef T | value_type |
| Type of the mask coefficients. | |
| typedef value_type & | reference |
| Reference to qgar::GenMask1d::value_type. | |
| typedef const value_type & | const_reference |
| Constant reference to qgar::GenMask1d::value_type. | |
| typedef value_type * | pointer |
| Pointer to qgar::GenMask1d::value_type. | |
| typedef const value_type * | const_pointer |
| Constant pointer to qgar::GenMask1d::value_type. | |
Public Member Functions | |
Constructors | |
| Mask1dGaussD1 (const Mask1dGaussD1 &aMask) | |
| Copy constructor. | |
| Mask1dGaussD1 (double aSigma=1.0) | |
| Initialize from given sigma (default 1.0). | |
Destructor | |
| virtual | ~Mask1dGaussD1 () |
| Virtual destructor. | |
Operators | |
| Mask1dGaussD1 & | operator= (const Mask1dGaussD1 &aMask) |
| Assignment. | |
Access to mask characteristics | |
| int | width () const |
| Get mask width. | |
Access to coefficient values | |
| value_type | coeff (int anIdx) const |
| Get a coefficient value. | |
Access to direct transformations of the coefficient map | |
| pointer | pCoeffMap () const |
| Get the pointer to the coefficient map. | |
Transformation | |
| void | setCoeff (int anIdx, value_type aCoeff) |
| Set coefficient at given index. | |
Copy | |
| GenMask1d< T > * | shallowCopy () |
| Shallow copy: The coefficient map of the source mask is not duplicated. | |
Protected Attributes | |
Representation of a mask | |
| int * | _pRefCnt |
| Reference counter. | |
| int | _width |
| Mask width. | |
| pointer | _pCoeffMap |
| Pointer to the memory space of the mask. | |
|
|||||
|
Constant pointer to qgar::GenMask1d::value_type.
Definition at line 93 of file GenMask1d.H. |
|
|||||
|
Constant reference to qgar::GenMask1d::value_type.
Definition at line 83 of file GenMask1d.H. |
|
|||||
|
Pointer to qgar::GenMask1d::value_type.
Definition at line 88 of file GenMask1d.H. |
|
|||||
|
Reference to qgar::GenMask1d::value_type.
Definition at line 78 of file GenMask1d.H. |
|
|||||
|
Type of the mask coefficients.
Definition at line 73 of file GenMask1d.H. |
|
|
Copy constructor. See also qgar::Mask1dGaussD1::operator=, qgar::GenMask1d::deepCopy, and qgar::GenMask1d::shallowCopy.
Definition at line 103 of file Mask1dGaussD1.C. |
|
|
Initialize from given sigma (default 1.0).
Definition at line 113 of file Mask1dGaussD1.C. References qgar::GenMask1d< T >::_pCoeffMap, qgar::GenMask1d< T >::_width, and qgar::MASK1DGAUSSD1_phi1(). |
|
|
Virtual destructor.
Definition at line 139 of file Mask1dGaussD1.C. |
|
||||||||||
|
Get a coefficient value.
Definition at line 193 of file GenMask1d.TCC. References qgar::GenMask1d< T >::_pCoeffMap. |
|
|
Assignment.
Definition at line 151 of file Mask1dGaussD1.C. References qgar::GenMask1d< double >::operator=(). |
|
|||||||||
|
Get the pointer to the coefficient map.
Definition at line 208 of file GenMask1d.TCC. References qgar::GenMask1d< T >::_pCoeffMap. Referenced by qgar::GenMask1d< T >::deepCopyAux(), qgar::GenMask1d< T >::GenMask1d(), qgar::GenConvolImage< T, CheckingPolicy >::xconvol(), and qgar::GenConvolImage< T, CheckingPolicy >::yconvol(). |
|
||||||||||||||||
|
Set coefficient at given index.
Definition at line 223 of file GenMask1d.TCC. References qgar::GenMask1d< T >::_pCoeffMap. |
|
|||||||||
|
Shallow copy: The coefficient map of the source mask is not duplicated. See also qgar::GenMask1d(Genmask1d<t>&), qgar::GenMask1d::operator=,
Definition at line 240 of file GenMask1d.TCC. References qgar::GenMask1d< T >::GenMask1d(). |
|
|||||||||
|
Get mask width.
Definition at line 178 of file GenMask1d.TCC. References qgar::GenMask1d< T >::_width. Referenced by qgar::GenConvolImage< T, CheckingPolicy >::xconvol(), and qgar::GenConvolImage< T, CheckingPolicy >::yconvol(). |
|
|||||
|
Pointer to the memory space of the mask.
Definition at line 313 of file GenMask1d.H. Referenced by qgar::GenMask1d< T >::coeff(), qgar::GenMask1d< T >::deepCopyAux(), qgar::GenMask1d< T >::GenMask1d(), Mask1dGaussD1(), qgar::GenMask1d< T >::pCoeffMap(), qgar::GenMask1d< T >::setCoeff(), and qgar::GenMask1d< T >::~GenMask1d(). |
|
|||||
|
Reference counter. Its value represent the number of other masks with which the current mask shares its coefficient map. Definition at line 303 of file GenMask1d.H. Referenced by qgar::GenMask1d< T >::deepCopyAux(), and qgar::GenMask1d< T >::~GenMask1d(). |
|
|||||
|
Mask width.
Definition at line 308 of file GenMask1d.H. Referenced by qgar::GenMask1d< T >::deepCopyAux(), qgar::GenMask1d< T >::GenMask1d(), Mask1dGaussD1(), and qgar::GenMask1d< T >::width(). |