OTB  10.0.0
Orfeo Toolbox
otbJoinHistogramMIImageFilter.h
Go to the documentation of this file.
1 /*
2  * Copyright (C) 2005-2024 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 otbJoinHistogramMIImageFilter_h
22 #define otbJoinHistogramMIImageFilter_h
23 
25 #include "otbJoinHistogramMI.h"
26 #include "otbMacro.h" //for
27 
28 namespace otb
29 {
30 
58 template <class TInputImage1, class TInputImage2, class TOutputImage>
61  TInputImage1, TInputImage2, TOutputImage,
62  Functor::JoinHistogramMI<typename itk::ConstNeighborhoodIterator<TInputImage1>, typename itk::ConstNeighborhoodIterator<TInputImage2>,
63  typename TOutputImage::PixelType>>
64 {
65 public:
69  TInputImage1, TInputImage2, TOutputImage,
70  Functor::JoinHistogramMI<typename itk::ConstNeighborhoodIterator<TInputImage1>, typename itk::ConstNeighborhoodIterator<TInputImage2>,
71  typename TOutputImage::PixelType>>
73  typedef itk::SmartPointer<Self> Pointer;
74  typedef itk::SmartPointer<const Self> ConstPointer;
75 
77  itkNewMacro(Self);
78 
80  itkTypeMacro(JoinHistogramMIImageFilter, SuperClass);
81 
82 protected:
85 
86 private:
87  JoinHistogramMIImageFilter(const Self&) = delete;
88  void operator=(const Self&) = delete;
89 };
90 
91 } // end namespace otb
92 
93 #endif
Implements neighborhood-wise the computation of mutual information using a join histogram.
itk::SmartPointer< const Self > ConstPointer
JoinHistogramMIImageFilter(const Self &)=delete
BinaryFunctorNeighborhoodJoinHistogramImageFilter< TInputImage1, TInputImage2, TOutputImage, Functor::JoinHistogramMI< typename itk::ConstNeighborhoodIterator< TInputImage1 >, typename itk::ConstNeighborhoodIterator< TInputImage2 >, typename TOutputImage::PixelType > > Superclass
void operator=(const Self &)=delete
The "otb" namespace contains all Orfeo Toolbox (OTB) classes.