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
ddeb012c
Commit
ddeb012c
authored
Nov 30, 2011
by
Cyrille Valladeau
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
ENH: fix error shown by doc tests
parent
b662f997
Changes
9
Hide whitespace changes
Inline
Side-by-side
Showing
9 changed files
with
13 additions
and
26 deletions
+13
-26
Applications/Classification/otbImageSVMClassifier.cxx
Applications/Classification/otbImageSVMClassifier.cxx
+1
-1
Applications/Classification/otbKMeansClassification.cxx
Applications/Classification/otbKMeansClassification.cxx
+1
-5
Applications/Classification/otbTrainSVMImagesClassifier.cxx
Applications/Classification/otbTrainSVMImagesClassifier.cxx
+1
-1
Applications/Projections/otbBundleToPerfectSensor.cxx
Applications/Projections/otbBundleToPerfectSensor.cxx
+1
-5
Applications/Projections/otbConvertCartoToGeoPoint.cxx
Applications/Projections/otbConvertCartoToGeoPoint.cxx
+0
-2
Applications/Projections/otbImageEnvelope.cxx
Applications/Projections/otbImageEnvelope.cxx
+0
-3
Applications/Projections/otbRigidTransformResample.cxx
Applications/Projections/otbRigidTransformResample.cxx
+6
-6
Applications/Utils/otbConcatenateImages.cxx
Applications/Utils/otbConcatenateImages.cxx
+2
-2
Code/ApplicationEngine/otbWrapperDocExampleStructure.h
Code/ApplicationEngine/otbWrapperDocExampleStructure.h
+1
-1
No files found.
Applications/Classification/otbImageSVMClassifier.cxx
View file @
ddeb012c
...
...
@@ -103,7 +103,7 @@ private:
// Doc example parameter settings
SetDocExampleParameterValue
(
"in"
,
"QB_1_ortho.tif"
);
SetDocExampleParameterValue
(
"imstat"
,
"clImageStatisticsQB1.xml"
);
SetDocExampleParameterValue
(
"sv
n
"
,
"clsvmModelQB1.svm"
);
SetDocExampleParameterValue
(
"sv
m
"
,
"clsvmModelQB1.svm"
);
SetDocExampleParameterValue
(
"out"
,
"otbConcatenateImages.png uchar"
);
}
...
...
Applications/Classification/otbKMeansClassification.cxx
View file @
ddeb012c
...
...
@@ -115,11 +115,7 @@ private:
SetParameterDescription
(
"sl"
,
"input image will be divided into sl lines."
);
SetDefaultParameterInt
(
"sl"
,
1000
);
SetDocCLExample
(
"otbApplicationLauncherCommandLine KMeansClassification "
"--in ${OTB-Data}/Input/poupees_sub.png --vm ${OTB-Data}/Input/mask_KMeans.png "
"--ts 100 --tp 0.6 --nc 5 --cp 0.9 --sl 100 --out ClassificationFilterOuptut.tif"
);
// Doc example parameter settings
// Doc example parameter settings
SetDocExampleParameterValue
(
"in"
,
"poupees_sub.png"
);
SetDocExampleParameterValue
(
"vm"
,
"mask_KMeans.png"
);
SetDocExampleParameterValue
(
"ts"
,
"100"
);
...
...
Applications/Classification/otbTrainSVMImagesClassifier.cxx
View file @
ddeb012c
...
...
@@ -212,7 +212,7 @@ private:
SetDocExampleParameterValue
(
"io.imstat"
,
"clImageStatisticsQB1.xml"
);
SetDocExampleParameterValue
(
"sample.mv"
,
"100"
);
SetDocExampleParameterValue
(
"sample.vtr"
,
"0.5"
);
SetDocExampleParameterValue
(
"s
ample
.opt"
,
"true"
);
SetDocExampleParameterValue
(
"s
vm
.opt"
,
"true"
);
SetDocExampleParameterValue
(
"io.out"
,
"svmModelQB1_allOpt.svm"
);
}
...
...
Applications/Projections/otbBundleToPerfectSensor.cxx
View file @
ddeb012c
...
...
@@ -81,11 +81,7 @@ private:
MandatoryOff
(
"lms"
);
MandatoryOff
(
"dem"
);
MandatoryOff
(
"ram"
);
SetDocCLExample
(
"otbApplicationLauncherCommandLine BundleToPerfectSensor ${OTB-BIN}/bin "
"--inp ${OTB-Data}/Examples/QB_Toulouse_Ortho_PAN.tif --inxs ${OTB-Data}/Examples/QB_Toulouse_Ortho_XS.tif "
"--out PanSharpenedImage.tif"
);
// Doc example parameter settings
SetDocExampleParameterValue
(
"inp"
,
"QB_Toulouse_Ortho_PAN.tif"
);
SetDocExampleParameterValue
(
"inxs"
,
"QB_Toulouse_Ortho_XS.tif"
);
...
...
Applications/Projections/otbConvertCartoToGeoPoint.cxx
View file @
ddeb012c
...
...
@@ -148,8 +148,6 @@ private:
SetParameterDescription
(
"lat"
,
"Point latitude coordinates."
);
SetParameterRole
(
"lat"
,
Role_Output
);
SetDocCLExample
(
"otbApplicationLauncherCommandLine ConvertCartoToGeoPoint ${OTB-BIN}/bin --carto.x 367074.625 --carto.y 4835740 --mapproj utm --mapproj.utm.hemisphere true --mapproj.utm.zone 31"
);
// Doc example parameter settings
SetDocExampleParameterValue
(
"carto.x"
,
"367074.625"
);
SetDocExampleParameterValue
(
"carto.y"
,
"4835740"
);
...
...
Applications/Projections/otbImageEnvelope.cxx
View file @
ddeb012c
...
...
@@ -84,9 +84,6 @@ private:
SetParameterDescription
(
"proj"
,
"Projection to be used to compute the envelope (default is WGS84)"
);
MandatoryOff
(
"proj"
);
SetDocCLExample
(
"otbApplicationLauncherCommandLine ImageEnvelope ${OTB-BIN}/bin "
"--in ${OTB-Data}/Input/sensor_stereo_left.tif --out envelope.shp"
);
// Doc example parameter settings
SetDocExampleParameterValue
(
"in"
,
"sensor_stereo_left.tif"
);
SetDocExampleParameterValue
(
"out"
,
"ImageEnvelope.shp"
);
...
...
Applications/Projections/otbRigidTransformResample.cxx
View file @
ddeb012c
...
...
@@ -70,6 +70,12 @@ private:
AddParameter
(
ParameterType_OutputImage
,
"out"
,
"Output image"
);
AddParameter
(
ParameterType_Float
,
"tx"
,
"The X translation (in physical units)"
);
AddParameter
(
ParameterType_Float
,
"ty"
,
"The Y translation (in physical units)"
);
// Doc example parameter settings
SetDocExampleParameterValue
(
"in"
,
"poupees.tif"
);
SetDocExampleParameterValue
(
"out"
,
"rigitTransformImage.tif"
);
SetDocExampleParameterValue
(
"tx"
,
"5"
);
SetDocExampleParameterValue
(
"ty"
,
"5"
);
}
void
DoUpdateParameters
()
...
...
@@ -101,12 +107,6 @@ private:
// Output Image
SetParameterOutputImage
(
"out"
,
m_Resampler
->
GetOutput
());
// Doc example parameter settings
SetDocExampleParameterValue
(
"in"
,
"poupees.tif"
);
SetDocExampleParameterValue
(
"out"
,
"rigitTransformImage.tif"
);
SetDocExampleParameterValue
(
"tx"
,
"5"
);
SetDocExampleParameterValue
(
"ty"
,
"5"
);
}
ResampleFilterType
::
Pointer
m_Resampler
;
...
...
Applications/Utils/otbConcatenateImages.cxx
View file @
ddeb012c
...
...
@@ -89,9 +89,9 @@ private:
AddParameter
(
ParameterType_RAM
,
"ram"
,
"Available RAM"
);
SetDefaultParameterInt
(
"ram"
,
256
);
MandatoryOff
(
"ram"
);
// Doc example parameter settings
SetDocExampleParameterValue
(
"i
n
"
,
"poupees_sub_c1.png poupees_sub_c2.png poupees_sub_c3.png"
);
SetDocExampleParameterValue
(
"i
l
"
,
"poupees_sub_c1.png poupees_sub_c2.png poupees_sub_c3.png"
);
SetDocExampleParameterValue
(
"out"
,
"otbConcatenateImages.png uchar"
);
}
...
...
Code/ApplicationEngine/otbWrapperDocExampleStructure.h
View file @
ddeb012c
...
...
@@ -86,7 +86,7 @@ public:
}
if
(
!
found
)
itkGenericExceptionMacro
(
"No parameter with key
"
<<
key
<<
" found."
);
itkGenericExceptionMacro
(
"No parameter with key
\"
"
<<
key
<<
"
\
"
found."
);
}
/** Get the parameter list. */
...
...
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