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
92bd2e9e
Commit
92bd2e9e
authored
14 years ago
by
Emmanuel Christophe
Browse files
Options
Downloads
Patches
Plain Diff
STYLE: remove non ascii characters
parent
07eed25f
No related branches found
Branches containing commit
No related tags found
Tags containing commit
No related merge requests found
Changes
2
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
Code/SARPolarimetry/otbHAlphaImageFilter.h
+1
-1
1 addition, 1 deletion
Code/SARPolarimetry/otbHAlphaImageFilter.h
Testing/Fa/0000041-mean_shift.cxx
+8
-8
8 additions, 8 deletions
Testing/Fa/0000041-mean_shift.cxx
with
9 additions
and
9 deletions
Code/SARPolarimetry/otbHAlphaImageFilter.h
+
1
−
1
View file @
92bd2e9e
...
...
@@ -55,7 +55,7 @@ public:
/** Matrix type used to store eigenvectors. */
typedef
itk
::
Vector
<
float
,
2
>
VectorType
;
typedef
itk
::
Vector
<
VectorType
,
3
>
EigenVectorFirstComposantType
;
typedef
itk
::
Vector
<
VectorType
,
3
>
EigenVectorType
;
// type d'un vecteur propre (partie r
�
elle, partie imaginaire)
typedef
itk
::
Vector
<
VectorType
,
3
>
EigenVectorType
;
// type d'un vecteur propre (partie r
e
elle, partie imaginaire)
typedef
itk
::
Vector
<
itk
::
Vector
<
float
,
6
>
,
3
>
EigenMatrixType
;
typedef
itk
::
Image
<
EigenVectorType
,
2
>
EigenVectorImageType
;
typedef
itk
::
Image
<
double
,
2
>
EigenValueImageType
;
...
...
This diff is collapsed.
Click to expand it.
Testing/Fa/0000041-mean_shift.cxx
+
8
−
8
View file @
92bd2e9e
...
...
@@ -28,8 +28,8 @@ int main(int argc, char *argv[])
char
*
outfilenamelabeled
=
argv
[
7
];
char
*
outfilenameboundary
=
argv
[
8
];
typedef
otb
::
VectorImage
<
unsigned
char
,
2
>
ImageType
;
// image d'entr
é
e, image filtr
é
e et image segment
é
typedef
otb
::
Image
<
int
,
2
>
TLabeledOutput
;
// image labelis
é
e,image des contours (de l'image labellis
é
e)
typedef
otb
::
VectorImage
<
unsigned
char
,
2
>
ImageType
;
// image d'entr
e
e, image filtr
e
e et image segment
e
typedef
otb
::
Image
<
int
,
2
>
TLabeledOutput
;
// image labelis
e
e,image des contours (de l'image labellis
e
e)
// lecture de l'image d'entree a partir d'un fichier
typedef
otb
::
ImageFileReader
<
ImageType
>
ReaderType
;
...
...
@@ -43,17 +43,17 @@ int main(int argc, char *argv[])
filter
->
SetSpatialRadius
(
spatialRadius
);
filter
->
SetMinimumRegionSize
(
minRegionSize
);
// sauvegarde de l'image filtr
é
e,
// sauvegarde de l'image filtr
e
e,
typedef
otb
::
StreamingImageFileWriter
<
ImageType
>
WriterType1
;
WriterType1
::
Pointer
writer1
=
WriterType1
::
New
();
writer1
->
SetFileName
(
outfilenamefiltered
);
// sauvegarde de l'image segment
é
,
// sauvegarde de l'image segment
e
,
typedef
otb
::
StreamingImageFileWriter
<
ImageType
>
WriterType2
;
WriterType2
::
Pointer
writer2
=
WriterType2
::
New
();
writer2
->
SetFileName
(
outfilenamesegmented
);
// sauvegarde de l'image labelis
é
e
// sauvegarde de l'image labelis
e
e
typedef
otb
::
StreamingImageFileWriter
<
TLabeledOutput
>
WriterType3
;
WriterType3
::
Pointer
writer3
=
WriterType3
::
New
();
writer3
->
SetFileName
(
outfilenamelabeled
);
...
...
@@ -66,10 +66,10 @@ int main(int argc, char *argv[])
// construction du pipeline
filter
->
SetInput
(
reader
->
GetOutput
());
writer1
->
SetInput
(
filter
->
GetOutput
());
// image filtr
é
e (*)
writer2
->
SetInput
(
filter
->
GetClusteredOutput
());
// image segment
é
(clusteris
é
e avec coh
é
rence spaciale ?) (*)
writer1
->
SetInput
(
filter
->
GetOutput
());
// image filtr
e
e (*)
writer2
->
SetInput
(
filter
->
GetClusteredOutput
());
// image segment
e
(clusteris
e
e avec coh
e
rence spaciale ?) (*)
writer3
->
SetInput
(
filter
->
GetLabeledClusteredOutput
());
// image des labels des clusters
writer4
->
SetInput
(
filter
->
GetClusterBoundariesOutput
());
// image des contours des clusters (contours de l'image labelis
é
e)
writer4
->
SetInput
(
filter
->
GetClusterBoundariesOutput
());
// image des contours des clusters (contours de l'image labelis
e
e)
writer1
->
Update
();
writer2
->
Update
();
...
...
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