-
Notifications
You must be signed in to change notification settings - Fork 0
/
IAS_features.h
37 lines (26 loc) · 1.37 KB
/
IAS_features.h
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
#ifndef _IAS_FEATURES_H_
#define _IAS_FEATURES_H_
#include <iostream>
#include <vector>
#include "iaas_functions/iaas.h"
/* New function
*
*/
void FindFeatures(std::vector<std::string> pathImages, std::string pathOutFile, bool verb);
void printFeatures(std::string filePath, list<featureMovement> listFeatures);
/*Use the functions that are in the folder 'iaas_functions' to find features.
*The vanishing point calculated and the features found are written in the file 'pathOutFile'.
*To write the date the function 'Print_vp_and_features' is used.
* pathImages: paths of the images to analyze;
* pathOutFile: name/path of the file where to write the data found.
*/
void OldFind_features(std::vector<std::string> pathImages, std::string pathOutFile, bool verb);
/*Print in the file defined by the input path 'filePath' the vanishin point 'vp' and the feature detected,
*that are in 'a_records' in the 'num_records' images.
*/
void Print_vp_and_features(std::string filePath, int num_records, CvPoint2D32f vp, TrackRecord *a_records);
/*Extract the coordinates of features and of the vanishing point from the file 'filePath'.
*The results are stored in 'feat_coord' and 'vp'.
*/
void Extract_features_file(std::string filePath, std::vector<std::vector<std::vector<double> > > *feat_coord, std::vector<double> *vp);
#endif //_IAS_FEATURES_H_