Skip to content
GitLab
Projects
Groups
Snippets
Help
Loading...
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in / Register
Toggle navigation
otb
Project overview
Project overview
Details
Activity
Releases
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Issues
273
Issues
273
List
Boards
Labels
Service Desk
Milestones
Merge Requests
8
Merge Requests
8
CI / CD
CI / CD
Pipelines
Jobs
Schedules
Operations
Operations
Incidents
Environments
Packages & Registries
Packages & Registries
Container Registry
Analytics
Analytics
CI / CD
Repository
Value Stream
Wiki
Wiki
Snippets
Snippets
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Create a new issue
Jobs
Commits
Issue Boards
Open sidebar
Main Repositories
otb
Commits
16c434b6
Commit
16c434b6
authored
Feb 05, 2015
by
Manuel Grizonnet
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
WRG: correct clang warnings
parent
58decd80
Changes
6
Hide whitespace changes
Inline
Side-by-side
Showing
6 changed files
with
7 additions
and
33 deletions
+7
-33
Code/BasicFilters/otbBCOInterpolateImageFunction.txx
Code/BasicFilters/otbBCOInterpolateImageFunction.txx
+0
-2
Code/IO/otbMapFileProductWriter.txx
Code/IO/otbMapFileProductWriter.txx
+4
-1
Testing/Code/BasicFilters/otbBandMathXImageFilter.cxx
Testing/Code/BasicFilters/otbBandMathXImageFilter.cxx
+3
-11
Testing/Code/Radiometry/otbAtmosphericCorrectionSequencement.cxx
.../Code/Radiometry/otbAtmosphericCorrectionSequencement.cxx
+0
-3
Testing/Code/Radiometry/otbRomaniaReflectanceToRomaniaSurfaceReflectanceImageFilter.cxx
...aniaReflectanceToRomaniaSurfaceReflectanceImageFilter.cxx
+0
-13
Testing/Code/Radiometry/otbSurfaceAdjacencyEffectCorrectionSchemeFilter.cxx
...metry/otbSurfaceAdjacencyEffectCorrectionSchemeFilter.cxx
+0
-3
No files found.
Code/BasicFilters/otbBCOInterpolateImageFunction.txx
View file @
16c434b6
...
...
@@ -137,7 +137,6 @@ BCOInterpolateImageFunction<TInputImage, TCoordRep>
{
int radius = this->GetRadius();
unsigned int winSize = 2*radius+1;
double norma;
unsigned int dim;
IndexType baseIndex;
...
...
@@ -207,7 +206,6 @@ BCOInterpolateImageFunction< otb::VectorImage<TPixel, VImageDimension> , TCoordR
int radius = this->GetRadius();
unsigned int winSize = 2*radius+1;
double norma;
unsigned int dim;
unsigned int componentNumber = this->GetInputImage()->GetNumberOfComponentsPerPixel();
...
...
Code/IO/otbMapFileProductWriter.txx
View file @
16c434b6
...
...
@@ -29,9 +29,12 @@ namespace otb
*/
template <class TInputImage>
MapFileProductWriter<TInputImage>
::MapFileProductWriter()
: m_TileSize(256), m_SRID(26918), m_CurrentDepth(0)
::MapFileProductWriter()
{
m_GenericRSResampler = GenericRSResamplerType::New();
m_TileSize = 256;
m_CurrentDepth = 0;
m_SRID = 26918;
// Modify superclass default values, can be overridden by subclasses
this->SetNumberOfRequiredInputs(1);
...
...
Testing/Code/BasicFilters/otbBandMathXImageFilter.cxx
View file @
16c434b6
...
...
@@ -206,9 +206,7 @@ int otbBandMathXImageFilterConv( int itkNotUsed(argc), char* argv [])
typedef
ImageType
::
PixelType
PixelType
;
typedef
otb
::
BandMathXImageFilter
<
ImageType
>
FilterType
;
unsigned
int
i
;
const
unsigned
int
N
=
100
,
D1
=
3
,
D2
=
1
,
D3
=
1
;
unsigned
int
FAIL_FLAG
=
0
;
ImageType
::
SizeType
size
;
size
.
Fill
(
N
);
...
...
@@ -241,7 +239,7 @@ int otbBandMathXImageFilterConv( int itkNotUsed(argc), char* argv [])
image3
->
Allocate
();
typedef
itk
::
ConstNeighborhoodIterator
<
ImageType
>
IteratorType
;
IteratorType
::
RadiusType
radius
,
radius2
,
radius3
;
IteratorType
::
RadiusType
radius
;
radius
[
0
]
=
1
;
// Size x direction
radius
[
1
]
=
2
;
// Size y direction
...
...
@@ -328,10 +326,6 @@ int otbBandMathXImageFilterConv( int itkNotUsed(argc), char* argv [])
for
(
it1
.
GoToBegin
(),
it2
.
GoToBegin
(),
it3
.
GoToBegin
(),
itoutput1
.
GoToBegin
(),
itoutput2
.
GoToBegin
();
!
it1
.
IsAtEnd
();
++
it1
,
++
it2
,
++
it3
,
++
itoutput1
,
++
itoutput2
)
{
ImageType
::
IndexType
i1
=
it1
.
GetIndex
();
ImageType
::
IndexType
i2
=
it2
.
GetIndex
();
ImageType
::
IndexType
i3
=
it3
.
GetIndex
();
PixelType
px1
(
output1
->
GetNumberOfComponentsPerPixel
());
PixelType
px2
(
output2
->
GetNumberOfComponentsPerPixel
());
...
...
@@ -439,8 +433,7 @@ int otbBandMathXImageFilterTxt( int itkNotUsed(argc), char* argv [])
const
char
*
outputFilename
=
argv
[
2
];
typedef
otb
::
VectorImage
<
double
,
2
>
ImageType
;
typedef
ImageType
::
PixelType
PixelType
;
typedef
otb
::
BandMathXImageFilter
<
ImageType
>
FilterType
;
typedef
otb
::
BandMathXImageFilter
<
ImageType
>
FilterType
;
FilterType
::
Pointer
filter
=
FilterType
::
New
();
...
...
@@ -457,8 +450,7 @@ int otbBandMathXImageFilterWithIdx( int itkNotUsed(argc), char* argv[])
const
char
*
outfname2
=
argv
[
2
];
typedef
otb
::
VectorImage
<
double
,
2
>
ImageType
;
typedef
ImageType
::
PixelType
PixelType
;
typedef
otb
::
VectorImage
<
double
,
2
>
ImageType
;
typedef
otb
::
BandMathXImageFilter
<
ImageType
>
FilterType
;
typedef
otb
::
ImageFileWriter
<
ImageType
>
WriterType
;
...
...
Testing/Code/Radiometry/otbAtmosphericCorrectionSequencement.cxx
View file @
16c434b6
...
...
@@ -139,13 +139,10 @@ int otbAtmosphericCorrectionSequencementTest(int argc, char *argv[])
typedef
otb
::
AtmosphericRadiativeTerms
AtmosphericRadiativeTermsType
;
typedef
AtmosphericRadiativeTermsType
::
Pointer
AtmosphericRadiativeTermsPointerType
;
typedef
otb
::
AtmosphericRadiativeTerms
::
DataVectorType
DataVectorType
;
typedef
otb
::
FilterFunctionValues
FilterFunctionValuesType
;
typedef
FilterFunctionValuesType
::
WavelengthSpectralBandType
ValueType
;
//float
typedef
FilterFunctionValuesType
::
ValuesVectorType
ValuesVectorType
;
//std::vector<float>
typedef
AcquiCorrectionParametersType
::
WavelengthSpectralBandVectorType
WavelengthSpectralBandVectorType
;
AcquiCorrectionParametersPointerType
paramAcqui
=
AcquiCorrectionParametersType
::
New
();
AtmoCorrectionParametersPointerType
paramAtmo
=
AtmoCorrectionParametersType
::
New
();
...
...
Testing/Code/Radiometry/otbRomaniaReflectanceToRomaniaSurfaceReflectanceImageFilter.cxx
View file @
16c434b6
...
...
@@ -43,12 +43,6 @@ int otbRomaniaReflectanceToRomaniaSurfaceReflectanceImageFilter(int itkNotUsed(a
typedef
otb
::
RadiometryCorrectionParametersToAtmosphericRadiativeTerms
CorrectionParametersToRadiativeTermsType
;
/*typedef otb::AtmosphericCorrectionParameters CorrectionParametersType; chris
typedef otb::AtmosphericRadiativeTerms RadiativeTermsType;
typedef otb::FilterFunctionValues FilterFunctionValuesType;
typedef CorrectionParametersType::AerosolModelType AerosolModelType;
typedef FilterFunctionValuesType::WavelengthSpectralBandType ValueType;
typedef FilterFunctionValuesType::ValuesVectorType ValuesVectorType; */
typedef
otb
::
AtmosphericCorrectionParameters
AtmoCorrectionParametersType
;
typedef
AtmoCorrectionParametersType
::
Pointer
AtmoCorrectionParametersPointerType
;
...
...
@@ -65,13 +59,6 @@ int otbRomaniaReflectanceToRomaniaSurfaceReflectanceImageFilter(int itkNotUsed(a
typedef
FilterFunctionValuesType
::
WavelengthSpectralBandType
ValueType
;
//float
typedef
FilterFunctionValuesType
::
ValuesVectorType
ValuesVectorType
;
//std::vector<float>
typedef
AcquiCorrectionParametersType
::
WavelengthSpectralBandVectorType
WavelengthSpectralBandVectorType
;
//AtmosphericRadiativeTermsType::Pointer radiative = AtmosphericRadiativeTermsType::New(); chris
//CorrectionParametersType::Pointer param = CorrectionParametersType::New(); chris
//CorrectionParametersToRadiativeTermsType* corrToRadia = new CorrectionParametersToRadiativeTermsType; chris
AcquiCorrectionParametersPointerType
paramAcqui
=
AcquiCorrectionParametersType
::
New
();
AtmoCorrectionParametersPointerType
paramAtmo
=
AtmoCorrectionParametersType
::
New
();
FilterFunctionValuesType
::
Pointer
functionValues
;
...
...
Testing/Code/Radiometry/otbSurfaceAdjacencyEffectCorrectionSchemeFilter.cxx
View file @
16c434b6
...
...
@@ -61,9 +61,6 @@ int otbSurfaceAdjacencyEffectCorrectionSchemeFilter(int itkNotUsed(argc), char *
typedef
FilterFunctionValuesType
::
WavelengthSpectralBandType
ValueType
;
//float
typedef
FilterFunctionValuesType
::
ValuesVectorType
ValuesVectorType
;
//std::vector<float>
typedef
AcquiCorrectionParametersType
::
WavelengthSpectralBandVectorType
WavelengthSpectralBandVectorType
;
AcquiCorrectionParametersPointerType
paramAcqui
=
AcquiCorrectionParametersType
::
New
();
AtmoCorrectionParametersPointerType
paramAtmo
=
AtmoCorrectionParametersType
::
New
();
FilterFunctionValuesType
::
Pointer
functionValues
;
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
.
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment