clear;clc;
resolution = 3000/sqrt(10);
oriDataPath = '../compressedPath/PointCloudPLY';
predictDataPath = strcat('../reconstructedPath/reconstructedPointsCloud/',num2str(qp));
oriList = dir(fullfile(oriDataPath,'*.ply'));
predictList = dir(fullfile(predictDataPath,'*.ply'));
for i = 1 : length(oriList)
oriName = strcat(oriDataPath,'/',oriList(i).name);
predictName = strcat(predictDataPath,'/',predictList(i).name);
fprintf("calculate pointcloud:
command = ['pc_error.exe ' ...
'-a ' oriName ...
' -b ' predictName ...
' -c ' ...
'-r ' num2str(resolution) ...
' --dropdups=2 ' ...
'neighborsProc=1 ' ...
'-d'];
dos(command);
end
exit();