Commit 92db3941 authored by Jonathan Guinet's avatar Jonathan Guinet

ENH: Applications DocTag update.

parent e8a55f99
......@@ -54,7 +54,7 @@ private:
SetDocCLExample("otbApplicationLauncherCommandLine MultivariateAlterationDetector ${OTB-BIN}/bin "
"--in1 ${OTB-Data}/Input/Spot5-Gloucester-before.tif --in2 ${OTB-Data}/Input/Spot5-Gloucester-after.tif "
"--out detectedChangeImage.tif ");
AddDocTag("Feature extraction");
AddDocTag(Tags::FeatureExtraction);
}
virtual ~MultivariateAlterationDetector()
......
......@@ -52,7 +52,8 @@ private:
SetDocAuthors("OTB-Team");
SetDocSeeAlso(" ");
SetDocCLExample("otbApplicationLauncherCommandLine EstimateImagesStatistics ${OTB-BIN}/bin --il ${OTB-Data}/Input/Classification/QB_1_ortho.tif ${OTB-Data}/Input/Classification/QB_2_ortho.tif ${OTB-Data}/Input/Classification/QB_3_ortho.tif --out EstimateImageStatisticsQB123.xml");
AddDocTag("Classification");
AddDocTag(Tags::Learning);
}
virtual ~EstimateImagesStatistics()
......
......@@ -72,8 +72,7 @@ private:
SetDocAuthors("OTB-Team");
SetDocSeeAlso("TrainSVMImagesClassifier, ValidateSVMImagesClassifier, EstimatesImagesStatistics");
SetDocCLExample("otbApplicationLauncherCommandLine ImageSVMClassifier ${OTB-BIN}/bin --in ${OTB-DATA}/Classification/QB_1_ortho.tif --imstat ${OTB-DATA}/Baseline/OTB-Applications/Files/clImageStatisticsQB1.xml --svn ${OTB-DATA}/Baseline/OTB-Applications/Files/clsvmModelQB1.svm --out otbConcatenateImages.png uchar");
AddDocTag("Classification");
AddDocTag("SVM");
AddDocTag(Tags::Learning);
}
......
......@@ -81,8 +81,9 @@ private:
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 ");
AddDocTag("Classification");
AddDocTag(Tags::Segmentation);
AddDocTag(Tags::Learning);
}
virtual ~KMeansClassification()
......
......@@ -63,7 +63,7 @@ private:
SetDocAuthors("OTB-Team");
SetDocSeeAlso(" ");
SetDocCLExample("otbApplicationLauncherCommandLine LabeledImageColorMapping --in ${OTBAPP_BASELINE}/clLabeledImageQB123_1.tif --ct ${OTB-Data}/Input/Classification/ColorTable.txt --out clLabeledFancyImageQB123_1.tif");
AddDocTag("Classification");
AddDocTag(Tags::Learning);
}
......
......@@ -143,9 +143,8 @@ private:
"--vd ${OTB-DATA}/Classification/ectorData_QB1.shp"
"--imstat ${OTB-Data}/Baseline/OTB-Applications/Files/clImageStatisticsQB1.xml"
"--b 2 --mv 100 --vtr 0.5 --opt true -out svmModelQB1_allOpt.svm");
AddDocTag("Classification");
AddDocTag("Training");
AddDocTag("SVM");
AddDocTag(Tags::Learning);
}
virtual ~TrainSVMImagesClassifier()
......
......@@ -131,7 +131,7 @@ private:
" --imstat ${OTB-Data}/Baseline/OTB-Applications/Files/clImageStatisticsQB123.xml "
" --svm ${OTB-Data}/Baseline/OTB-Applications/Files/clsvmModelQB123.svm"
" --out PerformanceEstimationQB123.txt ");
AddDocTag("Classification");
AddDocTag(Tags::Learning);
}
......
......@@ -76,7 +76,7 @@ private:
SetDocCLExample("otbApplicationLauncherCommandLine ConnectedComponentSegmentation ${OTB-BIN}/bin "
"--in ${OTB-DATA}/Input/ROI_QB_MUL_4.tif --mask \"((b1>80)*intensity>95)\" --expr \"distance<10\" "
"--minsize 15 --obia \"SHAPE_Elongation>8\" --out ./result.shp");
AddDocTag("Image Analysis");
AddDocTag(Tags::Analysis);
}
virtual ~ConnectedComponentSegmentation()
......
......@@ -52,9 +52,8 @@ private:
SetDocAuthors("OTB-Team");
SetDocSeeAlso(" ");
SetDocCLExample("otbApplicationLauncherCommandLine MaximumAutocorrelationFactor ${OTB-BIN}/bin --in ${OTB-Data}/Input/cupriteSubHsi.tif--out MaximumAutocorrelationFactorImageFilterOutput.tif");
AddDocTag("Dimension reduction");
AddDocTag("filtering");
AddDocTag(Tags::DimensionReduction);
AddDocTag(Tags::Filter);
}
......
......@@ -76,7 +76,8 @@ private:
"--ref ${OTB-Data}/Input/sensor_stereo_left.tif --sec ${OTB-Data}/Input/sensor_stereo_right.tif "
"--out result.tif "
"--dem ${OTB-Data}/Input/DEM --geoid ${OTB-Data}/Input/DEM/egm96.grd");
AddDocTag("Image Manipulation");
AddDocTag(Tags::Manip);
AddDocTag(Tags::Stereo);
}
virtual ~StereoSensorModelToElevationMap()
......
......@@ -63,7 +63,7 @@ private:
SetDocSeeAlso(" ");
SetDocCLExample("otbApplicationLauncherCommandLine BundleToPerfectSensor ${OTB-BIN}/bin "
"--in ${OTB-Data}/Input/QB_Suburb.png --out linesDetected.shp ");
AddDocTag("Feature extraction");
AddDocTag(Tags::FeatureExtraction);
}
virtual ~LineSegmentDetection()
......
......@@ -109,7 +109,7 @@ private:
SetDocAuthors("OTB-Team");
SetDocSeeAlso(" ");
SetDocCLExample("otbApplicationLauncherCommandLine VertexComponentAnalysis ${OTB-BIN}/bin --in ${INPUTDATA}/Hyperspectral/synthetic/hsi_cube.tif --ie ${INPUTDATA}/Hyperspectral/synthetic/endmembers.tif --out ${TEMP}/apTvHyHyperspectralUnmixing_UCLS.tif double --ua ucls");
AddDocTag("Hyperspectral");
AddDocTag(Tags::Hyperspectral);
}
virtual ~HyperspectralUnmixing()
......
......@@ -70,7 +70,8 @@ private:
SetDocAuthors("OTB-Team");
SetDocSeeAlso(" ");
SetDocCLExample("otbApplicationLauncherCommandLine VertexComponentAnalysis ${OTB-BIN}/bin --in ${OTB_DATA_ROOT}/Input/Hyperspectral/synthetic/hsi_cube.tif --ne 5 --outendm ${TEMP}/apTvHyHyperspectralUnmixing_VCA.tif double");
AddDocTag("Hyperspectral");
AddDocTag(Tags::Hyperspectral);
AddDocTag(Tags::DimensionReduction);
}
......
......@@ -61,9 +61,9 @@ private:
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");
AddDocTag("Projection");
AddDocTag("Image manipulation");
AddDocTag("Pansharpening");
AddDocTag(Tags::Geometry);
AddDocTag(Tags::Manip);
AddDocTag(Tags::Pansharpening);
}
virtual ~BundleToPerfectSensor()
......
......@@ -69,8 +69,8 @@ private:
SetDocAuthors("OTB-Team");
SetDocSeeAlso(" ");
SetDocCLExample("otbApplicationLauncherCommandLine ConvertCartoToGeoPoint ${OTB-BIN}/bin --carto.x 367074.625 --carto.y 4835740 --mapproj utm --mapproj.utm.hemisphere true --mapproj.utm.zone 31");
AddDocTag("Coordinates");
AddDocTag("Projection");
AddDocTag(Tags::Coordinates);
AddDocTag(Tags::Geometry);
}
virtual ~ConvertCartoToGeoPoint()
......
......@@ -101,8 +101,8 @@ private:
SetDocAuthors("OTB-Team");
SetDocSeeAlso("Ortho-rectification chapter from the OTB Software Guide");
SetDocCLExample(" ");
AddDocTag("Image manipulation");
AddDocTag("Projection");
AddDocTag(Tags::Manip);
AddDocTag(Tags::Geometry);
}
void DoCreateParameters()
......
......@@ -57,7 +57,7 @@ private:
SetDocSeeAlso("Translation application");
SetDocCLExample("otbApplicationLauncherCommandLine RigidTransformResample ${OTB-BIN}/bin --in ${OTB-Data}/Input/poupees.tif --out rigitTransformImage.tf --tx 5 --ty 5");
AddDocTag("Conversion");
AddDocTag("Image Projection");
AddDocTag(Tags::Geometry);
}
virtual ~RigidTransformResample()
......
......@@ -63,8 +63,8 @@ private:
SetDocCLExample("otbApplicationLauncherCommandLine Superimpose ${OTB-BIN}/bin "
"--inr ${OTB-Data}/Examples/QB_Toulouse_Ortho_PAN.tif --inm ${OTB-Data}/Examples/QB_Toulouse_Ortho_XS.tif "
"--out otbSuperimposedXS_to_PAN.tif");
AddDocTag("Projection");
AddDocTag("Image manipulation");
AddDocTag(Tags::Geometry);
AddDocTag(Tags::Manip);
AddDocTag("Superimposition");
}
......
......@@ -91,9 +91,8 @@ private:
SetDocAuthors("OTB-Team");
SetDocSeeAlso("otbVecgetationIndices class");
SetDocCLExample("otbApplicationLauncherCommandLine RadiometricVegetationIndices ${OTB-BIN}/bin --in ${OTB-DATA}/Input/qb_RoadExtract.img --index.ndvi 1 --index.rvi 1 --index.ipvi 1 --out otbRadiometricVegetationIndicesImages.tif");
AddDocTag("Radiometric Indices");
AddDocTag("Vegetation Indices");
AddDocTag("Feature");
AddDocTag(Tags::FeatureExtraction);
}
virtual ~RadiometricVegetationIndices()
......
......@@ -91,7 +91,8 @@ private:
SetDocSeeAlso(" ");
SetDocCLExample("otbApplicationLauncherCommandLine OpticalCalibration ${OTB-BIN}/bin "
"--in --out --milli --level toa");
AddDocTag("Calibration");
AddDocTag(Tags::Calibration);
}
void DoCreateParameters()
......
......@@ -56,8 +56,8 @@ private:
SetDocSeeAlso(" ");
SetDocCLExample("otbApplicationLauncherCommandLine sarRadiometricCalibration ${OTB-BIN}/bin "
"--cin ${OTB-DATA}/Input/scene.png --out calibratedImage.tif");
AddDocTag("Calibration");
AddDocTag("SAR");
AddDocTag(Tags::Calibration);
AddDocTag(Tags::SAR);
}
virtual ~SarRadiometricCalibration()
......
......@@ -57,7 +57,7 @@ private:
"--in ${OTB-Data}/Input/qb_RoadExtract2sub200x200.tif --cout MeanShift_ClusteredOutput.tif"
"--fout MeanShift_FilterOutput.tif --lout MeanShift_LabeledClusteredOutput.tif"
"--cbout MeanShift_ClusterBoundariesOutput.tif ---spatialr 16 --ranger 16 --minsize 10 --scale 1.0 ");
AddDocTag("Segmentation");
AddDocTag(Tags::Segmentation);
}
virtual ~MeanShiftSegmentation()
......
......@@ -65,6 +65,7 @@ private:
SetDocAuthors("OTB-Team");
SetDocSeeAlso("Rescale application, Convert application");
SetDocCLExample("otbApplicationLauncherCommandLine ConcatenateImages ${OTB-BIN}/bin --in ${OTB-DATA/Input}/poupees_sub_c1.png ${OTB-DATA}/poupees_sub_c2.png ${OTB-DATA}/poupees_sub_c3.png --out otbConcatenateImages.png uchar");
AddDocTag(Tags::Manip);
AddDocTag("Concatenation");
AddDocTag("Multi channel");
......
......@@ -57,7 +57,7 @@ private:
SetDocSeeAlso(" ");
SetDocCLExample("otbApplicationLauncherCommandLine ConcatenateVectorData ${OTB-BIN}/bin"
" --vd --out ConcatenatedVectorData.shp");
AddDocTag("Vector Data Manipulation");
AddDocTag(Tags::Vector);
}
virtual ~ConcatenateVectorData()
......
......@@ -60,7 +60,7 @@ private:
SetDocSeeAlso(" ");
SetDocCLExample("otbApplicationLauncherCommandLine ExtractROI ${OTB-BIN}/bin "
"--in ${OTB-Data}/Input/couleurs_extrait.png --out ROIImage.tif --sizex 256");
AddDocTag("Image Manipulation");
AddDocTag(Tags::Manip);
}
virtual ~ExtractROI()
......
......@@ -50,7 +50,7 @@ private:
SetDocLongDescription("This application exports the input image in a kmz product that can be display in the Google Earth software. The user can set the size of the product size, a logo and a legend to the product. Furthemore, to obtain a product that fits the relief, a DEM can be used.");
SetDocLimitations("None");
SetDocAuthors("OTB-Team");
SetDocSeeAlso("Convertion");
SetDocSeeAlso("Conversion");
SetDocCLExample("otbApplicationLauncherCommandLine KmzExport ${OTB-BIN}/bin --in ${OTB-Data}/Input/qb_RoadExtract.img --out otbKmzExport.kmz --logo ${OTB-Data}/Input/cnes.png ${OTB-Data}/Input/otb_big.png");
AddDocTag("KMZ");
AddDocTag("Export");
......
......@@ -72,7 +72,8 @@ private:
"otbApplicationLauncherCommandLine MultiResolutionPyramid ${OTB-BIN}/bin "
"--in ${OTB-Data}/Input/QB_Toulouse_Ortho_XS.tif --out multiResolutionImage.tif --level 1 --sfactor 2 --vfactor 0.6 --fast false");
AddDocTag("Conversion");
AddDocTag("Image Manipulation");
AddDocTag(Tags::Manip);
AddDocTag(Tags::Multi);
AddDocTag("Util");
}
......
......@@ -57,8 +57,8 @@ private:
SetDocAuthors("OTB-Team");
SetDocSeeAlso("Convertion");
SetDocCLExample("otbApplicationLauncherCommandLine OSMDownloader ${OTB-BIN}/bin --in ${OTB-Data}/Input/qb_RoadExtract.img --out otbOSMDownloader --logo ${OTB-Data}/Input/cnes.png ${OTB-Data}/Input/otb_big.png");
AddDocTag("KMZ");
AddDocTag("Export");
AddDocTag(Tags::Meta);
}
virtual ~OSMDownloader()
......
......@@ -52,7 +52,7 @@ private:
SetDocCLExample("otbApplicationLauncherCommandLine ReadImageInfo ${OTB-BIN}/bin "
"--in ${OTB-Data}/Input/QB_Toulouse_Ortho_XS.tif");
AddDocTag("Util");
AddDocTag(Tags::Meta);
}
virtual ~ReadImageInfo()
......
......@@ -59,7 +59,7 @@ private:
SetDocSeeAlso(" ");
SetDocCLExample("otbApplicationLauncherCommandLine Rescale ${OTB-BIN}/bin"
" --in ${OTB-DATA}/Input/poupees.tif --out rescaledImage.tif --outmin 20 --outmax 150");
AddDocTag("Image Manipulation");
AddDocTag(Tags::Manip);
}
virtual ~Rescale()
......
......@@ -66,7 +66,7 @@ private:
SetDocSeeAlso(" ");
SetDocCLExample("otbApplicationLauncherCommandLine Smoothing ${OTB-BIN}/bin"
" --in ${OTB-DATA}/Input/poupees.tif --out smoothedImage.tif --type mean");
AddDocTag("Filtering");
AddDocTag(Tags::Filter);
}
virtual ~Smoothing()
......
......@@ -60,7 +60,7 @@ private:
SetDocSeeAlso(" ");
SetDocCLExample("otbApplicationLauncherCommandLine SplitImage ${OTB-BIN}/bin"
" --in ${OTB-DATA}/Input/poupees_sub.png --out splittedImage.tif");
AddDocTag("Image Manipulation");
AddDocTag(Tags::Manip);
}
void DoCreateParameters()
......
......@@ -74,7 +74,7 @@ private:
SetDocSeeAlso(" ");
SetDocCLExample("otbApplicationLauncherCommandLine VectorDataExtractROI ${OTB-BIN}/bin"
" --vd ${OTB-DATA}/Input/franceCoastline.shp --in ${OTB-DATA}/Input/ --out franceCoastline_extract.shp");
AddDocTag("VectorData Manipulation");
AddDocTag(Tags::Vector);
}
virtual ~VectorDataExtractROIApplication()
......
......@@ -64,7 +64,7 @@ private:
SetDocSeeAlso(" ");
SetDocCLExample("otbApplicationLauncherCommandLine VectorDataSetField ${OTB-BIN}/bin "
"--in ${OTB-DATA}/Input/ToulousePoints-examples.shp --out dataOut.shp --fn MyField --fv MyValue");
AddDocTag("VectorData Manipulation");
AddDocTag(Tags::Vector);
}
virtual ~VectorDataSetField()
......
......@@ -55,6 +55,7 @@ private:
{
SetName("VectorDataTransform");
SetDescription("Apply a transform to each vertex of the input VectorData");
AddDocTag(Tags::Vector);
}
void DoCreateParameters()
......
......@@ -33,13 +33,13 @@ static const std::string Coordinates="Coordinates";
static const std::string DimensionReduction="Dimensionnality Reduction";
static const std::string FeatureExtraction="Feature Extraction";
static const std::string Filter="Image Filtering";
static const std::string Geometry="Geometry";
static const std::string Hyperspectral="Hyperspectral";
static const std::string Learning="Learning";
static const std::string Manip="Image Manipulation";
static const std::string Meta="Image MetaData";
static const std::string Multi="Image MultiResolution";
static const std::string Pansharpening="Pansharpening";
static const std::string Geometry="Geometry";
static const std::string Raster="Raster";
static const std::string SAR="SAR";
static const std::string Stereo="Stereo";
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment