#include "sdet_mrf_bp.h"
#include <sdet/sdet_mrf_site_bp.h>
#include <vil/vil_convert.h>
#include <vil/vil_math.h>
#include <vil/vil_new.h>
#include <vnl/vnl_numeric_traits.h>
#include <vcl_cassert.h>
Go to the source code of this file.
Functions | |
void | lower_envelope_linear (float w, vcl_vector< float > &msg) |
computes the lower envelope of a message array with $V(fp, fq) = w|fp-fq|$. | |
vcl_vector< float > | lower_envelope_quadratic (float w, vcl_vector< float > const &h) |
computes the lower envelope of a message array with $V(fp, fq) = w(fp-fq)^2$. |
void lower_envelope_linear | ( | float | w, |
vcl_vector< float > & | msg | ||
) |
computes the lower envelope of a message array with $V(fp, fq) = w|fp-fq|$.
Computes in place
Definition at line 17 of file sdet_mrf_bp.cxx.
vcl_vector<float> lower_envelope_quadratic | ( | float | w, |
vcl_vector< float > const & | h | ||
) |
computes the lower envelope of a message array with $V(fp, fq) = w(fp-fq)^2$.
Used in current implementation
Definition at line 40 of file sdet_mrf_bp.cxx.