EgoVideoStabilizer
1.0.0
|
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"
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... | |
Header functions for the master_frames.cpp.
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.
experiment_settings | - object with the experiment settings. |
num_frames | - number of frames of the reduced video. |
std::vector<int>
- vector with the master frames found in the sequence.int length | ( | int | number | ) |
Function that counts the digits of the number.
number | - number to calculate the number of digits. |
int
- number of digits of the input number.