Mercurial > hg > orthanc
diff OrthancServer/SliceOrdering.h @ 2804:d88970f1ffbf
fix ordering of non-parallel slices + /tools/reconstruct
author | Sebastien Jodogne <s.jodogne@gmail.com> |
---|---|
date | Wed, 29 Aug 2018 13:24:28 +0200 |
parents | 878b59270859 |
children | 4e43e67f8ecf |
line wrap: on
line diff
--- a/OrthancServer/SliceOrdering.h Tue Aug 28 15:14:33 2018 +0200 +++ b/OrthancServer/SliceOrdering.h Wed Aug 29 13:24:28 2018 +0200 @@ -52,6 +52,12 @@ std::vector<Instance*> instances_; bool isVolume_; + static bool ComputeNormal(Vector& normal, + const DicomMap& dicom); + + static bool IsParallelOrOpposite(const Vector& a, + const Vector& b); + static bool IndexInSeriesComparator(const SliceOrdering::Instance* a, const SliceOrdering::Instance* b);