rgbd
rgbd copied to clipboard
how to remove outlier points?
if(a ~= 0) fprintf('.'); % For some reason the bilateral filtering library crashes on some inputs, remove outlier points! maxRefI = prctile(linIt(refI(:,:,4)), 98); refI(:,:,4) = min(refI(:,:,4), maxRefI); minRefI = prctile(linIt(refI(:,:,4)), 2); refI(:,:,4) = max(refI(:,:,4), minRefI); out = jointBilateral(refI, I, sigma1, sigma2); else % % Read back the results out = isRead(f{3});
Can you tell me how to remove outlier points? matlab crashed when i run this part. Thanks. @s-gupta