76 m_vecWeights(weights){}
92 const std::vector<icl64f> &
getWeights()
const {
return m_vecWeights; }
96 void setWeights(
const std::vector<icl64f> &weights){ m_vecWeights = weights; }
WeightedSumOp(const std::vector< icl64f > &weights)
creates an new WeightedSumOp object with a given weights vector
Definition: WeightedSumOp.h:75
undocument this line if you encounter any issues!
Definition: Any.h:37
void setWeights(const std::vector< icl64f > &weights)
sets up the current weights vector
Definition: WeightedSumOp.h:96
std::vector< icl64f > m_vecWeights
internal storage for the channel weights
Definition: WeightedSumOp.h:100
const std::vector< icl64f > & getWeights() const
returns the current weight vector
Definition: WeightedSumOp.h:92
Accumulate weighted pixel values of all image channels.
Definition: WeightedSumOp.h:67
Abstract Base class for Unary Operators.
Definition: UnaryOp.h:51
ICLQt_API core::Img< T > filter(const core::Img< T > &image, const std::string &filter)
applies a filter operation on the source image (affinity for float)
WeightedSumOp()
creates a new WeightedSumOp object
Definition: WeightedSumOp.h:70
#define ICLFilter_API
Definition: CompatMacros.h:175
virtual void apply(const core::ImgBase *operand1, core::ImgBase **dst)=0
pure virtual apply function, that must be implemented in all derived classes
ImgBase is the Image-Interface class that provides save access to underlying Img-template .
Definition: ImgBase.h:131