MCPcopy Create free account
hub / github.com/city-super/Octree-GS / getPathToImgs

Method getPathToImgs

SIBR_viewers/src/core/imgproc/CropScaleImageUtility.cpp:17–31  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

15namespace sibr {
16
17 std::vector<std::string> CropScaleImageUtility::getPathToImgs(const std::string & inputFileName)
18 {
19 std::ifstream inputFile(inputFileName);
20 std::string line;
21 std::vector<std::string> pathToImgs;
22 while (getline(inputFile, line)) {
23 std::stringstream ss(line);
24 std::string path;
25 unsigned width, height;
26 ss >> path >> width >> height;
27 pathToImgs.push_back(path);
28 }
29 inputFile.close();
30 return pathToImgs;
31 }
32
33 void CropScaleImageUtility::logExecution(const sibr::Vector2i & originalResolution, unsigned nrImages, long long elapsedTime, bool wasTransformed, const char* log_file_name)
34 {

Callers 1

mainFunction · 0.80

Calls 2

push_backMethod · 0.80
closeMethod · 0.45

Tested by

no test coverage detected