22#ifndef EOS_IMAGE_UTILS_HPP
23#define EOS_IMAGE_UTILS_HPP
25#include "eos/core/image/Pixel.hpp"
36template <
typename PixelType>
37Image<PixelType> zeros(
int height,
int width)
noexcept
39 Image<PixelType> image(height, width);
40 for (
int y = 0; y < height; ++y)
42 for (
int x = 0; x < width; ++x)
44 image(y, x) = PixelTraits<PixelType>::zero_element;
53template <
typename PixelType>
54Image<PixelType> constant(
int height,
int width, PixelType value)
noexcept
56 Image<PixelType> image(height, width);
57 for (
int y = 0; y < height; ++y)
59 for (
int x = 0; x < width; ++x)
Namespace containing all of eos's 3D model fitting functionality.