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
e98678ae
Commit
e98678ae
authored
18 years ago
by
Thomas Feuvrier
Browse files
Options
Downloads
Patches
Plain Diff
Depalcement de la méthode GenerateOutputInformation de protected en public.
Pour application ExtratROI, etc...
parent
1bc6cb88
No related branches found
Branches containing commit
No related tags found
Tags containing commit
No related merge requests found
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
Code/Common/otbMultiChannelExtractROI.h
+20
-20
20 additions, 20 deletions
Code/Common/otbMultiChannelExtractROI.h
with
20 additions
and
20 deletions
Code/Common/otbMultiChannelExtractROI.h
+
20
−
20
View file @
e98678ae
...
...
@@ -31,11 +31,11 @@ namespace otb
/** \class MultiChannelExtractROI
* \brief Extrait une partie d'une image d'une image multi-canal.
*
* Il est possible d'extraire tous les canaux de l'image ou seulement ceux pr
ciss
par l'utilisateur.
* La m
t
hode SetChannel permet de sl
e
ctionner un canal (une liste est incrme
n
te).
* Les m
t
hodes SetFirstChannel/SetLastChannel permettent de df
i
nir une liste de canaux, dfi
n
it par cet intervalle.
* \note Ces classe est param
tre
par le type de pixel des images d'entre
e
t de sortie. Les images manipules
d
ans cette classe
* Il est possible d'extraire tous les canaux de l'image ou seulement ceux pr
�cis�s pa
r l'utilisateur.
* Les m
�th
odes SetFirstChannel/SetLastChannel permettent de d�f
ini
r une liste de canaux, d�fin
it
par cet intervalle.
* \note Ces classe est param
�tr�e pa
r le type de pixel des images d'entr�e e
t d
e sortie. Les images manipul�es da
ns
cette classe
* sont de type "itk::VectorImage".
*
*/
...
...
@@ -84,15 +84,25 @@ public:
itkSetMacro
(
LastChannel
,
unsigned
int
);
itkGetConstMacro
(
LastChannel
,
unsigned
int
);
/** ExtractImageFilter can produce an image which is a different
* resolution than its input image. As such, ExtractImageFilter
* needs to provide an implementation for
* GenerateOutputInformation() in order to inform the pipeline
* execution model. The original documentation of this method is
* below.
*
* \sa ProcessObject::GenerateOutputInformaton() */
virtual
void
GenerateOutputInformation
();
/** Typedef Liste des canaux */
typedef
typename
std
::
vector
<
unsigned
int
>
ChannelsType
;
/** Renvoie la liste des canaux trait
s
*/
/** Renvoie la liste des canaux trait
�s
*/
ChannelsType
GetChannels
()
const
{
return
(
m_Channels
);
}
/** Renvoie le nombre de canaux trait
s
*/
/** Renvoie le nombre de canaux trait
�s
*/
unsigned
int
GetNbChannels
()
const
{
return
(
m_Channels
.
size
());
...
...
@@ -114,16 +124,6 @@ protected:
~
MultiChannelExtractROI
()
{};
void
PrintSelf
(
std
::
ostream
&
os
,
itk
::
Indent
indent
)
const
;
/** ExtractImageFilter can produce an image which is a different
* resolution than its input image. As such, ExtractImageFilter
* needs to provide an implementation for
* GenerateOutputInformation() in order to inform the pipeline
* execution model. The original documentation of this method is
* below.
*
* \sa ProcessObject::GenerateOutputInformaton() */
virtual
void
GenerateOutputInformation
();
/** ExtractImageFilter peut etre implementee comme un filtre multithreaded.
* \sa ImageToImageFilter::ThreadedGenerateData(),
* ImageToImageFilter::GenerateData() */
...
...
@@ -134,12 +134,12 @@ private:
MultiChannelExtractROI
(
const
Self
&
);
//purposely not implemented
void
operator
=
(
const
Self
&
);
//purposely not implemented
/** Premier/Dernier canal
traiter [1...] */
/** Premier/Dernier canal
� t
raiter [1...] */
unsigned
int
m_FirstChannel
;
unsigned
int
m_LastChannel
;
/** Liste des canaux
traiter [1...] */
/** Liste des canaux
� t
raiter [1...] */
ChannelsType
m_Channels
;
/** Liste des canaux qui seront r
e
llement traits
[1...] */
/** Liste des canaux qui seront r
�el
lement trait�s
[1
...] */
ChannelsType
m_ChannelsWorks
;
/** */
bool
m_ChannelsWorksBool
;
...
...
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