18 #ifndef itkImageToHistogramFilter_h
19 #define itkImageToHistogramFilter_h
49 template <
typename TImage>
123 itkSetGetDecoratedInputMacro(AutoMinimumMaximum,
bool);
124 itkBooleanMacro(AutoMinimumMaximum);
138 Superclass::SetNumberOfStreamDivisions(n);
143 return Superclass::GetNumberOfStreamDivisions();
150 PrintSelf(std::ostream & os,
Indent indent)
const override;
153 StreamedGenerateData(
unsigned int inputRequestedRegionNumber)
override;
156 InitializeOutputHistogram();
158 AfterStreamedGenerateData()
override;
162 using Superclass::MakeOutput;
168 GetNumberOfInputRequestedRegions()
override;
171 ThreadedStreamedGenerateData(
const RegionType &)
override;
173 ThreadedComputeMinimumAndMaximum(
const RegionType & inputRegionForThread);
179 std::mutex m_Mutex{};
188 ApplyMarginalScale(HistogramMeasurementVectorType & min,
189 HistogramMeasurementVectorType & max,
190 HistogramSizeType & size);
195 #ifndef ITK_MANUAL_INSTANTIATION
196 # include "itkImageToHistogramFilter.hxx"