Dynamic Neural Field Composer 0.0.0
A C++20 library and interactive application for building and simulating Dynamic Neural Field (DNF) architectures.
Loading...
Searching...
No Matches
Classes | Namespaces | Enumerations | Variables
resize.h File Reference
#include <cmath>
#include <map>
#include <sstream>
#include <iomanip>
#include "tools/math.h"
#include "element.h"
Include dependency graph for resize.h:
This graph shows which files directly or indirectly include this file:

Go to the source code of this file.

Classes

class  dnf_composer::element::Resize
 Resamples a 1D input field of size N to this element's output size M. More...
 
struct  dnf_composer::element::ResizeParameters
 Parameters for a 1D Resize element. More...
 

Namespaces

namespace  dnf_composer
 
namespace  dnf_composer::element
 

Enumerations

enum class  dnf_composer::element::InterpolationMethod : int { dnf_composer::element::InterpolationMethod::LINEAR , dnf_composer::element::InterpolationMethod::NEAREST , dnf_composer::element::InterpolationMethod::CUBIC }
 Interpolation method used when resampling an input field to a new size. More...
 

Variables

const std::map< InterpolationMethod, std::string > dnf_composer::element::InterpolationMethodToString
 Maps InterpolationMethod values to human-readable strings.