hubertgabrys/DicomToolboxMatlab

Support for nonmonotonically defined structure slices

Closed this issue · 0 comments

hg_calcStructMasks()

if ~(isequal(zCoords, sort(zCoords,'descend')) || isequal(zCoords, sort(zCoords,'ascend'))) %safe check
disp('slices definitions non monotonic!'); % Fix it!
continue;
end