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
156358bc
Commit
156358bc
authored
Jul 20, 2011
by
Julien Malik
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
STYLE: remove non-ascii characters, fix tests names
parent
0b95dc9c
Changes
28
Hide whitespace changes
Inline
Side-by-side
Showing
28 changed files
with
39 additions
and
59 deletions
+39
-59
Code/Projections/otbGroundSpacingImageFunction.h
Code/Projections/otbGroundSpacingImageFunction.h
+2
-2
Testing/Code/Common/otbMultiToMonoChannelExtractROI.cxx
Testing/Code/Common/otbMultiToMonoChannelExtractROI.cxx
+3
-3
Testing/Code/Common/otbTestCommandLineArgumentParser.cxx
Testing/Code/Common/otbTestCommandLineArgumentParser.cxx
+1
-1
Testing/Code/Common/otbTestCommandLineArgumentParserList.cxx
Testing/Code/Common/otbTestCommandLineArgumentParserList.cxx
+2
-2
Testing/Code/Common/otbTestCommandLineArgumentParserWithError.cxx
...Code/Common/otbTestCommandLineArgumentParserWithError.cxx
+1
-1
Testing/Code/DisparityMap/CMakeLists.txt
Testing/Code/DisparityMap/CMakeLists.txt
+5
-5
Testing/Code/FeatureExtraction/CMakeLists.txt
Testing/Code/FeatureExtraction/CMakeLists.txt
+3
-4
Testing/Code/FeatureExtraction/otbComplexMomentPath.cxx
Testing/Code/FeatureExtraction/otbComplexMomentPath.cxx
+1
-1
Testing/Code/FeatureExtraction/otbComplexMomentPathFloat.cxx
Testing/Code/FeatureExtraction/otbComplexMomentPathFloat.cxx
+1
-1
Testing/Code/FeatureExtraction/otbFlusserPath.cxx
Testing/Code/FeatureExtraction/otbFlusserPath.cxx
+1
-1
Testing/Code/FeatureExtraction/otbImageToFastSIFTKeyPointSetFilterOutputDescriptorAscii.cxx
...ImageToFastSIFTKeyPointSetFilterOutputDescriptorAscii.cxx
+1
-1
Testing/Code/FeatureExtraction/otbImageToFastSIFTKeyPointSetFilterOutputInterestPointAscii.cxx
...geToFastSIFTKeyPointSetFilterOutputInterestPointAscii.cxx
+1
-1
Testing/Code/FeatureExtraction/otbImageToSIFTKeyPointSetFilterDistanceMap.cxx
...Extraction/otbImageToSIFTKeyPointSetFilterDistanceMap.cxx
+1
-1
Testing/Code/FeatureExtraction/otbImageToSIFTKeyPointSetFilterOutputAscii.cxx
...Extraction/otbImageToSIFTKeyPointSetFilterOutputAscii.cxx
+1
-1
Testing/Code/FeatureExtraction/otbImageToSIFTKeyPointSetFilterOutputDescriptorAscii.cxx
.../otbImageToSIFTKeyPointSetFilterOutputDescriptorAscii.cxx
+1
-1
Testing/Code/FeatureExtraction/otbImageToSIFTKeyPointSetFilterOutputImage.cxx
...Extraction/otbImageToSIFTKeyPointSetFilterOutputImage.cxx
+0
-2
Testing/Code/FeatureExtraction/otbImageToSIFTKeyPointSetFilterOutputInterestPointAscii.cxx
...bImageToSIFTKeyPointSetFilterOutputInterestPointAscii.cxx
+0
-1
Testing/Code/FeatureExtraction/otbLineCorrelationDetector.cxx
...ing/Code/FeatureExtraction/otbLineCorrelationDetector.cxx
+1
-2
Testing/Code/Fusion/CMakeLists.txt
Testing/Code/Fusion/CMakeLists.txt
+0
-1
Testing/Code/IO/CMakeLists.txt
Testing/Code/IO/CMakeLists.txt
+2
-3
Testing/Code/IO/otbImageTest.cxx
Testing/Code/IO/otbImageTest.cxx
+1
-6
Testing/Code/IO/otbVectorImageTest.cxx
Testing/Code/IO/otbVectorImageTest.cxx
+1
-5
Testing/Code/Learning/CMakeLists.txt
Testing/Code/Learning/CMakeLists.txt
+3
-4
Testing/Code/OBIA/CMakeLists.txt
Testing/Code/OBIA/CMakeLists.txt
+1
-1
Testing/Code/Projections/CMakeLists.txt
Testing/Code/Projections/CMakeLists.txt
+2
-2
Testing/Code/Radiometry/CMakeLists.txt
Testing/Code/Radiometry/CMakeLists.txt
+2
-2
Testing/Utilities/CMakeLists.txt
Testing/Utilities/CMakeLists.txt
+1
-1
Testing/Utilities/ossimRadarSatSupport.cxx
Testing/Utilities/ossimRadarSatSupport.cxx
+0
-3
No files found.
Code/Projections/otbGroundSpacingImageFunction.h
View file @
156358bc
...
...
@@ -32,8 +32,8 @@ namespace otb
* \class GroundSpacingImageFunction
* \brief Calculate the approximate ground spacing in X and Y directions
*
* This uses the
‘
Haversine' formula to calculate great-circle distances between
* the two points – that is, the shortest distance over the Earth
’
s surface –
* This uses the
'
Haversine' formula to calculate great-circle distances between
* the two points – that is, the shortest distance over the Earth
'
s surface –
* giving an 'as-the-crow-flies' distance between the points (ignoring any hills!).
*
* \ingroup ImageFunctions
...
...
Testing/Code/Common/otbMultiToMonoChannelExtractROI.cxx
View file @
156358bc
...
...
@@ -332,9 +332,9 @@ int otbMultiToMonoChannelExtractROI(int argc, char * argv[])
else
{
std
::
cout
<<
" Err
eur : le format des images en entre est mal prcis dans la ligne de commande !!!
"
<<
std
::
endl
;
std
::
cout
<<
"
valeurs autoris
es : -uchar, -ushort, -uint, -float, -double"
<<
std
::
endl
;
std
::
cout
<<
"
valeurs par defaut
: -uchar"
<<
std
::
endl
;
std
::
cout
<<
" Err
or : wrong format
"
<<
std
::
endl
;
std
::
cout
<<
"
allowed valu
es : -uchar, -ushort, -uint, -float, -double"
<<
std
::
endl
;
std
::
cout
<<
"
default value
: -uchar"
<<
std
::
endl
;
return
EXIT_FAILURE
;
}
...
...
Testing/Code/Common/otbTestCommandLineArgumentParser.cxx
View file @
156358bc
...
...
@@ -30,7 +30,7 @@ int otbTestCommandLineArgumentParser(int argc, char * argv[])
parser
->
AddOption
(
"-image"
,
"Nom d'une image"
,
"-i"
,
1
,
true
);
parser
->
AddOption
(
"-entier"
,
"Une Valeur entiere (obligatoire)"
,
"-e"
);
parser
->
AddOption
(
"-deuxentiers"
,
"Deux Valeurs entieres non obligatoire"
,
"-dede"
,
2
,
false
);
parser
->
AddOption
(
"-double"
,
"Valeur r
e
lle double"
,
"-d"
);
parser
->
AddOption
(
"-double"
,
"Valeur r
e
elle double"
,
"-d"
);
typedef
otb
::
CommandLineArgumentParseResult
ParserResultType
;
ParserResultType
::
Pointer
parseResult
=
ParserResultType
::
New
();
...
...
Testing/Code/Common/otbTestCommandLineArgumentParserList.cxx
View file @
156358bc
...
...
@@ -30,8 +30,8 @@ int otbTestCommandLineArgumentParserList(int argc, char * argv[])
parser
->
AddOption
(
"-image"
,
"Nom d'une image"
,
"-i"
,
1
,
true
);
parser
->
AddOption
(
"-entier"
,
"Une Valeur entiere (obligatoire)"
,
"-e"
);
parser
->
AddOption
(
"-deuxentiers"
,
"Deux Valeurs entieres non obligatoire"
,
"-dede"
,
2
,
false
);
parser
->
AddOption
(
"-double"
,
"Valeur r
e
lle double"
,
"-d"
);
parser
->
AddOptionNParams
(
"-doubles"
,
"Liste de Valeurs r
e
lles"
,
"-ld"
,
false
);
parser
->
AddOption
(
"-double"
,
"Valeur r
e
elle double"
,
"-d"
);
parser
->
AddOptionNParams
(
"-doubles"
,
"Liste de Valeurs r
e
elles"
,
"-ld"
,
false
);
typedef
otb
::
CommandLineArgumentParseResult
ParserResultType
;
ParserResultType
::
Pointer
parseResult
=
ParserResultType
::
New
();
...
...
Testing/Code/Common/otbTestCommandLineArgumentParserWithError.cxx
View file @
156358bc
...
...
@@ -30,7 +30,7 @@ int otbTestCommandLineArgumentParserWithError(int argc, char * argv[])
parser
->
AddOption
(
"-image"
,
"Nom d'une image"
,
"-i"
,
1
,
true
);
parser
->
AddOption
(
"-entier"
,
"Une Valeur entiere (obligatoire)"
,
"-e"
);
parser
->
AddOption
(
"-deuxentiers"
,
"Deux Valeurs entieres non obligatoire"
,
"-dede"
,
2
,
false
);
parser
->
AddOption
(
"-double"
,
"Valeur r
e
lle double"
,
"-d"
);
parser
->
AddOption
(
"-double"
,
"Valeur r
e
elle double"
,
"-d"
);
typedef
otb
::
CommandLineArgumentParseResult
ParserResultType
;
ParserResultType
::
Pointer
parseResult
=
ParserResultType
::
New
();
...
...
Testing/Code/DisparityMap/CMakeLists.txt
View file @
156358bc
...
...
@@ -37,7 +37,7 @@ ADD_TEST(dmTvDisparityMapEstimationMethod ${DISPARITYMAP_TESTS1}
${
TEMP
}
/dmDisparityMapEstimationOutput.txt
2 3
)
ADD_TEST
(
dmT
l
DisparityMapEstimationMethod
${
DISPARITYMAP_TESTS1
}
ADD_TEST
(
dmT
v
DisparityMapEstimationMethod
${
DISPARITYMAP_TESTS1
}
--compare-ascii
${
NOTOL
}
${
BASELINE_FILES
}
/dmDisparityMapEstimationOutput1.txt
${
TEMP
}
/dmDisparityMapEstimationOutput1.txt
...
...
@@ -162,7 +162,7 @@ ADD_TEST(dmTvBSplinesInterpolateTransformDeformationFieldGenerator ${DISPARITYMA
# ------- Additional tests for deformation fields estimation ----------
ADD_TEST
(
dmT
l
TranslationDeformationFieldEstimation
${
DISPARITYMAP_TESTS2
}
ADD_TEST
(
dmT
v
TranslationDeformationFieldEstimation
${
DISPARITYMAP_TESTS2
}
--compare-n-images
${
EPSILON_4
}
12
${
BASELINE
}
/dmTvTranslationDeformationFieldEstimationOutput_bs_df.hdr
${
TEMP
}
/dmTvTranslationDeformationFieldEstimationOutput_bs_df.hdr
...
...
@@ -195,7 +195,7 @@ ADD_TEST(dmTlTranslationDeformationFieldEstimation ${DISPARITYMAP_TESTS2}
15 10 10 250 0.95 4 50
)
ADD_TEST
(
dmT
l
Euler2DDeformationFieldEstimation
${
DISPARITYMAP_TESTS2
}
ADD_TEST
(
dmT
v
Euler2DDeformationFieldEstimation
${
DISPARITYMAP_TESTS2
}
--compare-n-images
${
EPSILON_4
}
12
${
BASELINE
}
/dmTvEuler2DDeformationFieldEstimationOutput_bs_df.hdr
${
TEMP
}
/dmTvEuler2DDeformationFieldEstimationOutput_bs_df.hdr
...
...
@@ -228,7 +228,7 @@ ADD_TEST(dmTlEuler2DDeformationFieldEstimation ${DISPARITYMAP_TESTS2}
15 10 0.01 250 0.95 4 50 128 128
)
ADD_TEST
(
dmT
l
CenteredRigidDeformationFieldEstimation
${
DISPARITYMAP_TESTS2
}
ADD_TEST
(
dmT
v
CenteredRigidDeformationFieldEstimation
${
DISPARITYMAP_TESTS2
}
--compare-n-images
${
EPSILON_4
}
12
${
BASELINE
}
/dmTvCenteredRigidDeformationFieldEstimationOutput_bs_df.hdr
${
TEMP
}
/dmTvCenteredRigidDeformationFieldEstimationOutput_bs_df.hdr
...
...
@@ -262,7 +262,7 @@ ADD_TEST(dmTlCenteredRigidDeformationFieldEstimation ${DISPARITYMAP_TESTS2}
)
ADD_TEST
(
dmT
l
SinusoidDeformationFieldEstimation
${
DISPARITYMAP_TESTS2
}
ADD_TEST
(
dmT
v
SinusoidDeformationFieldEstimation
${
DISPARITYMAP_TESTS2
}
--compare-n-images
${
EPSILON_4
}
12
${
BASELINE
}
/dmTvSinusoidDeformationFieldEstimationOutput_bs_df.hdr
${
TEMP
}
/dmTvSinusoidDeformationFieldEstimationOutput_bs_df.hdr
...
...
Testing/Code/FeatureExtraction/CMakeLists.txt
View file @
156358bc
...
...
@@ -16,7 +16,6 @@ SET(EPSILON_2 0.01)
SET
(
EPSILON_3 0.001
)
#Tolerance sur diff pixel image
#EPSILON est different de 0.0 pour les tests multiplateformes avec différentes options de compilation.
SET
(
EPSILON_6 0.000001
)
SET
(
EPSILON_8 0.00000001
)
...
...
@@ -343,7 +342,7 @@ ADD_TEST(feTvAssociativeSymmetricalSum ${FEATUREEXTRACTION_TESTS4}
ADD_TEST
(
feTuAssymmetricFusionOfLineDetectorNew
${
FEATUREEXTRACTION_TESTS4
}
otbAssymmetricFusionOfLineDetectorNew
)
ADD_TEST
(
feT
l
AssymmetricFusionOfLineDetector
${
FEATUREEXTRACTION_TESTS4
}
ADD_TEST
(
feT
v
AssymmetricFusionOfLineDetector
${
FEATUREEXTRACTION_TESTS4
}
--compare-image
${
EPSILON_8
}
${
BASELINE
}
/feFiltreAssymmetricFusion_amst_2_3.hdr
${
TEMP
}
/feFiltreAssymmetricFusion_amst_2_3.hdr
otbAssymmetricFusionOfLineDetector
...
...
@@ -482,7 +481,7 @@ ADD_TEST(feTvLocalHoughDraw ${FEATUREEXTRACTION_TESTS5}
${
TEMP
}
/feFiltreLocalHoughDraw_ImageLine_20_20_2.hdr
20 20 1
)
ADD_TEST
(
feT
l
LocalHoughDraw2
${
FEATUREEXTRACTION_TESTS5
}
ADD_TEST
(
feT
v
LocalHoughDraw2
${
FEATUREEXTRACTION_TESTS5
}
--compare-image
${
EPSILON_8
}
${
BASELINE
}
/feFilterLocalHoughDraw_amst_20_20_1.png
${
TEMP
}
/feFilterLocalHoughDraw_amst_20_20_1.png
otbLocalHoughDraw
...
...
@@ -872,7 +871,7 @@ ADD_TEST(feTuImageToSIFTKeyPointSetFilterNew ${FEATUREEXTRACTION_TESTS9}
otbImageToSIFTKeyPointSetFilterNew
)
ADD_TEST
(
feT
l
ImageToSIFTKeyPointSetFilterDistanceMap
${
FEATUREEXTRACTION_TESTS9
}
ADD_TEST
(
feT
v
ImageToSIFTKeyPointSetFilterDistanceMap
${
FEATUREEXTRACTION_TESTS9
}
--compare-ascii
${
EPSILON_3
}
${
BASELINE_FILES
}
/feTvImageToSIFTKeyPointSetFilterDistanceMap.txt
${
TEMP
}
/feTvImageToSIFTKeyPointSetFilterDistanceMap.txt
...
...
Testing/Code/FeatureExtraction/otbComplexMomentPath.cxx
View file @
156358bc
...
...
@@ -38,7 +38,7 @@ int otbComplexMomentPath(int argc, char * argv[])
typedef
otb
::
ComplexMomentPathFunction
<
PathType
>
CMType
;
typedef
CMType
::
ComplexType
ComplexType
;
// D
essiner un carr�:
// D
raw a square
PathType
::
ContinuousIndexType
cindex
;
PathType
::
Pointer
pathElt
=
PathType
::
New
();
...
...
Testing/Code/FeatureExtraction/otbComplexMomentPathFloat.cxx
View file @
156358bc
...
...
@@ -38,7 +38,7 @@ int otbComplexMomentPathFloat(int argc, char * argv[])
typedef
std
::
complex
<
float
>
ComplexType
;
typedef
otb
::
ComplexMomentPathFunction
<
PathType
,
ComplexType
>
CMType
;
// D
essiner un carr�:
// D
raw a square
PathType
::
ContinuousIndexType
cindex
;
PathType
::
Pointer
pathElt
=
PathType
::
New
();
...
...
Testing/Code/FeatureExtraction/otbFlusserPath.cxx
View file @
156358bc
...
...
@@ -34,7 +34,7 @@ int otbFlusserPath(int argc, char * argv[])
typedef
otb
::
FlusserPathFunction
<
PathType
>
FunctionType
;
typedef
FunctionType
::
RealType
RealType
;
// D
essiner un carr�:
// D
raw a square
PathType
::
ContinuousIndexType
cindex
;
PathType
::
Pointer
pathElt
=
PathType
::
New
();
...
...
Testing/Code/FeatureExtraction/otbImageToFastSIFTKeyPointSetFilterOutputDescriptorAscii.cxx
View file @
156358bc
...
...
@@ -50,7 +50,7 @@ int otbImageToFastSIFTKeyPointSetFilterOutputDescriptorAscii(int argc, char * ar
typedef
itk
::
PointSet
<
RealVectorType
,
Dimension
>
PointSetType
;
typedef
otb
::
SiftFastImageFilter
<
ImageType
,
PointSetType
>
ImageToFastSIFTKeyPointSetFilterType
;
//
PointSet iterator
types
//
Iterator
types
typedef
PointSetType
::
PointsContainer
PointsContainerType
;
typedef
PointsContainerType
::
Iterator
PointsIteratorType
;
typedef
PointSetType
::
PointDataContainer
PointDataContainerType
;
...
...
Testing/Code/FeatureExtraction/otbImageToFastSIFTKeyPointSetFilterOutputInterestPointAscii.cxx
View file @
156358bc
...
...
@@ -51,7 +51,7 @@ int otbImageToFastSIFTKeyPointSetFilterOutputInterestPointAscii(int argc, char *
typedef
otb
::
SiftFastImageFilter
<
ImageType
,
PointSetType
>
ImageToFastSIFTKeyPointSetFilterType
;
//
PointSet iterator
types
//
PointSet iterator
types
typedef
PointSetType
::
PointsContainer
PointsContainerType
;
typedef
PointsContainerType
::
Iterator
PointsIteratorType
;
typedef
PointSetType
::
PointDataContainer
PointDataContainerType
;
...
...
Testing/Code/FeatureExtraction/otbImageToSIFTKeyPointSetFilterDistanceMap.cxx
View file @
156358bc
...
...
@@ -40,7 +40,7 @@ typedef itk::PointSet<RealVectorType, 2> PointSetType;
typedef
otb
::
Image
<
float
,
2
>
ImageType
;
typedef
otb
::
Image
<
unsigned
char
,
2
>
OutputImageType
;
//
PointSet iterator
types
//
PointSet iterator
types
typedef
PointSetType
::
PointsContainer
PointsContainerType
;
typedef
PointsContainerType
::
Iterator
PointsIteratorType
;
typedef
PointSetType
::
PointDataContainer
PointDataContainerType
;
...
...
Testing/Code/FeatureExtraction/otbImageToSIFTKeyPointSetFilterOutputAscii.cxx
View file @
156358bc
...
...
@@ -47,7 +47,7 @@ int otbImageToSIFTKeyPointSetFilterOutputAscii(int argc, char * argv[])
typedef
itk
::
PointSet
<
RealVectorType
,
Dimension
>
PointSetType
;
typedef
otb
::
ImageToSIFTKeyPointSetFilter
<
ImageType
,
PointSetType
>
ImageToSIFTKeyPointSetFilterType
;
//
PointSet iterator types
//
PointSet iterator type
typedef
PointSetType
::
PointsContainer
PointsContainerType
;
typedef
PointsContainerType
::
Iterator
PointsIteratorType
;
typedef
PointSetType
::
PointDataContainer
PointDataContainerType
;
...
...
Testing/Code/FeatureExtraction/otbImageToSIFTKeyPointSetFilterOutputDescriptorAscii.cxx
View file @
156358bc
...
...
@@ -47,7 +47,7 @@ int otbImageToSIFTKeyPointSetFilterOutputDescriptorAscii(int argc, char * argv[]
typedef
itk
::
PointSet
<
RealVectorType
,
Dimension
>
PointSetType
;
typedef
otb
::
ImageToSIFTKeyPointSetFilter
<
ImageType
,
PointSetType
>
ImageToSIFTKeyPointSetFilterType
;
//
PointSet iterator types
//
PointSet terator type
typedef
PointSetType
::
PointsContainer
PointsContainerType
;
typedef
PointsContainerType
::
Iterator
PointsIteratorType
;
typedef
PointSetType
::
PointDataContainer
PointDataContainerType
;
...
...
Testing/Code/FeatureExtraction/otbImageToSIFTKeyPointSetFilterOutputImage.cxx
View file @
156358bc
...
...
@@ -46,8 +46,6 @@ int otbImageToSIFTKeyPointSetFilterOutputImage(int argc, char * argv[])
typedef
otb
::
ImageFileReader
<
ImageType
>
ReaderType
;
typedef
itk
::
PointSet
<
RealVectorType
,
Dimension
>
PointSetType
;
typedef
otb
::
ImageToSIFTKeyPointSetFilter
<
ImageType
,
PointSetType
>
ImageToSIFTKeyPointSetFilterType
;
// PointSet iterator types
typedef
PointSetType
::
PointsContainer
PointsContainerType
;
typedef
PointsContainerType
::
Iterator
PointsIteratorType
;
...
...
Testing/Code/FeatureExtraction/otbImageToSIFTKeyPointSetFilterOutputInterestPointAscii.cxx
View file @
156358bc
...
...
@@ -47,7 +47,6 @@ int otbImageToSIFTKeyPointSetFilterOutputInterestPointAscii(int argc, char * arg
typedef
itk
::
PointSet
<
RealVectorType
,
Dimension
>
PointSetType
;
typedef
otb
::
ImageToSIFTKeyPointSetFilter
<
ImageType
,
PointSetType
>
ImageToSIFTKeyPointSetFilterType
;
// PointSet iterator types
typedef
PointSetType
::
PointsContainer
PointsContainerType
;
typedef
PointsContainerType
::
Iterator
PointsIteratorType
;
typedef
PointSetType
::
PointDataContainer
PointDataContainerType
;
...
...
Testing/Code/FeatureExtraction/otbLineCorrelationDetector.cxx
View file @
156358bc
...
...
@@ -32,9 +32,8 @@ int otbLineCorrelationDetector(int argc, char* argv[])
const
char
*
inputFilename
=
argv
[
1
];
const
char
*
outputFilename
=
argv
[
2
];
//
Largeur de la ligne � detecter = 2*WidthLine+1
//
Parameters of the line to detect
unsigned
int
WidthLine
((
unsigned
int
)
::
atoi
(
argv
[
3
]));
// Longueur de la ligne � detecter = 2*LengthLine+1
unsigned
int
LengthLine
((
unsigned
int
)
::
atoi
(
argv
[
4
]));
typedef
unsigned
char
InputPixelType
;
...
...
Testing/Code/Fusion/CMakeLists.txt
View file @
156358bc
...
...
@@ -10,7 +10,6 @@ SET(TEMP ${OTBTesting_BINARY_DIR}/Temporary)
SET
(
NOTOL 0.0
)
#Tolerance sur diff pixel image
#EPSILON est different de 0.0 pour les tests multiplateformes avec différentes options de compilation.
SET
(
EPSILON_8 0.00000001
)
SET
(
FUSION_TESTS1
${
CXX_TEST_PATH
}
/otbFusionTests1
)
...
...
Testing/Code/IO/CMakeLists.txt
View file @
156358bc
...
...
@@ -20,7 +20,6 @@ SET(EPSILON_5 0.00001)
SET
(
EPSILON_6 0.000001
)
SET
(
EPSILON_9 0.000000001
)
# !!!!! Pointe sur un exe généré dans le repertoire Common
SET
(
COMMON_TESTS2
${
CXX_TEST_PATH
}
/otbCommonTests2
)
SET
(
COMMON_TESTS3
${
CXX_TEST_PATH
}
/otbCommonTests3
)
SET
(
IO_TESTS1
${
CXX_TEST_PATH
}
/otbIOTests1
)
...
...
@@ -75,7 +74,7 @@ ADD_TEST(ioTvMultiMonoChannelROI_RADARSAT2ENVI ${COMMON_TESTS3}
-ushort
${
TEMP
}
/ioMultiMonoChannelROI_RADARSAT2ENVI_2559_3591_337_280.hdr
-startX 2559 -startY 3591 -sizeX 337 -sizeY 280
)
# --- RADARSAT (GDAL)
Nom r�pertoir
e ---
# --- RADARSAT (GDAL)
dir nam
e ---
ADD_TEST
(
ioTvMultiMonoChannelROI_RADARSAT_ENVI2ENVI
${
COMMON_TESTS3
}
# THOMAS (provisoire) : Images OK mais erreur au DIFF ITK !!!
# --compare-image ${EPSILON_9} ${BASELINE}/ioMultiMonoChannelROI_RADARSAT2ENVI_2559_3591_337_280.hdr
...
...
@@ -1780,7 +1779,7 @@ ADD_TEST(ioTvSHPVectorDataFileReader2 ${IO_TESTS15}
)
IF
(
OTB_DATA_USE_LARGEINPUT
)
ADD_TEST
(
ioT
l
SHPVectorDataFileReader3
${
IO_TESTS15
}
ADD_TEST
(
ioT
v
SHPVectorDataFileReader3
${
IO_TESTS15
}
--compare-ascii
${
EPSILON_9
}
${
BASELINE_FILES
}
/ioSHPVectorDataFileReader3.txt
${
TEMP
}
/ioSHPVectorDataFileReader3.txt
otbVectorDataFileReader
...
...
Testing/Code/IO/otbImageTest.cxx
View file @
156358bc
...
...
@@ -53,20 +53,15 @@ int otbImageTest(int argc, char* argv[])
image
=
reader
->
GetOutput
();
file
<<
"------ IMAGE --------"
<<
std
::
endl
;
std
::
cout
<<
"------ IMAGE --------"
<<
std
::
endl
;
// Image n'est pas ecrit dans le fichier car des pointeurs sont affich�s, donc la valeur d�pend de l'instanciation
// -> pour pouvoir faire de tests de non regression sur la sortie ecrite dans le fichier ASCII
std
::
cout
<<
image
<<
std
::
endl
;
std
::
cout
<<
"---------------------"
<<
std
::
endl
;
file
<<
"------ IMAGE --------"
<<
std
::
endl
;
file
<<
"Spacing "
<<
image
->
GetSpacing
()
<<
std
::
endl
;
file
<<
"Origin "
<<
image
->
GetOrigin
()
<<
std
::
endl
;
file
<<
"Projection REF "
<<
image
->
GetProjectionRef
()
<<
std
::
endl
;
file
<<
"GCP Projection "
<<
image
->
GetGCPProjection
()
<<
std
::
endl
;
unsigned
int
GCPCount
=
image
->
GetGCPCount
();
file
<<
"GCP Count "
<<
image
->
GetGCPCount
()
<<
std
::
endl
;
...
...
Testing/Code/IO/otbVectorImageTest.cxx
View file @
156358bc
...
...
@@ -54,18 +54,14 @@ int otbVectorImageLegacyTest(int argc, char* argv[])
image
=
reader
->
GetOutput
();
file
<<
"------ IMAGE --------"
<<
std
::
endl
;
std
::
cout
<<
"------ IMAGE --------"
<<
std
::
endl
;
// Image n'est pas ecrit dans le fichier car des pointeurs sont affich�s, donc la valeur d�pend de l'instanciation
// -> pour pouvoir faire de tests de non regression sur la sortie ecrite dans le fichier ASCII
std
::
cout
<<
image
<<
std
::
endl
;
std
::
cout
<<
"---------------------"
<<
std
::
endl
;
file
<<
"------ IMAGE --------"
<<
std
::
endl
;
file
<<
"Spacing "
<<
image
->
GetSpacing
()
<<
std
::
endl
;
file
<<
"Origin "
<<
image
->
GetOrigin
()
<<
std
::
endl
;
file
<<
"Projection REF "
<<
image
->
GetProjectionRef
()
<<
std
::
endl
;
file
<<
"GCP Projection "
<<
image
->
GetGCPProjection
()
<<
std
::
endl
;
unsigned
int
GCPCount
=
image
->
GetGCPCount
();
...
...
Testing/Code/Learning/CMakeLists.txt
View file @
156358bc
...
...
@@ -11,7 +11,6 @@ SET(TEMP ${OTBTesting_BINARY_DIR}/Temporary)
#Tolerance sur diff pixel image
SET
(
NOTOL 0.0
)
#EPSILON est different de 0.0 pour les tests multiplateformes avec différentes options de compilation.
SET
(
EPSILON_10 0.0000000001
)
SET
(
EPSILON_3 0.001
)
SET
(
EPSILON_4 0.0001
)
...
...
@@ -435,13 +434,13 @@ ADD_TEST(leTvSVMModelCopyComposedKernel ${LEARNING_TESTS3}
${
INPUTDATA
}
/svm_model_composed
${
TEMP
}
/svmcopycomposed_test
)
ADD_TEST
(
leT
l
SVMInverseCosSpectralAngleKernelFunctorImageModelEstimatorTest
${
LEARNING_TESTS3
}
ADD_TEST
(
leT
v
SVMInverseCosSpectralAngleKernelFunctorImageModelEstimatorTest
${
LEARNING_TESTS3
}
otbSVMInverseCosSpectralAngleKernelFunctorImageModelEstimatorTest
${
INPUTDATA
}
/ROI_QB_MUL_4.tif
${
INPUTDATA
}
/ROI_QB_MUL_4_train_one_class.tif
${
TEMP
}
/leTvsvm_model_image_one_class
)
ADD_TEST
(
leT
l
SVMInverseCosSpectralAngleKernelFunctorImageClassificationTest
${
LEARNING_TESTS3
}
ADD_TEST
(
leT
v
SVMInverseCosSpectralAngleKernelFunctorImageClassificationTest
${
LEARNING_TESTS3
}
otbSVMInverseCosSpectralAngleKernelFunctorImageClassificationTest
${
INPUTDATA
}
/ROI_QB_MUL_4.tif
${
INPUTDATA
}
/ROI_QB_MUL_4_train_one_class.tif
...
...
@@ -540,7 +539,7 @@ ADD_TEST(leTvListSampleGenerator3 ${LEARNING_TESTS4}
ADD_TEST
(
leTuConfusionMatrixCalculatorNew
${
LEARNING_TESTS4
}
otbConfusionMatrixCalculatorNew
)
ADD_TEST
(
leT
V
ConfusionMatrixCalculatorSetListSamples
${
LEARNING_TESTS4
}
ADD_TEST
(
leT
v
ConfusionMatrixCalculatorSetListSamples
${
LEARNING_TESTS4
}
otbConfusionMatrixCalculatorSetListSamples 1000 4
)
ADD_TEST
(
leTvConfusionMatrixCalculatorWrongSize
${
LEARNING_TESTS4
}
...
...
Testing/Code/OBIA/CMakeLists.txt
View file @
156358bc
...
...
@@ -90,7 +90,7 @@ ADD_TEST(obTvLabelMapWithClassLabelToLabeledSampleListFilter ${OBIA_TESTS1}
SHAPE::Flusser05 SHAPE::Flusser06 SHAPE::Flusser07 SHAPE::Flusser08
SHAPE::Flusser09 SHAPE::Flusser10 SHAPE::Flusser11
)
ADD_TEST
(
o
tb
LabelObjectMapVectorizer
${
OBIA_TESTS1
}
ADD_TEST
(
o
bTv
LabelObjectMapVectorizer
${
OBIA_TESTS1
}
otbLabelObjectMapVectorizer
${
INPUTDATA
}
/rcc8_mire1.png
rcc8_mire1_label_vectorizer.gml
)
...
...
Testing/Code/Projections/CMakeLists.txt
View file @
156358bc
...
...
@@ -367,7 +367,7 @@ ADD_TEST(prTvOrthoRectificationCevennesWithDEM ${PROJECTIONS_TESTS2}
#========================= Ortho rectif SPOT5 ===============================
ADD_TEST
(
prT
l
OrthoRectificationSPOT5
${
PROJECTIONS_TESTS2
}
ADD_TEST
(
prT
v
OrthoRectificationSPOT5
${
PROJECTIONS_TESTS2
}
--compare-image
${
EPSILON_4
}
${
BASELINE
}
/prTvOrthoRectificationSPOT5_UTM.tif
${
TEMP
}
/prTvOrthoRectificationSPOT5_UTM.tif
otbOrthoRectificationFilter
...
...
@@ -384,7 +384,7 @@ ADD_TEST(prTlOrthoRectificationSPOT5 ${PROJECTIONS_TESTS2}
5
)
ADD_TEST
(
prT
l
OrthoRectificationMonoThreadSPOT5
${
PROJECTIONS_TESTS2
}
ADD_TEST
(
prT
v
OrthoRectificationMonoThreadSPOT5
${
PROJECTIONS_TESTS2
}
--compare-image
${
EPSILON_4
}
${
BASELINE
}
/prTvOrthoRectificationSPOT5_UTM_band1.tif
${
TEMP
}
/prTvOrthoRectificationMonoThreadSPOT5_UTM.tif
otbOrthoRectificationMonoThreadFilter
...
...
Testing/Code/Radiometry/CMakeLists.txt
View file @
156358bc
...
...
@@ -620,7 +620,7 @@ ADD_TEST(raTvTSARVI_RAndBAndNIRVegetationIndexImageFilter ${RADIOMETRY_TESTS4}
${
INPUTDATA
}
/verySmallFSATSW_nir.tif
${
TEMP
}
/raRAndBAndNIRVegetationIndex_TSARVI_verySmallFSATSWcRcBcNir.tif
0.7
# a ( pente de la droite des sols nus dans l'espace RB/PIR )
0.9
# b ( ordonn
ée à
l'origine de la droite des sols nus dans l'espace RB/PIR )
0.9
# b ( ordonn
ee a
l'origine de la droite des sols nus dans l'espace RB/PIR )
0.08
# x coeff a priori constant
0.5
# gamma
)
...
...
@@ -636,7 +636,7 @@ ADD_TEST(raTvTSARVI_MultiChannelRAndBAndNIRVegetationIndexImageFilter ${RADIOMET
1
# blue
4
# nir
0.7
# a ( pente de la droite des sols nus dans l'espace RB/PIR )
0.9
# b ( ordonn
ée à
l'origine de la droite des sols nus dans l'espace RB/PIR )
0.9
# b ( ordonn
ee a
l'origine de la droite des sols nus dans l'espace RB/PIR )
0.08
# x coeff a priori constant
0.5
# gamma
)
...
...
Testing/Utilities/CMakeLists.txt
View file @
156358bc
...
...
@@ -20,7 +20,7 @@ SET(UTILITIES_TESTS ${CXX_TEST_PATH}/otbUtilitiesTests)
# Commentaire parce que trop long. Supprimer commentaire si besoin de tester integration lib Ossim
#ADD_TEST(utOssimIntegrationTest ${UTILITIES_TESTS}
#ADD_TEST(ut
Tv
OssimIntegrationTest ${UTILITIES_TESTS}
# ossimIntegrationTest
# ossimTiffWriter
# ${IMAGEDATA}/QUICKBIRD/TOULOUSE/000000128955_01_P001_PAN/02APR01105228-P1BS-000000128955_01_P001.TIF
...
...
Testing/Utilities/ossimRadarSatSupport.cxx
View file @
156358bc
...
...
@@ -99,9 +99,6 @@ int ossimRadarSatSupport(int argc, char* argv[])
ossimDpt
ossimDPoint
;
std
::
cout
<<
"Creating projection..."
<<
std
::
endl
;
ossimProjection
*
model
=
NULL
;
/*
* Creation d'un modèle de projection à partir des métadonnées
*/
model
=
ossimplugins
::
ossimPluginProjectionFactory
::
instance
()
->
createProjection
(
geom
);
// if ossim plugins factory failed, then test ossim factory
if
(
model
==
NULL
)
...
...
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