#include <patch_sampler.h>
|
| PatchSampler () |
| Default constructor.
|
|
| PatchSampler (std::vector< SingleView::Ptr > const &_views, Settings const &_settings, int _x, int _y, float _depth, float _dzI, float _dzJ) |
| Constructor.
|
|
void | fastColAndDeriv (std::size_t v, Samples &color, Samples &deriv) |
| Draw color samples and derivatives in neighbor view v.
|
|
float | getFastNCC (std::size_t v) |
| Compute NCC between reference view and a neighbor view.
|
|
Samples const & | getMasterColorSamples () const |
|
float | getMasterMeanColor () const |
|
math::Vec3f const & | getMidWorldPoint () const |
|
float | getNCC (std::size_t u, std::size_t v) |
| Compute NCC between two neighboring views.
|
|
Samples const & | getNeighColorSamples (std::size_t v) |
|
std::size_t | getNrSamples () const |
|
math::Vec3f | getPatchNormal () const |
|
float | getSAD (std::size_t v, math::Vec3f const &cs) |
| Computes the sum of absolute differences between reference view and neighbor v with respect to color scale cs.
|
|
float | getSSD (std::size_t v, math::Vec3f const &cs) |
| Computes the sum of squared differences between reference view and neighbor v with respect to color scale cs.
|
|
bool | succeeded (std::size_t v) const |
|
void | update (float newDepth, float newDzI, float newDzJ) |
|
float | varInMasterPatch () |
|
Definition at line 23 of file patch_sampler.h.
◆ Ptr
◆ PatchSampler() [1/2]
mvs::PatchSampler::PatchSampler |
( |
| ) |
|
◆ PatchSampler() [2/2]
mvs::PatchSampler::PatchSampler |
( |
std::vector< SingleView::Ptr > const & |
_views, |
|
|
Settings const & |
_settings, |
|
|
int |
_x, |
|
|
int |
_y, |
|
|
float |
_depth, |
|
|
float |
_dzI, |
|
|
float |
_dzJ |
|
) |
| |
◆ create()
◆ fastColAndDeriv()
void mvs::PatchSampler::fastColAndDeriv |
( |
std::size_t |
v, |
|
|
Samples & |
color, |
|
|
Samples & |
deriv |
|
) |
| |
Draw color samples and derivatives in neighbor view v.
Definition at line 65 of file patch_sampler.cc.
◆ getFastNCC()
float mvs::PatchSampler::getFastNCC |
( |
std::size_t |
v | ) |
|
Compute NCC between reference view and a neighbor view.
Definition at line 136 of file patch_sampler.cc.
◆ getMasterColorSamples()
Samples const & mvs::PatchSampler::getMasterColorSamples |
( |
| ) |
const |
|
inline |
◆ getMasterMeanColor()
float mvs::PatchSampler::getMasterMeanColor |
( |
| ) |
const |
|
inline |
◆ getMidWorldPoint()
math::Vec3f const & mvs::PatchSampler::getMidWorldPoint |
( |
| ) |
const |
|
inline |
◆ getNCC()
float mvs::PatchSampler::getNCC |
( |
std::size_t |
u, |
|
|
std::size_t |
v |
|
) |
| |
◆ getNeighColorSamples()
Samples const & mvs::PatchSampler::getNeighColorSamples |
( |
std::size_t |
v | ) |
|
|
inline |
◆ getNrSamples()
std::size_t mvs::PatchSampler::getNrSamples |
( |
| ) |
const |
|
inline |
◆ getPatchNormal()
math::Vec3f mvs::PatchSampler::getPatchNormal |
( |
| ) |
const |
◆ getSAD()
float mvs::PatchSampler::getSAD |
( |
std::size_t |
v, |
|
|
math::Vec3f const & |
cs |
|
) |
| |
Computes the sum of absolute differences between reference view and neighbor v with respect to color scale cs.
Definition at line 204 of file patch_sampler.cc.
◆ getSSD()
float mvs::PatchSampler::getSSD |
( |
std::size_t |
v, |
|
|
math::Vec3f const & |
cs |
|
) |
| |
Computes the sum of squared differences between reference view and neighbor v with respect to color scale cs.
Definition at line 222 of file patch_sampler.cc.
◆ succeeded()
bool mvs::PatchSampler::succeeded |
( |
std::size_t |
v | ) |
const |
◆ update()
void mvs::PatchSampler::update |
( |
float |
newDepth, |
|
|
float |
newDzI, |
|
|
float |
newDzJ |
|
) |
| |
◆ varInMasterPatch()
float mvs::PatchSampler::varInMasterPatch |
( |
| ) |
|
|
inline |
◆ success
std::vector<bool> mvs::PatchSampler::success |
The documentation for this class was generated from the following files:
- /builddir/build/BUILD/mve-354a652461377939ca136f451ba3271a1c52ee65/libs/dmrecon/patch_sampler.h
- /builddir/build/BUILD/mve-354a652461377939ca136f451ba3271a1c52ee65/libs/dmrecon/patch_sampler.cc