YetAnotherCoupler 3.5.2
Loading...
Searching...
No Matches
interp_method_avg.h
Go to the documentation of this file.
1// Copyright (c) 2024 The YAC Authors
2//
3// SPDX-License-Identifier: BSD-3-Clause
4
5#ifndef INTERP_METHOD_AVG_H
6#define INTERP_METHOD_AVG_H
7
8#include "interp_method.h"
9
10// YAC PUBLIC HEADER START
11
17 YAC_INTERP_AVG_ARITHMETIC = 0, // simple average
18 YAC_INTERP_AVG_DIST = 1, // distance weighted
19 YAC_INTERP_AVG_BARY = 2, // barycentric coordinate based
20};
21
22#define YAC_INTERP_AVG_WEIGHT_TYPE_DEFAULT (0)
23#define YAC_INTERP_AVG_PARTIAL_COVERAGE_DEFAULT (0)
24
27 int partial_coverage);
28
29// YAC PUBLIC HEADER STOP
30
31#endif // INTERP_METHOD_AVG_H
enum yac_interp_ncc_weight_type weight_type
struct interp_method * yac_interp_method_avg_new(enum yac_interp_avg_weight_type weight_type, int partial_coverage)
yac_interp_avg_weight_type
@ YAC_INTERP_AVG_DIST
@ YAC_INTERP_AVG_ARITHMETIC
@ YAC_INTERP_AVG_BARY