Mercurial > hg > orthanc-stone
diff Framework/Toolbox/DicomStructureSet.cpp @ 790:9f68155c75b0
speeding up LinearAlgebra::ParseVector()
author | Sebastien Jodogne <s.jodogne@gmail.com> |
---|---|
date | Tue, 28 May 2019 08:29:01 +0200 |
parents | 5aa728500586 |
children | 4fe4b221a31f |
line wrap: on
line diff
--- a/Framework/Toolbox/DicomStructureSet.cpp Tue May 28 07:48:57 2019 +0200 +++ b/Framework/Toolbox/DicomStructureSet.cpp Tue May 28 08:29:01 2019 +0200 @@ -31,7 +31,6 @@ #include <limits> #include <stdio.h> -#include <boost/lexical_cast.hpp> #include <boost/geometry.hpp> #include <boost/geometry/geometries/point_xy.hpp> #include <boost/geometry/geometries/polygon.hpp> @@ -422,7 +421,6 @@ << static_cast<int>(structures_[i].green_) << "," << static_cast<int>(structures_[i].blue_) << ")"; - // These temporary variables avoid allocating many vectors in the loop below OrthancPlugins::DicomPath countPointsPath(DICOM_TAG_ROI_CONTOUR_SEQUENCE, i, DICOM_TAG_CONTOUR_SEQUENCE, 0,