00001 #ifndef _HMatrix2DCompute4Line_ 00002 #define _HMatrix2DCompute4Line_ 00003 //-------------------------------------------------------------- 00004 //: 00005 // \file 00006 // 00007 // HMatrix2DCompute4Line computes the homography relating 00008 // two sets of four homogeneous lines in general position. 00009 // 00010 // \author fsm, Oxford RRG, 8 February 1998 00011 00012 #include "HMatrix2DCompute.h" 00013 00014 class HMatrix2DCompute4Line : public HMatrix2DCompute { 00015 //-------------------------------------------------------------------------------- 00016 protected: 00017 bool compute_l(const LineArray&, 00018 const LineArray&, 00019 HMatrix2D *); 00020 //-------------------------------------------------------------------------------- 00021 public: 00022 int minimum_number_of_correspondences() const { return 4; } 00023 }; 00024 00025 #endif // _HMatrix2DCompute4Line_