Macros | Functions
vpgl_essential_matrix.hxx File Reference
#include <iosfwd>
#include "vpgl_essential_matrix.h"
#include <vnl/vnl_fwd.h>
#include <vnl/vnl_vector_fixed.h>
#include <vnl/vnl_matrix_fixed.h>
#include <vnl/vnl_det.h>
#include <vgl/vgl_point_2d.h>
#include <vgl/vgl_point_3d.h>
#include <vgl/vgl_homg_point_3d.h>
#include <vgl/algo/vgl_rotation_3d.h>
#include "vpgl_proj_camera.h"

Go to the source code of this file.

Macros

#define vpgl_ESSENTIAL_MATRIX_INSTANTIATE(T)
 

Functions

template<class T >
bool extract_left_camera (const vpgl_essential_matrix< T > &E, const vgl_point_2d< T > &left_corr, const vgl_point_2d< T > &right_corr, vpgl_perspective_camera< T > &p_left, const T translation_mag)
 Left camera extractor. Normalized correspondence pair is needed to determine which of four solutions should be used, i.e. focal plane coordinates. More...
 
template<class T >
std::ostream & operator<< (std::ostream &s, vpgl_essential_matrix< T > const &p)
 vpgl_essential_matrix stream I/O. More...
 
template<class T >
std::istream & operator>> (std::istream &s, vpgl_essential_matrix< T > &p)
 Read vpgl_perspective_camera from stream. More...
 

Macro Definition Documentation

◆ vpgl_ESSENTIAL_MATRIX_INSTANTIATE

#define vpgl_ESSENTIAL_MATRIX_INSTANTIATE (   T)
Value:
template class vpgl_essential_matrix<T >; \
const vgl_point_2d<T >& left_corr, \
const vgl_point_2d<T >& right_corr, \
const T translation_mag); \
template std::ostream& operator<<(std::ostream&, const vpgl_essential_matrix<T >&); \
template std::istream& operator>>(std::istream&, vpgl_essential_matrix<T >&)
bool extract_left_camera(const vpgl_essential_matrix< T > &E, const vgl_point_2d< T > &left_corr, const vgl_point_2d< T > &right_corr, vpgl_perspective_camera< T > &p_left, const T translation_mag)
Left camera extractor. Normalized correspondence pair is needed to determine which of four solutions ...
std::istream & operator>>(std::istream &is, vpgl_local_rational_camera< T > &p)
Read from stream.
std::ostream & operator<<(std::ostream &s, const vpgl_local_rational_camera< T > &p)
Write to stream.
This class implements the perspective camera class as described in Hartley & Zisserman as a finite ca...

Definition at line 167 of file vpgl_essential_matrix.hxx.

Function Documentation

◆ extract_left_camera()

template<class T >
bool extract_left_camera ( const vpgl_essential_matrix< T > &  E,
const vgl_point_2d< T > &  left_corr,
const vgl_point_2d< T > &  right_corr,
vpgl_perspective_camera< T > &  p_left,
const T  translation_mag = (T) 1 
)

Left camera extractor. Normalized correspondence pair is needed to determine which of four solutions should be used, i.e. focal plane coordinates.

The translation part of the camera is normalized to the indicated magnitude.

Definition at line 86 of file vpgl_essential_matrix.hxx.

◆ operator<<()

template<class T >
std::ostream& operator<< ( std::ostream &  s,
vpgl_essential_matrix< T > const &  p 
)

vpgl_essential_matrix stream I/O.

Definition at line 149 of file vpgl_essential_matrix.hxx.

◆ operator>>()

template<class T >
std::istream& operator>> ( std::istream &  s,
vpgl_essential_matrix< T > &  p 
)

Read vpgl_perspective_camera from stream.

Definition at line 157 of file vpgl_essential_matrix.hxx.