Blender V4.3
COM_CalculateStandardDeviationOperation.h
Go to the documentation of this file.
1/* SPDX-FileCopyrightText: 2011 Blender Authors
2 *
3 * SPDX-License-Identifier: GPL-2.0-or-later */
4
5#pragma once
6
8#include "COM_NodeOperation.h"
9#include "DNA_node_types.h"
10
11namespace blender::compositor {
12
19 protected:
21
22 float calculate_value(const MemoryBuffer *input) const override;
23
24 private:
25 PixelsSum calc_area_sum(const MemoryBuffer *input, const rcti &area, float mean) const;
26};
27
28} // namespace blender::compositor
base class of CalculateMean, implementing the simple CalculateMean
base class of CalculateStandardDeviation, implementing the simple CalculateStandardDeviation.
a MemoryBuffer contains access to the data