22 #ifndef otbShiftScaleVectorImageFilter_hxx
23 #define otbShiftScaleVectorImageFilter_hxx
32 template <
class TInputImage,
class TOutputImage>
35 this->Superclass::GenerateOutputInformation();
36 this->GetOutput()->SetNumberOfComponentsPerPixel(this->GetInput()->GetNumberOfComponentsPerPixel());
42 template <
class TInputImage,
class TOutputImage>
47 typename TInputImage::Pointer input =
const_cast<TInputImage*
>(this->GetInput());
48 typename TInputImage::RegionType inputRegion;
49 this->CallCopyOutputRegionToInputRegion(inputRegion, this->GetOutput()->GetRequestedRegion());
50 input->SetRequestedRegion(inputRegion);
57 template <
class TInputImage,
class TOutputImage>
61 this->GetFunctor().SetScaleValues(m_Scale);
62 this->GetFunctor().SetShiftValues(m_Shift);