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
Package registry
Container Registry
Model registry
Operate
Environments
Terraform modules
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
David Youssefi
otb
Commits
dc7edace
Commit
dc7edace
authored
15 years ago
by
Emmanuel Christophe
Browse files
Options
Downloads
Patches
Plain Diff
DOC: fix bug
#143
(other locations) + STYLE
parent
f9f840a8
No related branches found
Branches containing commit
No related tags found
Tags containing commit
No related merge requests found
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
Code/BasicFilters/otbVectorRescaleIntensityImageFilter.h
+22
-23
22 additions, 23 deletions
Code/BasicFilters/otbVectorRescaleIntensityImageFilter.h
with
22 additions
and
23 deletions
Code/BasicFilters/otbVectorRescaleIntensityImageFilter.h
+
22
−
23
View file @
dc7edace
...
...
@@ -86,19 +86,19 @@ public:
bool
operator
!=
(
const
VectorAffineTransform
&
other
)
const
{
if
(
m_OutputMaximum
.
Size
()
==
other
.
GetOutputM
ax
imum
().
Size
())
if
(
m_OutputMaximum
.
Size
()
==
other
.
GetOutputM
in
imum
().
Size
())
{
for
(
unsigned
int
i
=
0
;
i
<
m_OutputM
ax
imum
.
Size
();
++
i
)
for
(
unsigned
int
i
=
0
;
i
<
m_OutputM
in
imum
.
Size
();
++
i
)
{
if
(
m_OutputM
ax
imum
[
i
]
!=
other
.
GetOutputM
ax
imum
()[
i
]
)
if
(
m_OutputM
in
imum
[
i
]
!=
other
.
GetOutputM
in
imum
()[
i
]
)
{
return
true
;
}
}
}
if
(
m_OutputMaximum
.
Size
()
==
other
.
GetOutputMaximum
().
Size
())
if
(
m_OutputMaximum
.
Size
()
==
other
.
GetOutputMaximum
().
Size
())
{
for
(
unsigned
int
i
=
0
;
i
<
m_OutputMaximum
.
Size
();
++
i
)
for
(
unsigned
int
i
=
0
;
i
<
m_OutputMaximum
.
Size
();
++
i
)
{
if
(
m_OutputMaximum
[
i
]
!=
other
.
GetOutputMaximum
()[
i
]
)
{
...
...
@@ -106,9 +106,9 @@ public:
}
}
}
if
(
m_InputMinimum
.
Size
()
==
other
.
GetInputMinimum
().
Size
())
if
(
m_InputMinimum
.
Size
()
==
other
.
GetInputMinimum
().
Size
())
{
for
(
unsigned
int
i
=
0
;
i
<
m_InputMinimum
.
Size
();
++
i
)
for
(
unsigned
int
i
=
0
;
i
<
m_InputMinimum
.
Size
();
++
i
)
{
if
(
m_InputMinimum
[
i
]
!=
other
.
GetInputMinimum
()[
i
]
)
{
...
...
@@ -116,9 +116,9 @@ public:
}
}
}
if
(
m_InputMaximum
.
Size
()
==
other
.
GetInputMaximum
().
Size
())
if
(
m_InputMaximum
.
Size
()
==
other
.
GetInputMaximum
().
Size
())
{
for
(
unsigned
int
i
=
0
;
i
<
m_InputMaximum
.
Size
();
++
i
)
for
(
unsigned
int
i
=
0
;
i
<
m_InputMaximum
.
Size
();
++
i
)
{
if
(
m_InputMaximum
[
i
]
!=
other
.
GetInputMaximum
()[
i
]
)
{
...
...
@@ -177,8 +177,8 @@ public:
private
:
TOutput
m_OutputMaximum
;
TOutput
m_OutputMinimum
;
TInput
m_InputMinimum
;
TInput
m_InputMaximum
;
TInput
m_InputMinimum
;
TInput
m_InputMaximum
;
};
}
// end namespace functor
...
...
@@ -204,19 +204,18 @@ class ITK_EXPORT VectorRescaleIntensityImageFilter
{
public:
/** Standard class typedefs. */
typedef
VectorRescaleIntensityImageFilter
Self
;
typedef
VectorRescaleIntensityImageFilter
Self
;
typedef
itk
::
UnaryFunctorImageFilter
<
TInputImage
,
TOutputImage
,
Functor
::
VectorAffineTransform
<
typename
TInputImage
::
PixelType
,
typename
TOutputImage
::
PixelType
>
>
Superclass
;
typedef
itk
::
SmartPointer
<
Self
>
Pointer
;
typedef
itk
::
SmartPointer
<
const
Self
>
ConstPointer
;
typedef
typename
TOutputImage
::
PixelType
OutputPixelType
;
typedef
typename
TInputImage
::
PixelType
InputPixelType
;
typedef
typename
InputPixelType
::
ValueType
InputValueType
;
typedef
typename
OutputPixelType
::
ValueType
OutputValueType
;
typedef
typename
itk
::
NumericTraits
<
InputValueType
>::
RealType
InputRealType
;
Functor
::
VectorAffineTransform
<
typename
TInputImage
::
PixelType
,
typename
TOutputImage
::
PixelType
>
>
Superclass
;
typedef
itk
::
SmartPointer
<
Self
>
Pointer
;
typedef
itk
::
SmartPointer
<
const
Self
>
ConstPointer
;
typedef
typename
TOutputImage
::
PixelType
OutputPixelType
;
typedef
typename
TInputImage
::
PixelType
InputPixelType
;
typedef
typename
InputPixelType
::
ValueType
InputValueType
;
typedef
typename
OutputPixelType
::
ValueType
OutputValueType
;
typedef
typename
itk
::
NumericTraits
<
InputValueType
>::
RealType
InputRealType
;
typedef
typename
itk
::
NumericTraits
<
OutputValueType
>::
RealType
OutputRealType
;
/** Method for creation through the object factory. */
...
...
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