fast::ImageWeightedMovingAverage class

Temporal smoothing of image using weighted moving average.

Inputs:

Outputs:

Base classes

class ProcessObject
Abstract base class for all process objects.

Public functions

auto create(int frameCount, bool keepDataType) -> std::shared_ptr<ImageWeightedMovingAverage>
void setKeepDataType(bool keep)
void reset()

Protected functions

void execute() override
void loadAttributes() override

Protected variables

int m_frameCount
bool m_keepDataType
std::shared_ptr<Image> m_memory
std::deque<std::shared_ptr<Image>> m_buffer