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
296d1f2c
Commit
296d1f2c
authored
18 years ago
by
Patrick Imbo
Browse files
Options
Downloads
Patches
Plain Diff
otbForwardFourierMellinTransformImageFilter : implémentation de la classe + tests
parent
462792ce
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
Testing/Code/FeatureExtraction/otbFourierMellinImageFilterNew.cxx
+59
-0
59 additions, 0 deletions
...Code/FeatureExtraction/otbFourierMellinImageFilterNew.cxx
with
59 additions
and
0 deletions
Testing/Code/FeatureExtraction/otbFourierMellinImageFilterNew.cxx
0 → 100644
+
59
−
0
View file @
296d1f2c
/*=========================================================================
Program: ORFEO Toolbox
Language: C++
Date: $Date$
Version: $Revision$
Copyright (c) Centre National d'Etudes Spatiales. All rights reserved.
See OTBCopyright.txt for details.
This software is distributed WITHOUT ANY WARRANTY; without even
the implied warranty of MERCHANTABILITY or FITNESS FOR A PARTICULAR
PURPOSE. See the above copyright notices for more information.
=========================================================================*/
#if defined(_MSC_VER)
#pragma warning ( disable : 4786 )
#endif
#define MAIN
#include
"otbImage.h"
#include
"otbImageFileReader.h"
#include
"otbImageFileWriter.h"
#include
"otbForwardFourierMellinTransformImageFilter.h"
#include
"itkLinearInterpolateImageFunction.h"
int
otbFourierMellinImageFilterNew
(
int
argc
,
char
*
argv
[])
{
typedef
double
PixelType
;
const
unsigned
int
Dimension
=
2
;
typedef
otb
::
Image
<
PixelType
,
Dimension
>
InputImageType
;
typedef
otb
::
Image
<
PixelType
,
Dimension
>
OutputImageType
;
typedef
itk
::
LinearInterpolateImageFunction
<
InputImageType
,
double
>
InterpolatorType
;
typedef
otb
::
ForwardFourierMellinTransformImageFilter
<
PixelType
,
InterpolatorType
,
Dimension
>
FourierMellinTransformType
;
try
{
FourierMellinTransformType
::
Pointer
fourierMellinTransform
=
FourierMellinTransformType
::
New
();
}
catch
(
itk
::
ExceptionObject
&
err
)
{
std
::
cerr
<<
"itk::Exception detected: "
<<
err
.
GetDescription
();
return
EXIT_FAILURE
;
}
catch
(
...
)
{
std
::
cout
<<
"unknown exception detected !"
<<
std
::
endl
;
return
EXIT_FAILURE
;
}
return
EXIT_SUCCESS
;
}
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