EgoVideoStabilizer  1.0.0
master_frames.h File Reference

Header functions for the master_frames.cpp. More...

#include <stdio.h>
#include <iostream>
#include <fstream>
#include <omp.h>
#include <armadillo>
#include <opencv2/core/core.hpp>
#include <opencv2/features2d/features2d.hpp>
#include <opencv2/highgui/highgui.hpp>
#include <opencv2/nonfree/nonfree.hpp>
#include <opencv2/calib3d/calib3d.hpp>
#include <opencv2/imgproc/imgproc.hpp>
#include "definitions/experiment_struct.h"
#include "homography.h"
#include "file_operations.h"
Include dependency graph for master_frames.h:
This graph shows which files directly or indirectly include this file:

Go to the source code of this file.

Functions

std::vector< int > getMasterFrames (const EXPERIMENT experiment_settings, const int num_frames)
 Function that return the master frames in a sequence according with experiment settings, by load from a file or calculating them. More...
 
int length (int number)
 Function that counts the digits of the number. More...
 

Detailed Description

Header functions for the master_frames.cpp.

Function Documentation

std::vector<int> getMasterFrames ( const EXPERIMENT  experiment_settings,
const int  num_frames 
)

Function that return the master frames in a sequence according with experiment settings, by load from a file or calculating them.

Parameters
experiment_settings- object with the experiment settings.
num_frames- number of frames of the reduced video.
Returns
std::vector<int> - vector with the master frames found in the sequence.
Author
Michel Melo da Silva
Date
04/04/2016
int length ( int  number)

Function that counts the digits of the number.

Parameters
number- number to calculate the number of digits.
Returns
int - number of digits of the input number.
Author
Michel Melo da Silva
Date
20/04/2016