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
Container Registry
Model registry
Operate
Environments
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
Antoine Belvire
otb
Commits
b1f2cbe2
Commit
b1f2cbe2
authored
16 years ago
by
Cyrille Valladeau
Browse files
Options
Downloads
Patches
Plain Diff
Commit pour test (suppression de if defined pour le constructeur).
parent
38a83107
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/Learning/otbSVMImageModelEstimator.h
+2
-1
2 additions, 1 deletion
Code/Learning/otbSVMImageModelEstimator.h
Code/Learning/otbSVMImageModelEstimator.txx
+3
-3
3 additions, 3 deletions
Code/Learning/otbSVMImageModelEstimator.txx
with
5 additions
and
4 deletions
Code/Learning/otbSVMImageModelEstimator.h
+
2
−
1
View file @
b1f2cbe2
...
...
@@ -48,7 +48,8 @@ namespace otb
template
<
class
TInputImage
,
class
TTrainingImage
>
class
ITK_EXPORT
SVMImageModelEstimator
:
public
SVMModelEstimator
<
ITK_TYPENAME
TInputImage
::
PixelType
::
ComponentType
,
ITK_TYPENAME
TTrainingImage
::
PixelType
>
public
SVMModelEstimator
<
ITK_TYPENAME
TInputImage
::
InternalPixelType
,
ITK_TYPENAME
TTrainingImage
::
PixelType
>
//public SVMModelEstimator<ITK_TYPENAME TInputImage::PixelType::ComponentType, ITK_TYPENAME TTrainingImage::PixelType>
{
public:
/** Standard class typedefs. */
...
...
This diff is collapsed.
Click to expand it.
Code/Learning/otbSVMImageModelEstimator.txx
+
3
−
3
View file @
b1f2cbe2
...
...
@@ -28,7 +28,7 @@
namespace otb
{
//Sous Visual, il n'aime pas l'appel constructeur .. bizarre !!!
#if defined(WIN32) || defined(WIN32CE)
//
#if defined(WIN32) || defined(WIN32CE)
template<class TInputImage, class TTrainingImage>
SVMImageModelEstimator<TInputImage, TTrainingImage>
::SVMImageModelEstimator()
...
...
@@ -52,7 +52,7 @@ SVMImageModelEstimator<TInputImage, TTrainingImage>
this->m_Model->DoShrinking(1);
this->m_Model->DoProbabilityEstimates(true);
}
#else
/*
#else
template<class TInputImage, class TTrainingImage>
SVMImageModelEstimator<TInputImage, TTrainingImage>
::SVMImageModelEstimator(): SVMModelEstimator<ITK_TYPENAME TInputImage::PixelType::ComponentType, ITK_TYPENAME TTrainingImage::PixelType >::SVMModelEstimator()
...
...
@@ -60,7 +60,7 @@ SVMImageModelEstimator<TInputImage, TTrainingImage>
{
}
#endif
*/
template<class TInputImage,
class TTrainingImage>
...
...
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