| 118 | } |
| 119 | |
| 120 | bool ImageStatisticsContainer::StatisticsExist(LabelValueType labelValue, TimeStepType timeStep) const |
| 121 | { |
| 122 | auto labelFinding = m_LabelTimeStep2StatisticsMap.find(labelValue); |
| 123 | if (labelFinding == m_LabelTimeStep2StatisticsMap.end()) return false; |
| 124 | |
| 125 | auto timeFinding = labelFinding->second.find(timeStep); |
| 126 | |
| 127 | return timeFinding != labelFinding->second.end(); |
| 128 | } |
| 129 | |
| 130 | const ImageStatisticsContainer::HistogramType* |
| 131 | ImageStatisticsContainer::GetHistogram(LabelValueType labelValue, TimeStepType timeStep) const |