Blender V4.3
COM_algorithm_morphological_distance_feather.hh
Go to the documentation of this file.
1/* SPDX-FileCopyrightText: 2023 Blender Authors
2 *
3 * SPDX-License-Identifier: GPL-2.0-or-later */
4
5#pragma once
6
7#include "DNA_scene_types.h"
8
9#include "COM_context.hh"
10#include "COM_result.hh"
11
13
14/* Dilate or erode the given input using a morphological inverse distance operation evaluated at
15 * the given falloff. The radius of the structuring element is equivalent to the absolute value of
16 * the given distance parameter. A positive distance corresponds to a dilate operator, while a
17 * negative distance corresponds to an erode operator. See the implementation and shader for more
18 * information. */
20 Context &context, Result &input, Result &output, int distance, int falloff_type = PROP_SMOOTH);
21
22} // namespace blender::realtime_compositor
@ PROP_SMOOTH
void morphological_distance_feather(Context &context, Result &input, Result &output, int distance, int falloff_type=PROP_SMOOTH)