diff --git a/Code/BasicFilters/otbStreamingMinMaxImageFilter.h b/Code/BasicFilters/otbStreamingMinMaxImageFilter.h index 4cbe75c264f5b9d22c0f0cfd16b82ae8056397f8..60120be19280e631620e707a85da6b2672d739bb 100644 --- a/Code/BasicFilters/otbStreamingMinMaxImageFilter.h +++ b/Code/BasicFilters/otbStreamingMinMaxImageFilter.h @@ -195,6 +195,10 @@ public: { this->GetFilter()->SetInput(input); } + const InputImageType * GetInput() + { + return this->GetFilter()->GetInput(); + } /** Return the computed Minimum. */ PixelType GetMinimum() const @@ -203,11 +207,11 @@ public: } PixelObjectType* GetMinimumOutput() { - return this->GetFilter()->MinimumOutput(); + return this->GetFilter()->GetMinimumOutput(); } const PixelObjectType* GetMinimumOutput() const { - return this->GetFilter()->MinimumOutput(); + return this->GetFilter()->GetMinimumOutput(); } /** Return the computed Maximum. */ PixelType GetMaximum() const diff --git a/Code/BasicFilters/otbStreamingMinMaxVectorImageFilter.h b/Code/BasicFilters/otbStreamingMinMaxVectorImageFilter.h index f684babd32376ef3c4aed0f09f8bc42c2434311b..998a4870937b2e14952d5a0a152ba455d1cddb69 100644 --- a/Code/BasicFilters/otbStreamingMinMaxVectorImageFilter.h +++ b/Code/BasicFilters/otbStreamingMinMaxVectorImageFilter.h @@ -195,11 +195,11 @@ public: typedef typename StatFilterType::PixelObjectType PixelObjectType; typedef typename StatFilterType::MatrixObjectType MatrixObjectType; - void SetInput(TInputImage * input) + void SetInput(InputImageType * input) { this->GetFilter()->SetInput(input); } - TInputImage * GetInput() + const InputImageType * GetInput() { return this->GetFilter()->GetInput(); } diff --git a/Code/BasicFilters/otbStreamingStatisticsImageFilter.h b/Code/BasicFilters/otbStreamingStatisticsImageFilter.h index 00b615460feb748cbf845b01ba48342b0cbb8293..3c5dc618460e167e51effaf60f631413c891f44c 100644 --- a/Code/BasicFilters/otbStreamingStatisticsImageFilter.h +++ b/Code/BasicFilters/otbStreamingStatisticsImageFilter.h @@ -230,6 +230,10 @@ public: { this->GetFilter()->SetInput(input); } + const InputImageType * GetInput() + { + return this->GetFilter()->GetInput(); + } /** Return the computed Minimum. */ PixelType GetMinimum() const diff --git a/Code/BasicFilters/otbStreamingStatisticsVectorImageFilter.h b/Code/BasicFilters/otbStreamingStatisticsVectorImageFilter.h index db5e25eeaf4ca3cef37e358077f06e63aad65e7c..55bd5c87b03f0d9fa46e40669efd74d235a1e173 100644 --- a/Code/BasicFilters/otbStreamingStatisticsVectorImageFilter.h +++ b/Code/BasicFilters/otbStreamingStatisticsVectorImageFilter.h @@ -223,11 +223,11 @@ public: typedef typename StatFilterType::PixelObjectType PixelObjectType; typedef typename StatFilterType::MatrixObjectType MatrixObjectType; - void SetInput(TInputImage * input) + void SetInput(InputImageType * input) { this->GetFilter()->SetInput(input); } - TInputImage * GetInput() + const InputImageType * GetInput() { return this->GetFilter()->GetInput(); }