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?
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?