Functions
contrib/mul/mfpf/mfpf_sad_vec_cost_builder.cxx File Reference

Builder for mfpf_sad_vec_cost objects. More...

#include "mfpf_sad_vec_cost_builder.h"
#include <mfpf/mfpf_sad_vec_cost.h>
#include <vsl/vsl_binary_loader.h>
#include <vul/vul_string.h>
#include <vcl_cassert.h>
#include <vcl_algorithm.h>
#include <vcl_sstream.h>
#include <mbl/mbl_parse_block.h>
#include <mbl/mbl_read_props.h>
#include <mbl/mbl_stats_1d.h>
#include <vnl/io/vnl_io_vector.h>
#include <vsl/vsl_vector_io.h>

Go to the source code of this file.

Functions

void abs_diff (const vnl_vector< double > &v1, const vnl_vector< double > &v2, vnl_vector< double > &dv)
 dv[i] = |v1[i]-v2[i]|.

Detailed Description

Builder for mfpf_sad_vec_cost objects.

Author:
Tim Cootes

Definition in file mfpf_sad_vec_cost_builder.cxx.


Function Documentation

void abs_diff ( const vnl_vector< double > &  v1,
const vnl_vector< double > &  v2,
vnl_vector< double > &  dv 
) [inline]

dv[i] = |v1[i]-v2[i]|.

Definition at line 66 of file mfpf_sad_vec_cost_builder.cxx.