OTB  9.0.0
Orfeo Toolbox
otbSarBrightnessToImageFilter.h
Go to the documentation of this file.
1 /*
2  * Copyright (C) 1999-2011 Insight Software Consortium
3  * Copyright (C) 2005-2022 Centre National d'Etudes Spatiales (CNES)
4  *
5  * This file is part of Orfeo Toolbox
6  *
7  * https://www.orfeo-toolbox.org/
8  *
9  * Licensed under the Apache License, Version 2.0 (the "License");
10  * you may not use this file except in compliance with the License.
11  * You may obtain a copy of the License at
12  *
13  * http://www.apache.org/licenses/LICENSE-2.0
14  *
15  * Unless required by applicable law or agreed to in writing, software
16  * distributed under the License is distributed on an "AS IS" BASIS,
17  * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
18  * See the License for the specific language governing permissions and
19  * limitations under the License.
20  */
21 
22 #ifndef otbSarBrightnessToImageFilter_h
23 #define otbSarBrightnessToImageFilter_h
24 
27 
28 namespace otb
29 {
30 
41 template <class TInputImage, class TOutputImage>
42 class ITK_EXPORT SarBrightnessToImageFilter : public FunctionToImageFilter<TInputImage, TOutputImage, SarBrightnessFunction<TInputImage>>
43 {
44 public:
48  typedef itk::SmartPointer<Self> Pointer;
49  typedef itk::SmartPointer<const Self> ConstPointer;
50 
52  itkNewMacro(Self);
53 
56 
68 
78 
79  void SetEnableNoise(bool inArg)
80  {
81  this->GetFunction()->SetEnableNoise(inArg);
82  }
83 
84 protected:
87  {
88  }
89 
91  void BeforeThreadedGenerateData() override;
92 
93  void PrintSelf(std::ostream& os, itk::Indent indent) const override;
94 
95 private:
96  SarBrightnessToImageFilter(const Self&) = delete;
97  void operator=(const Self&) = delete;
98 };
99 
100 } // end namespace otb
101 
102 #ifndef OTB_MANUAL_INSTANTIATION
104 #endif
105 
106 #endif
otb::SarBrightnessToImageFilter::FunctionValueType
Superclass::FunctionValueType FunctionValueType
Definition: otbSarBrightnessToImageFilter.h:73
otb::FunctionToImageFilter< TInputImage, TOutputImage, SarBrightnessFunction< TInputImage > >::InputImagePixelType
InputImageType::PixelType InputImagePixelType
Definition: otbFunctionToImageFilter.h:76
otbFunctionToImageFilter.h
otb::FunctionToImageFilter< TInputImage, TOutputImage, SarBrightnessFunction< TInputImage > >::FunctionPositionType
FunctionType::InputType FunctionPositionType
Definition: otbFunctionToImageFilter.h:86
otb::FunctionToImageFilter< TInputImage, TOutputImage, SarBrightnessFunction< TInputImage > >::FunctionValueType
FunctionType::OutputType FunctionValueType
Definition: otbFunctionToImageFilter.h:85
otb::SarBrightnessToImageFilter::InputImagePointer
Superclass::InputImagePointer InputImagePointer
Definition: otbSarBrightnessToImageFilter.h:61
otb::SarBrightnessToImageFilter::FunctionPointer
Superclass::FunctionPointer FunctionPointer
Definition: otbSarBrightnessToImageFilter.h:72
otb::SarBrightnessFunction::ParametricFunctionPointer
ParametricFunctionType::Pointer ParametricFunctionPointer
Definition: otbSarBrightnessFunction.h:82
otb::FunctionToImageFilter< TInputImage, TOutputImage, SarBrightnessFunction< TInputImage > >::OutputImagePointer
OutputImageType::Pointer OutputImagePointer
Definition: otbFunctionToImageFilter.h:78
otb::FunctionToImageFilter< TInputImage, TOutputImage, SarBrightnessFunction< TInputImage > >::OutputImageRegionType
OutputImageType::RegionType OutputImageRegionType
Definition: otbFunctionToImageFilter.h:79
otb
The "otb" namespace contains all Orfeo Toolbox (OTB) classes.
Definition: otbJoinContainer.h:32
otb::SarBrightnessToImageFilter::FunctionType
Superclass::FunctionType FunctionType
Definition: otbSarBrightnessToImageFilter.h:71
otbSarBrightnessToImageFilter.hxx
otb::SarBrightnessToImageFilter::ConstPointer
itk::SmartPointer< const Self > ConstPointer
Definition: otbSarBrightnessToImageFilter.h:49
otb::SarBrightnessToImageFilter::OutputImageType
Superclass::OutputImageType OutputImageType
Definition: otbSarBrightnessToImageFilter.h:64
otb::SarBrightnessFunction::ParametricFunctionConstPointer
ParametricFunctionType::ConstPointer ParametricFunctionConstPointer
Definition: otbSarBrightnessFunction.h:83
otb::FunctionToImageFilter< TInputImage, TOutputImage, SarBrightnessFunction< TInputImage > >::InputImageRegionType
InputImageType::RegionType InputImageRegionType
Definition: otbFunctionToImageFilter.h:75
otb::SarBrightnessToImageFilter::~SarBrightnessToImageFilter
~SarBrightnessToImageFilter() override
Definition: otbSarBrightnessToImageFilter.h:86
otb::SarBrightnessToImageFilter::OutputImageRegionType
Superclass::OutputImageRegionType OutputImageRegionType
Definition: otbSarBrightnessToImageFilter.h:66
otb::SarBrightnessToImageFilter::Superclass
FunctionToImageFilter< TInputImage, TOutputImage, SarBrightnessFunction< TInputImage > > Superclass
Definition: otbSarBrightnessToImageFilter.h:47
otb::FunctionToImageFilter< TInputImage, TOutputImage, SarBrightnessFunction< TInputImage > >::OutputImagePixelType
OutputImageType::PixelType OutputImagePixelType
Definition: otbFunctionToImageFilter.h:80
otb::SarBrightnessToImageFilter::InputImageType
Superclass::InputImageType InputImageType
Definition: otbSarBrightnessToImageFilter.h:55
otb::SarBrightnessToImageFilter::OutputImagePixelType
Superclass::OutputImagePixelType OutputImagePixelType
Definition: otbSarBrightnessToImageFilter.h:67
otb::FunctionToImageFilter< TInputImage, TOutputImage, SarBrightnessFunction< TInputImage > >::InputImagePointer
InputImageType::ConstPointer InputImagePointer
Definition: otbFunctionToImageFilter.h:74
otb::FunctionToImageFilter< TInputImage, TOutputImage, SarBrightnessFunction< TInputImage > >::OutputImageType
TOutputImage OutputImageType
Definition: otbFunctionToImageFilter.h:77
otb::SarBrightnessToImageFilter::Self
SarBrightnessToImageFilter Self
Definition: otbSarBrightnessToImageFilter.h:46
otb::SarBrightnessToImageFilter::ParametricFunctionType
FunctionType::ParametricFunctionType ParametricFunctionType
Definition: otbSarBrightnessToImageFilter.h:77
otb::SarBrightnessFunction
Calculate the backscatter for the given pixel.
Definition: otbSarBrightnessFunction.h:49
otb::FunctionToImageFilter
Evaluates a ImageFunction onto a source image.
Definition: otbFunctionToImageFilter.h:55
otb::SarBrightnessToImageFilter::SetEnableNoise
void SetEnableNoise(bool inArg)
Definition: otbSarBrightnessToImageFilter.h:79
otb::SarParametricMapFunction
Evaluates a parametric bidimensionnal polynomial model from a PointSet.
Definition: otbSarParametricMapFunction.h:43
otb::SarBrightnessToImageFilter::ParametricFunctionConstPointer
FunctionType::ParametricFunctionConstPointer ParametricFunctionConstPointer
Definition: otbSarBrightnessToImageFilter.h:76
otb::SarBrightnessToImageFilter::ParametricFunctionPointer
FunctionType::ParametricFunctionPointer ParametricFunctionPointer
Definition: otbSarBrightnessToImageFilter.h:75
otb::SarBrightnessToImageFilter::InputImagePixelType
Superclass::InputImagePixelType InputImagePixelType
Definition: otbSarBrightnessToImageFilter.h:63
otb::SarBrightnessToImageFilter::OutputImagePointer
Superclass::OutputImagePointer OutputImagePointer
Definition: otbSarBrightnessToImageFilter.h:65
otb::SarBrightnessToImageFilter::FunctionPositionType
Superclass::FunctionPositionType FunctionPositionType
Definition: otbSarBrightnessToImageFilter.h:74
otb::SarBrightnessToImageFilter::Pointer
itk::SmartPointer< Self > Pointer
Definition: otbSarBrightnessToImageFilter.h:48
otbSarBrightnessFunction.h
otb::FunctionToImageFilter< TInputImage, TOutputImage, SarBrightnessFunction< TInputImage > >::FunctionPointer
FunctionType::Pointer FunctionPointer
Definition: otbFunctionToImageFilter.h:84
otb::SarBrightnessToImageFilter
Evaluates the SarBrightnessFunction onto a source image.
Definition: otbSarBrightnessToImageFilter.h:42
otb::FunctionToImageFilter< TInputImage, TOutputImage, SarBrightnessFunction< TInputImage > >::InputImageType
TInputImage InputImageType
Definition: otbFunctionToImageFilter.h:68
otb::SarBrightnessToImageFilter::InputImageRegionType
Superclass::InputImageRegionType InputImageRegionType
Definition: otbSarBrightnessToImageFilter.h:62