MVE - Multi-View Environment mve-devel
Loading...
Searching...
No Matches
visualizer.h
Go to the documentation of this file.
1/*
2 * Copyright (C) 2015, Simon Fuhrmann
3 * TU Darmstadt - Graphics, Capture and Massively Parallel Computing
4 * All rights reserved.
5 *
6 * This software may be modified and distributed under the terms
7 * of the BSD 3-Clause license. See the LICENSE.txt file for details.
8 */
9
10#ifndef SFM_VISUALIZER_HEADER
11#define SFM_VISUALIZER_HEADER
12
13#include <utility>
14#include <vector>
15
16#include "mve/image.h"
17#include "sfm/defines.h"
18#include "sfm/correspondence.h"
19
21
23{
24public:
25 struct Keypoint
26 {
27 float x;
28 float y;
29 float radius;
31 };
32
40
41public:
45 static void draw_keypoint (mve::ByteImage& image,
46 Keypoint const& keypoint, KeypointStyle style, uint8_t const* color);
47
51 static mve::ByteImage::Ptr draw_keypoints (mve::ByteImage::ConstPtr image,
52 std::vector<Keypoint> const& matches, KeypointStyle style);
53
57 static mve::ByteImage::Ptr draw_matches (mve::ByteImage::ConstPtr image1,
58 mve::ByteImage::ConstPtr image2, Correspondences2D2D const& matches);
59};
60
62
63#endif /* SFM_VISUALIZER_HEADER */
Multi-channel image class of arbitrary but homogenous data type.
Definition image.h:40
std::shared_ptr< Image< T > > Ptr
Definition image.h:42
std::shared_ptr< Image< T > const > ConstPtr
Definition image.h:43
@ RADIUS_CIRCLE_ORIENTATION
Definition visualizer.h:36
std::vector< Correspondence2D2D > Correspondences2D2D
#define SFM_NAMESPACE_END
Definition defines.h:14
#define SFM_NAMESPACE_BEGIN
Definition defines.h:13