21 #ifndef otbCLHistogramEqualizationFilter_hxx
22 #define otbCLHistogramEqualizationFilter_hxx
25 #include "itkImageRegionIterator.h"
31 template <
class TInputImage,
class TOutputImage>
52 template <
class TInputImage,
class TOutputImage>
56 m_HistoFilter->SetInput(input);
57 m_BufferFilter->SetInput(input);
58 m_ApplyGainFilter->GetOutput()->UpdateOutputInformation();
59 this->GetOutput()->CopyInformation(m_ApplyGainFilter->GetOutput());
62 template <
class TInputImage,
class TOutputImage>
65 m_ApplyGainFilter->GetOutput()->SetRequestedRegion(
static_cast<OutputImageType*
>(output)->GetRequestedRegion());
66 m_ApplyGainFilter->GetOutput()->PropagateRequestedRegion();
69 template <
class TInputImage,
class TOutputImage>
72 m_ApplyGainFilter->GraftOutput(this->GetOutput());
73 m_ApplyGainFilter->Update();
74 this->GraftOutput(m_ApplyGainFilter->GetOutput());
80 template <
class TInputImage,
class TOutputImage>
83 Superclass::PrintSelf(os, indent);
84 os << indent <<
"Minimum : " << m_Min << std::endl;
85 os << indent <<
"Maximum : " << m_Max << std::endl;
86 os << indent <<
"Bin Number : " << m_NbBin << std::endl;
87 os << indent <<
"Thumbnail size : " << m_ThumbSize << std::endl;
88 os << indent <<
"Threshold value : " << m_Threshold << std::endl;
89 os << indent <<
"Is no data activated : " << m_NoDataFlag << std::endl;
90 os << indent <<
"No Data : " << m_NoData << std::endl;