Skip to content
GitLab
Explore
Sign in
Primary navigation
Search or go to…
Project
otb
Manage
Activity
Members
Labels
Plan
Issues
Issue boards
Milestones
Wiki
Code
Merge requests
Repository
Branches
Commits
Tags
Repository graph
Compare revisions
Snippets
Build
Pipelines
Jobs
Pipeline schedules
Artifacts
Deploy
Releases
Container registry
Model registry
Operate
Environments
Monitor
Incidents
Analyze
Value stream analytics
Contributor analytics
CI/CD analytics
Repository analytics
Model experiments
Help
Help
Support
GitLab documentation
Compare GitLab plans
Community forum
Contribute to GitLab
Provide feedback
Keyboard shortcuts
?
Snippets
Groups
Projects
Show more breadcrumbs
Antoine Belvire
otb
Commits
24225ec8
Commit
24225ec8
authored
16 years ago
by
Julien Michel
Browse files
Options
Downloads
Patches
Plain Diff
STYLE: This class should not derive from InPlaceImageFilter, even with InPlaceOff().
parent
eed88a8f
No related branches found
No related tags found
No related merge requests found
Changes
2
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
Code/Common/otbBinaryFunctorNeighborhoodImageFilter.h
+4
-4
4 additions, 4 deletions
Code/Common/otbBinaryFunctorNeighborhoodImageFilter.h
Code/Common/otbBinaryFunctorNeighborhoodImageFilter.txx
+0
-1
0 additions, 1 deletion
Code/Common/otbBinaryFunctorNeighborhoodImageFilter.txx
with
4 additions
and
5 deletions
Code/Common/otbBinaryFunctorNeighborhoodImageFilter.h
+
4
−
4
View file @
24225ec8
...
...
@@ -18,7 +18,7 @@
#ifndef __otbBinaryFunctorNeighborhoodImageFilter_h
#define __otbBinaryFunctorNeighborhoodImageFilter_h
#include
"itk
BinaryFunctor
ImageFilter.h"
#include
"itk
ImageTo
ImageFilter.h"
#include
"itkImageRegionIteratorWithIndex.h"
#include
"itkConstNeighborhoodIterator.h"
...
...
@@ -36,12 +36,12 @@ namespace otb
*/
template
<
class
TInputImage1
,
class
TInputImage2
,
class
TOutputImage
,
class
TFunction
>
class
ITK_EXPORT
BinaryFunctorNeighborhoodImageFilter
:
public
itk
::
I
nPlace
ImageFilter
<
TInputImage1
,
TOutputImage
>
class
ITK_EXPORT
BinaryFunctorNeighborhoodImageFilter
:
public
itk
::
I
mageTo
ImageFilter
<
TInputImage1
,
TOutputImage
>
{
public:
/** Standard class typedefs. */
typedef
BinaryFunctorNeighborhoodImageFilter
Self
;
typedef
itk
::
BinaryFunctor
ImageFilter
<
TInputImage1
,
T
InputImage2
,
TOutputImage
,
TFunction
>
Superclass
;
typedef
itk
::
ImageTo
ImageFilter
<
TInputImage1
,
T
OutputImage
>
Superclass
;
typedef
itk
::
SmartPointer
<
Self
>
Pointer
;
typedef
itk
::
SmartPointer
<
const
Self
>
ConstPointer
;
...
...
@@ -65,7 +65,7 @@ public:
typedef
TOutputImage
OutputImageType
;
typedef
typename
OutputImageType
::
Pointer
OutputImagePointer
;
typedef
typename
OutputImageType
::
RegionType
OutputImageRegionType
;
typedef
typename
OutputImageType
::
PixelType
OutputImagePixelType
;
typedef
typename
OutputImageType
::
PixelType
OutputImagePixelType
;
typedef
itk
::
ProcessObject
ProcessObjectType
;
...
...
This diff is collapsed.
Click to expand it.
Code/Common/otbBinaryFunctorNeighborhoodImageFilter.txx
+
0
−
1
View file @
24225ec8
...
...
@@ -36,7 +36,6 @@ BinaryFunctorNeighborhoodImageFilter<TInputImage1,TInputImage2,TOutputImage,TFun
::BinaryFunctorNeighborhoodImageFilter()
{
this->SetNumberOfRequiredInputs( 2 );
this->InPlaceOff();
m_Radius = 3;
}
...
...
This diff is collapsed.
Click to expand it.
Preview
0%
Loading
Try again
or
attach a new file
.
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Save comment
Cancel
Please
register
or
sign in
to comment