Yijunmaverick / DeepJointFilter

The source code of ECCV16 'Deep Joint Image Filtering'.
MIT License
83 stars 27 forks source link

How to upsample on Sun dataset? #5

Closed YNX940214 closed 6 years ago

YNX940214 commented 6 years ago

Here is how i calculate the RMSE of bicubic method with Sun dataset: 0 make a mask with raw depth !=0 1 downsample depth_bfx with scale 2 upsample with matlab resize('bicubic') 3 res=depth_bfx - upsampled_depth 4 calcalute bicubic RMSE as : sum(res(mask))/sum(mask(:))

But the result is far worse from 3.45 of 8 scale in the paper ,so this leads to bad result in algorithm result. For other datasets, the data is correct. What is the correct way to upsample the downsampled image and calculate RMSE in Sun?