28 bool endpoint =
false,
29 bool pixel_centered =
true);
44 const UvRect &uv_rect_source,
45 const UvRect &uv_rect_target,
46 bool endpoint =
false,
47 bool pixel_centered =
true);
59 bool endpoint =
false,
60 bool pixel_centered =
true);
75 const UvRect &uv_rect_source,
76 const UvRect &uv_rect_target,
77 bool endpoint =
false,
78 bool pixel_centered =
true);
90 bool endpoint =
false);
104 const UvRect &uv_rect_source,
105 const UvRect &uv_rect_target,
106 bool endpoint =
false);
119 glm::ivec2 dst_shape,
121 std::uint32_t seed = 0);
132 const UvRect &uv_rect_source,
133 const UvRect &uv_rect_target);
139 const UvRect &uv_rect_source,
140 const UvRect &uv_rect_target);
148 const UvRect &uv_rect_source,
149 const UvRect &uv_rect_target);
Declaration of the Array class for 2D floating-point arrays with various mathematical operations and ...
Array class, helper to manipulate 2D float array with "(i, j)" indexing.
Definition array.hpp:31
Definition array_blending.hpp:225
void interpolate_array_bicubic(const Array &source, Array &target)
Definition interpolate_array_gpu.cpp:45
void interpolate_array_bilinear(const Array &source, Array &target)
Definition interpolate_array_gpu.cpp:102
void interpolate_array_nearest(const Array &source, Array &target)
Definition interpolate_array_gpu.cpp:175
void interpolate_array_lagrange(const Array &source, Array &target, int order)
Definition interpolate_array_gpu.cpp:151
Array resample_bicubic_warp(const Array &src, glm::ivec2 dst_shape, float warp=0.f, std::uint32_t seed=0)
Resample an array to a target shape using cubic B-spline interpolation with optional domain noise war...
Definition interpolate_array.cpp:258
void warp(Array &array, const Array *p_dx, const Array *p_dy)
Apply a warping effect to the array.
Definition warp.cpp:17
void interpolate_array_bilinear(const Array &source, Array &target, bool endpoint=false, bool pixel_centered=true)
Resample an array to a target array using bilinear interpolation.
Definition interpolate_array.cpp:124
void interpolate_array_bicubic(const Array &source, Array &target, bool endpoint=false, bool pixel_centered=true)
Resample an array to a target array using bicubic interpolation.
Definition interpolate_array.cpp:29
void interpolate_array_nearest(const Array &source, Array &target, bool endpoint=false)
Resample an array to a target array using nearest-neighbor interpolation.
Definition interpolate_array.cpp:209
Axis-aligned rectangle in normalized [0, 1]^2 domain/UV space.
Definition uv_rect.hpp:30