Skip to content
Snippets Groups Projects
Commit 23dc28c8 authored by Emmanuel Christophe's avatar Emmanuel Christophe
Browse files

TEST: add StationaryFilterBank instanciation test

parent 0e872d64
No related branches found
No related tags found
No related merge requests found
......@@ -356,6 +356,10 @@ ADD_TEST(msTvGeodesicMorphologyIterativeDecompositionImageFilter ${MULTISCALE_TE
2
)
# ------- otb::StationaryFilterBankNew ----------
ADD_TEST(msTuStationaryFilterBankNew ${MULTISCALE_TESTS4}
otbStationaryFilterBankNew)
# ------- otb::WaveletTransform ----------
ADD_TEST(msTuWaveletTransformNew ${MULTISCALE_TESTS4}
otbWaveletTransformNew)
......@@ -380,6 +384,8 @@ ADD_TEST(msTvWaveletTransform ${MULTISCALE_TESTS4}
ADD_TEST(msTuWaveletPacketTransformNew ${MULTISCALE_TESTS4}
otbWaveletPacketTransformNew)
# ------- Fichiers sources CXX -----------------------------------
SET(BasicMultiScale_SRCS1
otbMorphologicalPyramidResamplerNew.cxx
......@@ -418,6 +424,7 @@ otbGeodesicMorphologyIterativeDecompositionImageFilterNew.cxx
otbGeodesicMorphologyIterativeDecompositionImageFilter.cxx
)
SET(BasicMultiScale_SRCS4
otbStationaryFilterBankNew.cxx
otbWaveletTransformNew.cxx
otbWaveletTransform.cxx
otbWaveletPacketTransformNew.cxx
......
......@@ -26,6 +26,7 @@
void RegisterTests()
{
REGISTER_TEST(otbStationaryFilterBankNew);
REGISTER_TEST(otbWaveletTransformNew);
REGISTER_TEST(otbWaveletTransform);
REGISTER_TEST(otbWaveletPacketTransformNew);
......
/*=========================================================================
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.
=========================================================================*/
#include "otbImage.h"
#include "otb_9_7_Operator.h"
#include "otbStationaryFilterBank.h"
int otbStationaryFilterBankNew(int argc, char * argv[])
{
const int Dimension = 2;
typedef double PixelType;
typedef otb::Image< PixelType, Dimension > ImageType;
typedef otb::LowPass_9_7_Operator< PixelType, Dimension > LowPassOperator;
typedef otb::HighPass_9_7_Operator< PixelType, Dimension > HighPassOperator;
typedef otb::StationaryFilterBank< ImageType, ImageType, LowPassOperator, HighPassOperator > FilterType;
FilterType::Pointer filter = FilterType::New();
return EXIT_SUCCESS;
}
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment