26#include <vigra/functorexpression.hxx>
29#include <vigra/combineimages.hxx>
35template <
class PixelType>
50template <
class ComponentType>
55 vigra::RGBValue<ComponentType>
operator()(vigra::RGBValue<ComponentType>
const&
v)
const {
56 vigra::RGBValue<ComponentType>
retVal;
70template <
class PixelType>
76 PixelType
t = (
v/127.5 -1);
89template <
class ComponentType>
106template <
class PixelType>
122template <
class ComponentType>
129 vigra::RGBValue<ComponentType>
operator()(vigra::RGBValue<ComponentType>
const &
v) {
133 vigra::RGBValue<ComponentType>
foo;
ComponentType operator()(vigra::RGBValue< ComponentType > v) const
Functor to apply mexican hat function returns very small values for input near to 0 or 255.
PixelType operator()(PixelType v) const
vigra::RGBValue< ComponentType > operator()(vigra::RGBValue< ComponentType > const &v) const
LogarithmFunctor(ComponentType off=0)
LogarithmFunctor(PixelType off=0)
PixelType operator()(PixelType const &v) const
vigra::RGBValue< ComponentType > foo
vigra::RGBValue< ComponentType > operator()(vigra::RGBValue< ComponentType > const &v)
NormalizeFunctor(vigra::RGBValue< ComponentType > oldMaxValue, vigra::RGBValue< ComponentType > newMaxValue)
Fuctor to normalize values.
PixelType operator()(PixelType const &v) const
NormalizeFunctor(PixelType f)
NormalizeFunctor(PixelType oldMaxValue, PixelType newMaxValue)
Implementation of basic routines for deghosting algorithms Copyright (C) 2009 Lukáš Jirkovský l....
Implementation of fast vector type with support of linear algebra operations Copyright (C) 2009 Lukáš...
std::vector< deghosting::BImagePtr > threshold(const std::vector< deghosting::FImagePtr > &inputImages, const double threshold, const uint16_t flags)
Threshold function used for creating alpha masks for images.