SLAMflex SE  0.1.0
SLAMflex provides detection and tracking of dominant planes for smartphone devices. This plane can then be used to show AR content relative to the plane orientation. The detection of plane is performed in the field of view of the smartphone camera. In subsequent frames it is tracked. The interface returns the plane position and orientation.
SmallBlurryImage.h
Go to the documentation of this file.
1 // -*- c++ -*-
2 // Copyright 2008 Isis Innovation Limited
3 //
4 // SmallBlurryImage - A small and blurry representation of an image.
5 // used by the relocaliser.
6 
7 #ifndef __SMALLBLURRYIMAGE_H
8 #define __SMALLBLURRYIMAGE_H
9 #include "image.h"
10 #include "byte.h"
11 #include "se2.h"
12 #include "se3.h"
13 #include "KeyFrame.h"
14 #include "ATANCamera.h"
15 #include "globals.h"
16 
18 {
19  public:
21  SmallBlurryImage(KeyFrame &kf, double dBlur = 2.5);
22  void MakeFromKF(KeyFrame &kf, double dBlur = 2.5);
23  void MakeJacs();
24  double ZMSSD(SmallBlurryImage &other);
25  std::pair<SE2<>,double> IteratePosRelToTarget(SmallBlurryImage &other, int nIterations = 10);
26  static SE3<> SE3fromSE2(SE2<> se2, ATANCamera camera);
27 
28 protected:
32  bool mbMadeJacs;
34 };
35 
36 
37 
38 #endif
39 
40 
41 
42 
43 
44 
45 
46 
47 
std::pair< SE2<>, double > IteratePosRelToTarget(SmallBlurryImage &other, int nIterations=10)
void MakeFromKF(KeyFrame &kf, double dBlur=2.5)
static CVD::ImageRef mirSize
Definition: se2.h:52
CVD::Image< float > mimTemplate
CVD::Image< CVD::byte > mimSmall
Definition: se3.h:50
CVD::Image< Vector< 2 > > mimImageJacs
double ZMSSD(SmallBlurryImage &other)
static SE3 SE3fromSE2(SE2<> se2, ATANCamera camera)