OTB  9.0.0
Orfeo Toolbox
otbProfileDerivativeToMultiScaleCharacteristicsFilter.h
Go to the documentation of this file.
1 /*
2  * Copyright (C) 2005-2022 Centre National d'Etudes Spatiales (CNES)
3  *
4  * This file is part of Orfeo Toolbox
5  *
6  * https://www.orfeo-toolbox.org/
7  *
8  * Licensed under the Apache License, Version 2.0 (the "License");
9  * you may not use this file except in compliance with the License.
10  * You may obtain a copy of the License at
11  *
12  * http://www.apache.org/licenses/LICENSE-2.0
13  *
14  * Unless required by applicable law or agreed to in writing, software
15  * distributed under the License is distributed on an "AS IS" BASIS,
16  * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
17  * See the License for the specific language governing permissions and
18  * limitations under the License.
19  */
20 
21 #ifndef otbProfileDerivativeToMultiScaleCharacteristicsFilter_h
22 #define otbProfileDerivativeToMultiScaleCharacteristicsFilter_h
23 
25 
26 namespace otb
27 {
44 template <class TInputImage, class TOutputImage, class TLabeledImage>
45 class ITK_EXPORT ProfileDerivativeToMultiScaleCharacteristicsFilter : public ImageListToImageFilter<TInputImage, TOutputImage>
46 {
47 public:
51  typedef itk::SmartPointer<Self> Pointer;
52  typedef itk::SmartPointer<const Self> ConstPointer;
53 
55  itkNewMacro(Self);
56 
59 
61  typedef TInputImage InputImageType;
62  typedef TOutputImage OutputImageType;
63  typedef TLabeledImage LabeledImageType;
64  typedef typename InputImageType::Pointer InputImagePointerType;
65  typedef typename OutputImageType::Pointer OutputImagePointerType;
66  typedef typename LabeledImageType::Pointer LabeledImagePointerType;
67  typedef typename Superclass::InputImageListType InputImageListType;
69  typedef typename OutputImageType::RegionType RegionType;
70  typedef typename LabeledImageType::PixelType LabeledPixelType;
71  typedef typename OutputImageType::PixelType OutputPixelType;
72 
77  virtual TLabeledImage* GetOutputCharacteristics(void);
78 
80  itkSetMacro(InitialValue, LabeledPixelType);
81  itkGetMacro(InitialValue, LabeledPixelType);
82 
84  itkSetMacro(Step, LabeledPixelType);
85  itkGetMacro(Step, LabeledPixelType);
87 
88 protected:
90  void GenerateData(void) override;
91 
96  void GenerateOutputInformation(void) override;
97 
102  void GenerateInputRequestedRegion(void) override;
103 
106 
109  {
110  }
111 
113  void PrintSelf(std::ostream& os, itk::Indent indent) const override;
114 
115 private:
117  void operator=(const Self&) = delete;
118 
121 
124 };
125 } // End namespace otb
126 #ifndef OTB_MANUAL_INSTANTIATION
128 #endif
129 
130 #endif
otb::ProfileDerivativeToMultiScaleCharacteristicsFilter::OutputPixelType
OutputImageType::PixelType OutputPixelType
Definition: otbProfileDerivativeToMultiScaleCharacteristicsFilter.h:71
otb::ProfileDerivativeToMultiScaleCharacteristicsFilter::LabeledImagePointerType
LabeledImageType::Pointer LabeledImagePointerType
Definition: otbProfileDerivativeToMultiScaleCharacteristicsFilter.h:66
otb::ImageListToImageFilter
Base class for all the filters taking an images list as input to produce an image.
Definition: otbImageListToImageFilter.h:40
otb::ProfileDerivativeToMultiScaleCharacteristicsFilter::m_Step
LabeledPixelType m_Step
Definition: otbProfileDerivativeToMultiScaleCharacteristicsFilter.h:123
otb::ProfileDerivativeToMultiScaleCharacteristicsFilter::m_InitialValue
LabeledPixelType m_InitialValue
Definition: otbProfileDerivativeToMultiScaleCharacteristicsFilter.h:120
otb::ProfileDerivativeToMultiScaleCharacteristicsFilter::LabeledImageType
TLabeledImage LabeledImageType
Definition: otbProfileDerivativeToMultiScaleCharacteristicsFilter.h:63
otb
The "otb" namespace contains all Orfeo Toolbox (OTB) classes.
Definition: otbJoinContainer.h:32
otb::ProfileDerivativeToMultiScaleCharacteristicsFilter::OutputImageType
TOutputImage OutputImageType
Definition: otbProfileDerivativeToMultiScaleCharacteristicsFilter.h:62
otb::ProfileDerivativeToMultiScaleCharacteristicsFilter::Superclass
ImageListToImageFilter< TInputImage, TOutputImage > Superclass
Definition: otbProfileDerivativeToMultiScaleCharacteristicsFilter.h:50
otb::ProfileDerivativeToMultiScaleCharacteristicsFilter
This filter extracts the maximum derivative value of the input profile.
Definition: otbProfileDerivativeToMultiScaleCharacteristicsFilter.h:45
otb::ProfileDerivativeToMultiScaleCharacteristicsFilter::OutputImagePointerType
OutputImageType::Pointer OutputImagePointerType
Definition: otbProfileDerivativeToMultiScaleCharacteristicsFilter.h:65
otb::ProfileDerivativeToMultiScaleCharacteristicsFilter::Self
ProfileDerivativeToMultiScaleCharacteristicsFilter Self
Definition: otbProfileDerivativeToMultiScaleCharacteristicsFilter.h:49
otb::ProfileDerivativeToMultiScaleCharacteristicsFilter::Pointer
itk::SmartPointer< Self > Pointer
Definition: otbProfileDerivativeToMultiScaleCharacteristicsFilter.h:51
otb::ImageList::Pointer
itk::SmartPointer< Self > Pointer
Definition: otbImageList.h:45
otb::ProfileDerivativeToMultiScaleCharacteristicsFilter::~ProfileDerivativeToMultiScaleCharacteristicsFilter
~ProfileDerivativeToMultiScaleCharacteristicsFilter() override
Definition: otbProfileDerivativeToMultiScaleCharacteristicsFilter.h:108
otb::ProfileDerivativeToMultiScaleCharacteristicsFilter::InputImageType
TInputImage InputImageType
Definition: otbProfileDerivativeToMultiScaleCharacteristicsFilter.h:58
otb::ProfileDerivativeToMultiScaleCharacteristicsFilter::InputImagePointerType
InputImageType::Pointer InputImagePointerType
Definition: otbProfileDerivativeToMultiScaleCharacteristicsFilter.h:64
otbImageListToImageFilter.h
otbProfileDerivativeToMultiScaleCharacteristicsFilter.hxx
otb::ProfileDerivativeToMultiScaleCharacteristicsFilter::RegionType
OutputImageType::RegionType RegionType
Definition: otbProfileDerivativeToMultiScaleCharacteristicsFilter.h:69
otb::ProfileDerivativeToMultiScaleCharacteristicsFilter::LabeledPixelType
LabeledImageType::PixelType LabeledPixelType
Definition: otbProfileDerivativeToMultiScaleCharacteristicsFilter.h:70
otb::ProfileDerivativeToMultiScaleCharacteristicsFilter::ConstPointer
itk::SmartPointer< const Self > ConstPointer
Definition: otbProfileDerivativeToMultiScaleCharacteristicsFilter.h:52
otb::ProfileDerivativeToMultiScaleCharacteristicsFilter::InputImageListPointerType
InputImageListType::Pointer InputImageListPointerType
Definition: otbProfileDerivativeToMultiScaleCharacteristicsFilter.h:68
otb::ImageToImageListFilter
Base class for all the filters taking an image input to produce an image list.
Definition: otbImageToImageListFilter.h:39
otb::ProfileDerivativeToMultiScaleCharacteristicsFilter::InputImageListType
Superclass::InputImageListType InputImageListType
Definition: otbProfileDerivativeToMultiScaleCharacteristicsFilter.h:67