#include <NViewMatches.h>
Inheritance diagram for NViewMatch:

Definition at line 38 of file NViewMatches.h.
Public Types | |
| enum | { nomatch = -1 } |
| typedef int | element_type |
| typedef int * | iterator |
| typedef intconst * | const_iterator |
| typedef vnl_c_vector< int >::abs_t | abs_t |
Public Member Functions | |
| NViewMatch () | |
| NViewMatch (int n) | |
| 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 |
| void | fill (intconst &v) |
| void | copy_in (intconst *ptr) |
| void | copy_out (int *) const |
| void | 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 |
| int | mean () const |
| int | sum () const |
| void | 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 | 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< 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) |
| 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 > &) |
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 |
Friends | |
| friend class | vnl_matrix |
typedef int vnl_vector< int >::element_type [inherited] |
typedef int * vnl_vector< int >::iterator [inherited] |
typedef int const * vnl_vector< int >::const_iterator [inherited] |
typedef vnl_c_vector< int >::abs_t vnl_vector< int >::abs_t [inherited] |
| anonymous enum |
| NViewMatch::NViewMatch | ( | ) | [inline] |
Definition at line 44 of file NViewMatches.h.
| NViewMatch::NViewMatch | ( | int | n | ) | [inline] |
Definition at line 45 of file NViewMatches.h.
| bool NViewMatch::matches | ( | const NViewMatch & | b, | |
| int | min_overlap | |||
| ) | const |
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.
| void NViewMatch::incorporate | ( | const NViewMatch & | b | ) |
Fill any wildcard positions with the corresponding position in B.
Definition at line 50 of file NViewMatches.cxx.
| bool NViewMatch::is_consistent | ( | const NViewMatch & | b | ) | const |
| int NViewMatch::count_observations | ( | ) | const |
Count how many non-wildcard entries are in this NViewMatch.
Definition at line 70 of file NViewMatches.cxx.
| unsigned vnl_vector< int >::size | ( | ) | const [inherited] |
| void vnl_vector< int >::put | ( | unsigned int | i, | |
| int const & | ||||
| ) | [inherited] |
| int vnl_vector< int >::get | ( | unsigned int | i | ) | const [inherited] |
| void vnl_vector< int >::fill | ( | int const & | v | ) | [inherited] |
| void vnl_vector< int >::copy_in | ( | int const * | ptr | ) | [inherited] |
| void vnl_vector< int >::copy_out | ( | int * | ) | const [inherited] |
| void vnl_vector< int >::set | ( | int const * | ptr | ) | [inherited] |
| int & vnl_vector< int >::operator() | ( | unsigned int | i | ) | [inherited] |
| int const & vnl_vector< int >::operator() | ( | unsigned int | i | ) | 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 | ) | [inherited] |
| vnl_vector< int > & vnl_vector< int >::operator+= | ( | vnl_vector< int > const & | rhs | ) | [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 | ) | [inherited] |
| vnl_vector< int > & vnl_vector< int >::operator *= | ( | vnl_matrix< int > const & | m | ) | [inherited] |
| vnl_vector< int > & vnl_vector< int >::operator/= | ( | int | ) | [inherited] |
| vnl_vector< int > & vnl_vector< int >::pre_multiply | ( | vnl_matrix< int > const & | M | ) | [inherited] |
| vnl_vector< int > & vnl_vector< int >::post_multiply | ( | 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- | ( | ) | 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 * | ( | 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 | v | ) | const [inherited] |
| int const * vnl_vector< int >::data_block | ( | ) | const [inherited] |
| int * vnl_vector< int >::data_block | ( | ) | [inherited] |
| iterator vnl_vector< int >::begin | ( | ) | [inherited] |
| const_iterator vnl_vector< int >::begin | ( | ) | const [inherited] |
| iterator vnl_vector< int >::end | ( | ) | [inherited] |
| const_iterator vnl_vector< int >::end | ( | ) | const [inherited] |
| vnl_vector< int > const & vnl_vector< int >::as_ref | ( | ) | const [inherited] |
| vnl_vector< int > & vnl_vector< int >::as_ref | ( | ) | [inherited] |
| 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] |
| vnl_vector< int > vnl_vector< int >::extract | ( | unsigned int | len, | |
| unsigned int | start = 0 | |||
| ) | const [inherited] |
| vnl_vector< int > & vnl_vector< int >::update | ( | vnl_vector< int > const & | , | |
| unsigned int | start = 0 | |||
| ) | [inherited] |
| abs_t vnl_vector< int >::squared_magnitude | ( | ) | const [inherited] |
| abs_t vnl_vector< int >::magnitude | ( | ) | const [inherited] |
| abs_t vnl_vector< int >::one_norm | ( | ) | const [inherited] |
| abs_t vnl_vector< int >::two_norm | ( | ) | const [inherited] |
| abs_t vnl_vector< int >::inf_norm | ( | ) | const [inherited] |
| vnl_vector< int > & vnl_vector< int >::normalize | ( | ) | [inherited] |
| abs_t vnl_vector< int >::rms | ( | ) | const [inherited] |
| int vnl_vector< int >::min_value | ( | ) | const [inherited] |
| int vnl_vector< int >::max_value | ( | ) | const [inherited] |
| int vnl_vector< int >::mean | ( | ) | const [inherited] |
| int vnl_vector< int >::sum | ( | ) | const [inherited] |
| void vnl_vector< int >::flip | ( | ) | [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] |
| void vnl_vector< int >::assert_size | ( | unsigned | sz | ) | const [inherited] |
| void vnl_vector< int >::assert_finite | ( | ) | const [inherited] |
| bool vnl_vector< int >::is_finite | ( | ) | const [inherited] |
| bool vnl_vector< int >::is_zero | ( | ) | const [inherited] |
| bool vnl_vector< int >::empty | ( | ) | const [inherited] |
| bool vnl_vector< int >::operator_eq | ( | vnl_vector< int > const & | v | ) | const [inherited] |
| bool vnl_vector< int >::operator== | ( | vnl_vector< int > const & | that | ) | const [inherited] |
| bool vnl_vector< int >::operator!= | ( | vnl_vector< int > const & | that | ) | const [inherited] |
| bool vnl_vector< int >::set_size | ( | unsigned | n | ) | [inherited] |
| void vnl_vector< int >::clear | ( | ) | [inherited] |
| bool vnl_vector< int >::read_ascii | ( | vcl_istream & | s | ) | [inherited] |
| static vnl_vector< int > vnl_vector< int >::read | ( | vcl_istream & | s | ) | [static, inherited] |
| void vnl_vector< int >::assert_size_internal | ( | unsigned | sz | ) | const [protected, inherited] |
| void vnl_vector< int >::assert_finite_internal | ( | ) | const [protected, inherited] |
| void vnl_vector< int >::destroy | ( | ) | [protected, inherited] |
| static void vnl_vector< int >::inline_function_tickler | ( | ) | [static, protected, inherited] |
| vnl_vector< vcl_complex< int > > vnl_vector< int >::vnl_complexify | ( | vnl_vector< int > const & | R | ) | [inherited] |
| vnl_vector< vcl_complex< int > > vnl_vector< int >::vnl_complexify | ( | vnl_vector< int > const & | R, | |
| vnl_vector< int > const & | I | |||
| ) | [inherited] |
| void vnl_vector< int >::vnl_copy | ( | S const * |