#include <NViewMatches.h>
Public Types | |
enum | { nomatch = -1 } |
typedef int | element_type |
typedef unsigned | size_type |
typedef int * | iterator |
typedef intconst * | const_iterator |
typedef vnl_c_vector< int >::abs_t | abs_t |
Public Member Functions | |
OffsetNViewMatch (int min_view, int max_view) | |
OffsetNViewMatch (const OffsetNViewMatch &that) | |
OffsetNViewMatch & | operator= (const OffsetNViewMatch &that) |
int & | operator[] (int i) |
bool | matches (const NViewMatch &b, int min_overlap) const |
Return true if B is consistent with this match. | |
void | incorporate (const NViewMatch &b) |
Fill any wildcard positions with the corresponding position in B. | |
bool | is_consistent (const NViewMatch &b) const |
Check for any inconsistencies between matches. | |
int | count_observations () const |
Count how many non-wildcard entries are in this NViewMatch. | |
unsigned | size () const |
void | put (unsigned int i, intconst &) |
int | get (unsigned int i) const |
vnl_vector & | fill (intconst &v) |
vnl_vector & | copy_in (intconst *ptr) |
void | copy_out (int *) const |
vnl_vector & | set (intconst *ptr) |
int & | operator() (unsigned int i) |
intconst & | operator() (unsigned int i) const |
int & | operator[] (unsigned int i) |
intconst & | operator[] (unsigned int i) const |
vnl_vector< int > & | operator+= (int) |
vnl_vector< int > & | operator+= (vnl_vector< int > const &rhs) |
vnl_vector< int > & | operator-= (intvalue) |
vnl_vector< int > & | operator-= (vnl_vector< int > const &rhs) |
vnl_vector< int > & | operator*= (int) |
vnl_vector< int > & | operator*= (vnl_matrix< int > const &m) |
vnl_vector< int > & | operator/= (int) |
vnl_vector< int > & | pre_multiply (vnl_matrix< int > const &M) |
vnl_vector< int > & | post_multiply (vnl_matrix< int > const &M) |
vnl_vector< int > | operator+ () const |
vnl_vector< int > | operator+ (intv) const |
vnl_vector< int > | operator+ (vnl_vector< int > const &v) const |
vnl_vector< int > | operator+ (ints, vnl_vector< int > const &v) |
vnl_vector< int > | operator- () const |
vnl_vector< int > | operator- (intv) const |
vnl_vector< int > | operator- (vnl_vector< int > const &v) const |
vnl_vector< int > | operator- (ints, vnl_vector< int > const &v) |
vnl_vector< int > | operator* (intv) const |
vnl_vector< int > | operator* (vnl_matrix< int > const &M) const |
vnl_vector< int > | operator* (vnl_diag_matrix< int > const &D, vnl_vector< int > const &A) |
vnl_vector< int > | operator* (vnl_vector< int > const &A, vnl_diag_matrix< int > const &D) |
vnl_vector< int > | operator* (ints, vnl_vector< int > const &v) |
vnl_vector< int > | operator/ (intv) const |
intconst * | data_block () const |
int * | data_block () |
iterator | begin () |
const_iterator | begin () const |
iterator | end () |
const_iterator | end () const |
vnl_vector< int > const & | as_ref () const |
vnl_vector< int > & | as_ref () |
vnl_vector< int > | apply (int(*f)(int)) const |
vnl_vector< int > | apply (int(*f)(intconst &)) const |
vnl_vector< int > | extract (unsigned int len, unsigned int start=0) const |
vnl_vector< int > & | update (vnl_vector< int > const &, unsigned int start=0) |
abs_t | squared_magnitude () const |
abs_t | magnitude () const |
abs_t | one_norm () const |
abs_t | two_norm () const |
abs_t | inf_norm () const |
vnl_vector< int > & | normalize () |
abs_t | rms () const |
int | min_value () const |
int | max_value () const |
unsigned | arg_min () const |
unsigned | arg_max () const |
int | mean () const |
int | sum () const |
vnl_vector & | flip () |
void | swap (vnl_vector< int > &that) |
void | swap (vnl_vector< int > &a, vnl_vector< int > &b) |
void | assert_size (unsigned sz) const |
void | assert_finite () const |
bool | is_finite () const |
bool | is_zero () const |
bool | empty () const |
bool | is_equal (vnl_vector< int > const &rhs, double tol) const |
bool | operator_eq (vnl_vector< int > const &v) const |
bool | operator== (vnl_vector< int > const &that) const |
bool | operator!= (vnl_vector< int > const &that) const |
bool | set_size (unsigned n) |
void | clear () |
bool | read_ascii (vcl_istream &s) |
vnl_vector< int > | vnl_convolve (vnl_vector< int > const &v1, vnl_vector< int > const &v2, int use_fft=0) |
vnl_vector< U > | vnl_convolve_cyclic (vnl_vector< T1 > const &v1, vnl_vector< T2 > const &v2, U *, bool use_fft=false) |
void | vsl_b_write (vsl_b_ostream &os, const vnl_vector< int > &v) |
void | vsl_b_read (vsl_b_istream &is, vnl_vector< int > &v) |
void | vsl_print_summary (vcl_ostream &os, const vnl_vector< int > &b) |
vnl_vector< vcl_complex< int > > | vnl_complexify (vnl_vector< int > const &R) |
vnl_vector< vcl_complex< int > > | vnl_complexify (vnl_vector< int > const &R, vnl_vector< int > const &I) |
void | vnl_copy (S const *src, int *dst, unsigned n) |
void | vnl_copy (S const &, int &) |
int | vnl_cross_2d (const vnl_vector< int > &v1, const vnl_vector< int > &v2) |
vnl_vector< int > | vnl_cross_3d (const vnl_vector< int > &v1, const vnl_vector< int > &v2) |
vnl_vector< int > | vnl_imag (vnl_vector< vcl_complex< int > > const &C) |
vcl_ostream & | vnl_matlab_print (vcl_ostream &, vnl_vector< int > const &, char const *variable_name=0, vnl_matlab_print_format=vnl_matlab_print_format_default) |
bool | operator< (vnl_vector< int > const &lhs, vnl_vector< int > const &rhs) |
vnl_vector< int > | vnl_real (vnl_vector< vcl_complex< int > > const &C) |
int | vnl_vector_ssd (vnl_vector< int > const &v1, vnl_vector< int > const &v2) |
export vcl_ostream & | operator<< (vcl_ostream &, vnl_vector< int > const &) |
export vcl_istream & | operator>> (vcl_istream &, vnl_vector< int > &) |
void | x_write (vcl_ostream &os, vnl_vector< int > const &v, vcl_string name="vnl_vector") |
void | x_write_tree (vcl_ostream &os, vnl_vector< int > const &v, vcl_string name="vnl_vector") |
Static Public Member Functions | |
static vnl_vector< int > | read (vcl_istream &s) |
Protected Member Functions | |
void | assert_size_internal (unsigned sz) const |
void | assert_finite_internal () const |
void | destroy () |
Static Protected Member Functions | |
static void | inline_function_tickler () |
Protected Attributes | |
unsigned | num_elmts |
int * | data |
Private Attributes | |
int | min_view_ |
Friends | |
friend class | vnl_matrix |
Definition at line 92 of file NViewMatches.h.
typedef vnl_c_vector< int >::abs_t vnl_vector< int >::abs_t [inherited] |
typedef int const * vnl_vector< int >::const_iterator [inherited] |
typedef int vnl_vector< int >::element_type [inherited] |
typedef int * vnl_vector< int >::iterator [inherited] |
typedef unsigned vnl_vector< int >::size_type [inherited] |
anonymous enum [inherited] |
Definition at line 41 of file NViewMatches.h.
OffsetNViewMatch::OffsetNViewMatch | ( | int | min_view, |
int | max_view | ||
) | [inline] |
Definition at line 96 of file NViewMatches.h.
OffsetNViewMatch::OffsetNViewMatch | ( | const OffsetNViewMatch & | that | ) | [inline] |
Definition at line 102 of file NViewMatches.h.
vnl_vector< int > vnl_vector< int >::apply | ( | int (*)(int ) | f | ) | const [inherited] |
vnl_vector< int > vnl_vector< int >::apply | ( | int (*)(int const &) | f | ) | const [inherited] |
unsigned vnl_vector< int >::arg_max | ( | ) | const [inherited] |
unsigned vnl_vector< int >::arg_min | ( | ) | const [inherited] |
vnl_vector< int > const & vnl_vector< int >::as_ref | ( | ) | const [inherited] |
vnl_vector< int > & vnl_vector< int >::as_ref | ( | ) | [inherited] |
void vnl_vector< int >::assert_finite | ( | ) | const [inherited] |
void vnl_vector< int >::assert_finite_internal | ( | ) | const [protected, inherited] |
void vnl_vector< int >::assert_size | ( | unsigned | sz | ) | const [inherited] |
void vnl_vector< int >::assert_size_internal | ( | unsigned | sz | ) | const [protected, inherited] |
iterator vnl_vector< int >::begin | ( | ) | [inherited] |
const_iterator vnl_vector< int >::begin | ( | ) | const [inherited] |
void vnl_vector< int >::clear | ( | ) | [inherited] |
vnl_vector & vnl_vector< int >::copy_in | ( | int const * | ptr | ) | [inherited] |
void vnl_vector< int >::copy_out | ( | int * | ) | const [inherited] |
int NViewMatch::count_observations | ( | ) | const [inherited] |
Count how many non-wildcard entries are in this NViewMatch.
Definition at line 70 of file NViewMatches.cxx.
int const * vnl_vector< int >::data_block | ( | ) | const [inherited] |
int * vnl_vector< int >::data_block | ( | ) | [inherited] |
void vnl_vector< int >::destroy | ( | ) | [protected, inherited] |
bool vnl_vector< int >::empty | ( | ) | const [inherited] |
iterator vnl_vector< int >::end | ( | ) | [inherited] |
const_iterator vnl_vector< int >::end | ( | ) | const [inherited] |
vnl_vector< int > vnl_vector< int >::extract | ( | unsigned int | len, |
unsigned int | start = 0 |
||
) | const [inherited] |
vnl_vector & vnl_vector< int >::fill | ( | int const & | v | ) | [inherited] |
vnl_vector & vnl_vector< int >::flip | ( | ) | [inherited] |
int vnl_vector< int >::get | ( | unsigned int | i | ) | const [inherited] |
void NViewMatch::incorporate | ( | const NViewMatch & | b | ) | [inherited] |
Fill any wildcard positions with the corresponding position in B.
Definition at line 50 of file NViewMatches.cxx.
abs_t vnl_vector< int >::inf_norm | ( | ) | const [inherited] |
static void vnl_vector< int >::inline_function_tickler | ( | ) | [static, protected, inherited] |
bool NViewMatch::is_consistent | ( | const NViewMatch & | b | ) | const [inherited] |
Check for any inconsistencies between matches.
Definition at line 59 of file NViewMatches.cxx.
bool vnl_vector< int >::is_equal | ( | vnl_vector< int > const & | rhs, |
double | tol | ||
) | const [inherited] |
bool vnl_vector< int >::is_finite | ( | ) | const [inherited] |
bool vnl_vector< int >::is_zero | ( | ) | const [inherited] |
abs_t vnl_vector< int >::magnitude | ( | ) | const [inherited] |
bool NViewMatch::matches | ( | const NViewMatch & | b, |
int | min_overlap | ||
) | const [inherited] |
Return true if B is consistent with this match.
Matches are consistent if they are identical in all non-wildcard positions. However, it additionally requires that they share at least min_overlap non-wildcard positions.
Definition at line 30 of file NViewMatches.cxx.
int vnl_vector< int >::max_value | ( | ) | const [inherited] |
int vnl_vector< int >::mean | ( | ) | const [inherited] |
int vnl_vector< int >::min_value | ( | ) | const [inherited] |
vnl_vector< int > & vnl_vector< int >::normalize | ( | ) | [inherited] |
abs_t vnl_vector< int >::one_norm | ( | ) | const [inherited] |
bool vnl_vector< int >::operator!= | ( | vnl_vector< int > const & | that | ) | const [inherited] |
int & vnl_vector< int >::operator() | ( | unsigned int | i | ) | [inherited] |
int const & vnl_vector< int >::operator() | ( | unsigned int | i | ) | const [inherited] |
vnl_vector< int > vnl_vector< int >::operator* | ( | int | v | ) | const [inherited] |
vnl_vector< int > vnl_vector< int >::operator* | ( | vnl_matrix< int > const & | M | ) | const [inherited] |
vnl_vector< int > vnl_vector< int >::operator* | ( | vnl_diag_matrix< int > const & | D, |
vnl_vector< int > const & | A | ||
) | [inherited] |
vnl_vector< int > vnl_vector< int >::operator* | ( | vnl_vector< int > const & | A, |
vnl_diag_matrix< int > const & | D | ||
) | [inherited] |
vnl_vector< int > vnl_vector< int >::operator* | ( | int | s, |
vnl_vector< int > const & | v | ||
) | [inherited] |
vnl_vector< int > & vnl_vector< int >::operator*= | ( | int | ) | [inherited] |
vnl_vector< int > & vnl_vector< int >::operator*= | ( | vnl_matrix< int > const & | m | ) | [inherited] |
vnl_vector< int > vnl_vector< int >::operator+ | ( | ) | const [inherited] |
vnl_vector< int > vnl_vector< int >::operator+ | ( | int | v | ) | const [inherited] |
vnl_vector< int > vnl_vector< int >::operator+ | ( | vnl_vector< int > const & | v | ) | const [inherited] |
vnl_vector< int > vnl_vector< int >::operator+ | ( | int | s, |
vnl_vector< int > const & | v | ||
) | [inherited] |
vnl_vector< int > & vnl_vector< int >::operator+= | ( | vnl_vector< int > const & | rhs | ) | [inherited] |
vnl_vector< int > & vnl_vector< int >::operator+= | ( | int | ) | [inherited] |
vnl_vector< int > vnl_vector< int >::operator- | ( | vnl_vector< int > const & | v | ) | const [inherited] |
vnl_vector< int > vnl_vector< int >::operator- | ( | int | v | ) | const [inherited] |
vnl_vector< int > vnl_vector< int >::operator- | ( | int | s, |
vnl_vector< int > const & | v | ||
) | [inherited] |
vnl_vector< int > vnl_vector< int >::operator- | ( | ) | const [inherited] |
vnl_vector< int > & vnl_vector< int >::operator-= | ( | int | value | ) | [inherited] |
vnl_vector< int > & vnl_vector< int >::operator-= | ( | vnl_vector< int > const & | rhs | ) | [inherited] |
vnl_vector< int > vnl_vector< int >::operator/ | ( | int | v | ) | const [inherited] |
vnl_vector< int > & vnl_vector< int >::operator/= | ( | int | ) | [inherited] |
bool vnl_vector< int >::operator< | ( | vnl_vector< int > const & | lhs, |
vnl_vector< int > const & | rhs | ||
) | [inherited] |
export vcl_ostream & vnl_vector< int >::operator<< | ( | vcl_ostream & | , |
vnl_vector< int > const & | |||
) | [inherited] |
OffsetNViewMatch& OffsetNViewMatch::operator= | ( | const OffsetNViewMatch & | that | ) | [inline] |
Definition at line 108 of file NViewMatches.h.
bool vnl_vector< int >::operator== | ( | vnl_vector< int > const & | that | ) | const [inherited] |
export vcl_istream & vnl_vector< int >::operator>> | ( | vcl_istream & | , |
vnl_vector< int > & | |||
) | [inherited] |
int & vnl_vector< int >::operator[] | ( | unsigned int | i | ) | [inherited] |
int const & vnl_vector< int >::operator[] | ( | unsigned int | i | ) | const [inherited] |
int& OffsetNViewMatch::operator[] | ( | int | i | ) | [inline] |
Definition at line 115 of file NViewMatches.h.
bool vnl_vector< int >::operator_eq | ( | vnl_vector< int > const & | v | ) | const [inherited] |
vnl_vector< int > & vnl_vector< int >::post_multiply | ( | vnl_matrix< int > const & | M | ) | [inherited] |
vnl_vector< int > & vnl_vector< int >::pre_multiply | ( | vnl_matrix< int > const & | M | ) | [inherited] |
void vnl_vector< int >::put | ( | unsigned int | i, |
int const & | |||
) | [inherited] |
static vnl_vector< int > vnl_vector< int >::read | ( | vcl_istream & | s | ) | [static, inherited] |
bool vnl_vector< int >::read_ascii | ( | vcl_istream & | s | ) | [inherited] |
abs_t vnl_vector< int >::rms | ( | ) | const [inherited] |
vnl_vector & vnl_vector< int >::set | ( | int const * | ptr | ) | [inherited] |
bool vnl_vector< int >::set_size | ( | unsigned | n | ) | [inherited] |
unsigned vnl_vector< int >::size | ( | ) | const [inherited] |
abs_t vnl_vector< int >::squared_magnitude | ( | ) | const [inherited] |
int vnl_vector< int >::sum | ( | ) | const [inherited] |
void vnl_vector< int >::swap | ( | vnl_vector< int > & | that | ) | [inherited] |
void vnl_vector< int >::swap | ( | vnl_vector< int > & | a, |
vnl_vector< int > & | b | ||
) | [inherited] |
abs_t vnl_vector< int >::two_norm | ( | ) | const [inherited] |
vnl_vector< int > & vnl_vector< int >::update | ( | vnl_vector< int > const & | , |
unsigned int | start = 0 |
||
) | [inherited] |
vnl_vector< vcl_complex< int > > vnl_vector< int >::vnl_complexify | ( | vnl_vector< int > const & | R, |
vnl_vector< int > const & | I | ||
) | [inherited] |
vnl_vector< vcl_complex< int > > vnl_vector< int >::vnl_complexify | ( | vnl_vector< int > const & | R | ) | [inherited] |
vnl_vector< int > vnl_vector< int >::vnl_convolve | ( | vnl_vector< int > const & | v1, |
vnl_vector< int > const & | v2, | ||
int | use_fft = 0 |
||
) | [inherited] |
vnl_vector< U > vnl_vector< int >::vnl_convolve_cyclic | ( | vnl_vector< T1 > const & | v1, |
vnl_vector< T2 > const & | v2, | ||
U * | , | ||
bool | use_fft = false |
||
) | [inherited] |
void vnl_vector< int >::vnl_copy | ( | S const & | , |
int & | |||
) | [inherited] |
void vnl_vector< int >::vnl_copy | ( | S const * | src, |
int * | dst, | ||
unsigned | n | ||
) | [inherited] |
int vnl_vector< int >::vnl_cross_2d | ( | const vnl_vector< int > & | v1, |
const vnl_vector< int > & | v2 | ||
) | [inherited] |
vnl_vector< int > vnl_vector< int >::vnl_cross_3d | ( | const vnl_vector< int > & | v1, |
const vnl_vector< int > & | v2 | ||
) | [inherited] |
vnl_vector< int > vnl_vector< int >::vnl_imag | ( | vnl_vector< vcl_complex< int > > const & | C | ) | [inherited] |
vcl_ostream & vnl_vector< int >::vnl_matlab_print | ( | vcl_ostream & | , |
vnl_vector< int > const & | , | ||
char const * | variable_name = 0 , |
||
vnl_matlab_print_format | = vnl_matlab_print_format_default |
||
) | [inherited] |
vnl_vector< int > vnl_vector< int >::vnl_real | ( | vnl_vector< vcl_complex< int > > const & | C | ) | [inherited] |
int vnl_vector< int >::vnl_vector_ssd | ( | vnl_vector< int > const & | v1, |
vnl_vector< int > const & | v2 | ||
) | [inherited] |
void vnl_vector< int >::vsl_b_read | ( | vsl_b_istream & | is, |
vnl_vector< int > & | v | ||
) | [inherited] |
void vnl_vector< int >::vsl_b_write | ( | vsl_b_ostream & | os, |
const vnl_vector< int > & | v | ||
) | [inherited] |
void vnl_vector< int >::vsl_print_summary | ( | vcl_ostream & | os, |
const vnl_vector< int > & | b | ||
) | [inherited] |
void vnl_vector< int >::x_write | ( | vcl_ostream & | os, |
vnl_vector< int > const & | v, | ||
vcl_string | name = "vnl_vector< int >" |
||
) | [inherited] |
void vnl_vector< int >::x_write_tree | ( | vcl_ostream & | os, |
vnl_vector< int > const & | v, | ||
vcl_string | name = "vnl_vector< int >" |
||
) | [inherited] |
friend class vnl_matrix | ( | ) | [friend, inherited] |
int * vnl_vector< int >::data [protected, inherited] |
int OffsetNViewMatch::min_view_ [private] |
Definition at line 94 of file NViewMatches.h.
unsigned vnl_vector< int >::num_elmts [protected, inherited] |