Skip to content
GitLab
Menu
Projects
Groups
Snippets
Loading...
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in / Register
Toggle navigation
Menu
Open sidebar
Cresson Remi
NDVITimeSeries
Commits
c97bc4f6
Commit
c97bc4f6
authored
Apr 12, 2018
by
remi cresson
Browse files
ADD: shared parameters for pca
parent
dc086417
Changes
1
Hide whitespace changes
Inline
Side-by-side
app/otbLandscapeStratificationMetric.cxx
View file @
c97bc4f6
...
...
@@ -79,14 +79,18 @@ private:
ClearApplications
();
// Add applications
AddApplication
(
"ImageTimeSeriesGapFilling"
,
"gapfillling"
,
"Image time series gap filling"
);
AddApplication
(
"DimensionalityReduction"
,
"pca"
,
"Principal component analysis"
);
AddApplication
(
"ImageTimeSeriesGapFilling"
,
"gapfillling"
,
"Image time series gap filling"
);
AddApplication
(
"DimensionalityReduction"
,
"pca"
,
"Principal component analysis"
);
// Fixed parameters
GetInternalApplication
(
"gapfillling"
)
->
SetParameterString
(
"it"
,
"linear"
,
false
);
GetInternalApplication
(
"gapfillling"
)
->
SetParameterInt
(
"comp"
,
1
,
false
);
GetInternalApplication
(
"pca"
)
->
SetParameterString
(
"method"
,
"pca"
,
false
);
// Shared parameters
ShareParameter
(
"mask"
,
"gapfillling.mask"
,
"Mask"
,
"Input time series mask"
);
ShareParameter
(
"id"
,
"gapfillling.id"
,
"DatesFile"
,
"Input time series dates file"
);
// Input NDVI time series images
AddParameter
(
ParameterType_InputImageList
,
"ndvits"
,
"Input NDVI time series images"
);
...
...
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