| 9 | #include <algorithm> |
| 10 | |
| 11 | void AnnotationToMask::setProgressMonitor(ProgressMonitor* monitor) { |
| 12 | _monitor = monitor; |
| 13 | } |
| 14 | |
| 15 | void AnnotationToMask::convert(const std::shared_ptr<AnnotationList>& annotationList, const std::string& maskFile, const std::vector<unsigned long long>& dimensions, const std::vector<double>& spacing, const std::map<std::string, int> nameToLabel, const std::vector<std::string> nameOrder) const { |
| 16 | bool hasGroups = !annotationList->getGroups().empty(); |