1
1
#include < opencv2/opencv.hpp>
2
2
#include " common/OpenCV_CrossPlatform.h"
3
- #include " imgproc/FileFetch .h"
3
+ #include " VolumeDeformFileFetch .h"
4
4
5
- void surfelwarp::FileFetch ::FetchDepthImage (size_t frame_idx, cv::Mat & depth_img)
5
+ void surfelwarp::VolumeDeformFileFetch ::FetchDepthImage (size_t frame_idx, cv::Mat & depth_img)
6
6
{
7
7
path file_path = FileNameSurfelWarp (frame_idx, true );
8
8
// Read the image
9
9
depth_img = cv::imread (file_path.string (), CV_ANYCOLOR | CV_ANYDEPTH);
10
10
}
11
11
12
- void surfelwarp::FileFetch ::FetchDepthImage (size_t frame_idx, void * depth_img)
12
+ void surfelwarp::VolumeDeformFileFetch ::FetchDepthImage (size_t frame_idx, void * depth_img)
13
13
{
14
14
15
15
}
16
16
17
- void surfelwarp::FileFetch ::FetchRGBImage (size_t frame_idx, cv::Mat & rgb_img)
17
+ void surfelwarp::VolumeDeformFileFetch ::FetchRGBImage (size_t frame_idx, cv::Mat & rgb_img)
18
18
{
19
19
path file_path = FileNameSurfelWarp (frame_idx, false );
20
20
// Read the image
21
21
rgb_img = cv::imread (file_path.string (), CV_ANYCOLOR | CV_ANYDEPTH);
22
22
}
23
23
24
- void surfelwarp::FileFetch ::FetchRGBImage (size_t frame_idx, void * rgb_img)
24
+ void surfelwarp::VolumeDeformFileFetch ::FetchRGBImage (size_t frame_idx, void * rgb_img)
25
25
{
26
26
27
27
}
28
28
29
- boost::filesystem::path surfelwarp::FileFetch ::FileNameVolumeDeform (size_t frame_idx, bool is_depth_img) const
29
+ boost::filesystem::path surfelwarp::VolumeDeformFileFetch ::FileNameVolumeDeform (size_t frame_idx, bool is_depth_img) const
30
30
{
31
31
// Construct the file_name
32
32
char frame_idx_str[20 ];
@@ -48,6 +48,6 @@ boost::filesystem::path surfelwarp::FileFetch::FileNameVolumeDeform(size_t frame
48
48
49
49
50
50
51
- boost::filesystem::path surfelwarp::FileFetch ::FileNameSurfelWarp (size_t frame_idx, bool is_depth_img) const {
51
+ boost::filesystem::path surfelwarp::VolumeDeformFileFetch ::FileNameSurfelWarp (size_t frame_idx, bool is_depth_img) const {
52
52
return FileNameVolumeDeform (frame_idx, is_depth_img);
53
53
}
0 commit comments