MVE - Multi-View Environment mve-devel
Loading...
Searching...
No Matches
Namespaces | Functions
image_drawing.h File Reference
#include <algorithm>
#include <cmath>
#include "mve/defines.h"
#include "mve/image.h"
Include dependency graph for image_drawing.h:
This graph shows which files directly or indirectly include this file:

Go to the source code of this file.

Namespaces

namespace  mve
 Multi-View Environment library.
 
namespace  mve::image
 Image tools, loading and processing functions.
 

Functions

template<typename T >
void mve::image::draw_circle (Image< T > &image, int64_t x, int64_t y, int64_t radius, T const *color)
 Draws a circle with midpoint (x,y) and given 'radius' on the image.
 
template<typename T >
void mve::image::draw_line (Image< T > &image, int64_t x1, int64_t y1, int64_t x2, int64_t y2, T const *color)
 Draws a line from (x0,y0) to (x1,y1) with given color on the image.
 
template<typename T >
void mve::image::draw_rectangle (Image< T > &image, int64_t x1, int64_t y1, int64_t x2, int64_t y2, T const *color)
 Draws a rectangle from (x1,y1) to (x2,y2) on the image.