[ VIGRA Homepage | Class Index | Function Index | File Index | Main Page ]
![]() |
MagnitudeFunctor Class Template Reference | ![]() |
---|
#include "vigra/combineimages.hxx"
Public Types | |
typedef ValueType | first_argument_type |
typedef ValueType | second_argument_type |
typedef SquareRootTraits< typename NormTraits< ValueType >::SquaredNormType >::SquareRootResult | result_type |
typedef ValueType | value_type |
Public Methods | |
result_type | operator() (first_argument_type const &v1, second_argument_type const &v2) const |
Detailed Description |
If the gradient is represented by a vector-valued image instead of a pair of scalar images, use vigra::VectorNormFunctor.
Traits defined:
the functor's first argument type
the functor's result type
the functor's second argument type
calculate transform '
© Ullrich Köthe (koethe@informatik.uni-hamburg.de)
html generated using doxygen and Python
FunctorTraits::isBinaryFunctor
are true (VigraTrueType
)
Member Typedef Documentation
typedef ValueType first_argument_type
typedef SquareRootTraits<typename NormTraits<ValueType>::SquaredNormType>::SquareRootResult result_type
typedef ValueType second_argument_type
typedef ValueType value_type
Member Function Documentation
result_type operator()
(
first_argument_type const &
v1,
second_argument_type const &
v2
)
const
[inline]
sqrt(squaredNorm(v1) + squaredNorm(v2))
'.
The documentation for this class was generated from the following file:
Cognitive Systems Group,
University of Hamburg, Germany
VIGRA 1.5.0 (7 Dec 2006)