EgoVideoStabilizer
1.0.0
|
Functions to get the master frames from file or calculating it. More...
Functions | |
int | length (int number) |
Function that counts the digits of the number. More... | |
std::vector< int > | findMasterFrames (const EXPERIMENT &experiment_settings) |
Function that calculates the master frames in a sequence given a N in the field segmentSize in the experiment_settings in a non-parallel (sequential) way. More... | |
std::vector< int > | findMasterFramesParallel (const EXPERIMENT &experiment_settings) |
Function that calculates the master frames in a sequence given a N in the field segmentSize in the experiment_settings in a parallel way. More... | |
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... | |
Functions to get the master frames from file or calculating it.
Calculate master frames. Calculate master frames in a parallel way. Call file_operations.cpp methods to get read master frames from file.
std::vector<int> findMasterFrames | ( | const EXPERIMENT & | experiment_settings | ) |
Function that calculates the master frames in a sequence given a N in the field segmentSize in the experiment_settings in a non-parallel (sequential) way.
experiment_settings | - object with the experiment settings. |
std::vector<int>
- vector with the master frames found in the sequence.std::vector<int> findMasterFramesParallel | ( | const EXPERIMENT & | experiment_settings | ) |
Function that calculates the master frames in a sequence given a N in the field segmentSize in the experiment_settings in a parallel way.
experiment_settings | - object with the experiment settings. |
std::vector<int>
- vector with the master frames found in the sequence.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.