Skip to content
GitLab
Explore
Sign in
Primary navigation
Search or go to…
Project
otb
Manage
Activity
Members
Labels
Plan
Issues
Issue boards
Milestones
Wiki
Code
Merge requests
Repository
Branches
Commits
Tags
Repository graph
Compare revisions
Snippets
Build
Pipelines
Jobs
Pipeline schedules
Artifacts
Deploy
Releases
Package Registry
Container Registry
Model registry
Operate
Environments
Terraform modules
Monitor
Incidents
Analyze
Value stream analytics
Contributor analytics
CI/CD analytics
Repository analytics
Model experiments
Help
Help
Support
GitLab documentation
Compare GitLab plans
Community forum
Contribute to GitLab
Provide feedback
Keyboard shortcuts
?
Snippets
Groups
Projects
Show more breadcrumbs
David Youssefi
otb
Commits
e6828ee9
Commit
e6828ee9
authored
11 years ago
by
Manuel Grizonnet
Browse files
Options
Downloads
Patches
Plain Diff
ENH: remove useless typedef to otb::Image
parent
abb9f083
No related branches found
No related tags found
No related merge requests found
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
Applications/Classification/otbTrainImagesClassifier.h
+3
-7
3 additions, 7 deletions
Applications/Classification/otbTrainImagesClassifier.h
with
3 additions
and
7 deletions
Applications/Classification/otbTrainImagesClassifier.h
+
3
−
7
View file @
e6828ee9
...
...
@@ -94,18 +94,14 @@ public:
itkTypeMacro
(
TrainImagesClassifier
,
otb
::
Application
)
typedef
otb
::
Image
<
FloatVectorImageType
::
InternalPixelType
,
2
>
ImageReaderType
;
typedef
FloatVectorImageType
::
PixelType
PixelType
;
typedef
FloatVectorImageType
::
InternalPixelType
InternalPixelType
;
typedef
FloatVectorImageType
VectorImageType
;
typedef
FloatImageType
ImageType
;
// Training vectordata
typedef
itk
::
VariableLengthVector
<
I
mageType
::
PixelType
>
MeasurementType
;
typedef
itk
::
VariableLengthVector
<
I
nternal
PixelType
>
MeasurementType
;
// SampleList manipulation
typedef
otb
::
ListSampleGenerator
<
VectorImageType
,
VectorDataType
>
ListSampleGeneratorType
;
typedef
otb
::
ListSampleGenerator
<
Float
VectorImageType
,
VectorDataType
>
ListSampleGeneratorType
;
typedef
ListSampleGeneratorType
::
ListSampleType
ListSampleType
;
typedef
ListSampleGeneratorType
::
LabelType
LabelType
;
...
...
@@ -146,7 +142,7 @@ public:
typedef
otb
::
VectorDataProjectionFilter
<
VectorDataType
,
VectorDataType
>
VectorDataProjectionFilterType
;
// Extract ROI
typedef
otb
::
VectorDataIntoImageProjectionFilter
<
VectorDataType
,
VectorImageType
>
VectorDataReprojectionType
;
typedef
otb
::
VectorDataIntoImageProjectionFilter
<
VectorDataType
,
Float
VectorImageType
>
VectorDataReprojectionType
;
protected:
using
Superclass
::
AddParameter
;
...
...
This diff is collapsed.
Click to expand it.
Preview
0%
Loading
Try again
or
attach a new file
.
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Save comment
Cancel
Please
register
or
sign in
to comment