diff --git a/denseFlow.cpp b/denseFlow.cpp index e35a48e..c7e10df 100644 --- a/denseFlow.cpp +++ b/denseFlow.cpp @@ -97,7 +97,7 @@ int main(int argc, char** argv) sprintf(tmp,"_%04d.jpg",int(frame_num)); imwrite(xFlowFile + tmp,imgX); imwrite(yFlowFile + tmp,imgY); - imwrite(image + tmp, cflow); + imwrite(imgFile + tmp, cflow); std::swap(prev_grey, grey); std::swap(prev_image, image); diff --git a/extractOpticalFlow_gpu.m b/extractOpticalFlow_gpu.m index e7602d9..7cfa79e 100644 --- a/extractOpticalFlow_gpu.m +++ b/extractOpticalFlow_gpu.m @@ -1,13 +1,6 @@ function [] = extractOpticalFlow_gpu(index, device_id, type) -% path1 = '/nfs/lmwang/lmwang/Data/UCF101/ucf101_org/'; -% if type ==0 -% path2 = '/media/sdb/lmwang/data/UCF101/ucf101_flow_img_farn_gpu_step_2/'; -% elseif type ==1 -% path2 = '/media/sdb/lmwang/data/UCF101/ucf101_flow_img_tvl1_gpu_step_2/'; -% else -% path2 = '/media/sdb/lmwang/data/UCF101/ucf101_flow_img_brox_gpu_step_2/'; -% end + path1 = '/nfs/lmwang/lmwang/Data/HMDB51/hmdb51_org/';