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

Go to the source code of this file.

Namespaces

namespace  mvs
 Multi-View Stereo implementation of [Goesele '07, ICCV].
 

Functions

void mvs::colAndExactDeriv (mve::ByteImage const &img, PixelCoords const &imgPos, PixelCoords const &gradDir, Samples &color, Samples &deriv)
 interpolate color and derivative at given sample positions
 
void mvs::getXYZColorAtPix (mve::ByteImage const &img, std::vector< math::Vec2i > const &imgPos, Samples *color)
 get color at given pixel positions (no interpolation)
 
void mvs::getXYZColorAtPos (mve::ByteImage const &img, PixelCoords const &imgPos, Samples *color)
 interpolate only color at given sample positions
 
float mvs::parallax (math::Vec3f p, mvs::SingleView::Ptr v1, mvs::SingleView::Ptr v2)
 Computes the parallax between two views with respect to some 3D point p.
 
float mvs::parallaxToWeight (float p)
 Turns a parallax value (0 <= p <= 180) into a weight according to a bilateral Gaussian (see [Furukawa 2010] for details)