51 if (slices.empty())
return;
54 float highestNuScore(-std::numeric_limits<float>::max());
55 unsigned int mostProbableSliceIndex(std::numeric_limits<unsigned int>::max());
57 for (
unsigned int sliceIndex = 0; sliceIndex < slices.size(); ++sliceIndex) {
58 const float nuScore(slices.at(sliceIndex).GetTopologicalScore());
59 if (nuScore > highestNuScore) {
60 highestNuScore = nuScore;
61 mostProbableSliceIndex = sliceIndex;
66 slices.at(mostProbableSliceIndex).TagAsTarget();