69 m_vecWeights(weights){}
86 const std::vector<icl64f> &
getWeights()
const {
return m_vecWeights; }
91 m_vecWeights = weights; }
std::vector< icl64f > m_vecWeights
internal storage for the channel weights
Definition: WeightChannelsOp.h:95
undocument this line if you encounter any issues!
Definition: Any.h:37
WeightChannelsOp()
creates a new WeightChannelsOp object
Definition: WeightChannelsOp.h:63
Weight pixel values of all image channels.
Definition: WeightChannelsOp.h:60
const std::vector< icl64f > & getWeights() const
returns the current weight vector
Definition: WeightChannelsOp.h:86
WeightChannelsOp(const std::vector< icl64f > &weights)
creates an new WeightChannelsOp object with a given weights vector
Definition: WeightChannelsOp.h:68
void setWeights(const std::vector< icl64f > &weights)
sets up the current weights vector
Definition: WeightChannelsOp.h:90
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)
#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