otbBoxAndWhiskerImageFilterNew.cxx 1.18 KB
Newer Older
Gregoire Mercier's avatar
Gregoire Mercier committed
1 2
/*=========================================================================

3 4 5 6
  Program:   ORFEO Toolbox
  Language:  C++
  Date:      $Date$
  Version:   $Revision$
Gregoire Mercier's avatar
Gregoire Mercier committed
7 8


9
  Copyright (c) Centre National d'Etudes Spatiales. All rights reserved.
Emmanuel Christophe's avatar
Emmanuel Christophe committed
10
  See OTBCopyright.txt for details.
Gregoire Mercier's avatar
Gregoire Mercier committed
11

12
  Copyright (c) Institut Telecom; Telecom Bretagne. All rights reserved.
13
  See IMTCopyright.txt for details.
Gregoire Mercier's avatar
Gregoire Mercier committed
14

15 16
     This software is distributed WITHOUT ANY WARRANTY; without even
     the implied warranty of MERCHANTABILITY or FITNESS FOR A PARTICULAR
Emmanuel Christophe's avatar
Emmanuel Christophe committed
17
     PURPOSE.  See the above copyright notices for more information.
Gregoire Mercier's avatar
Gregoire Mercier committed
18 19 20 21 22 23 24 25 26

=========================================================================*/

#include <iostream>
#include <cstdlib>

#include "otbVectorImage.h"
#include "otbBoxAndWhiskerImageFilter.h"

27
int otbBoxAndWhiskerImageFilterNew(int itkNotUsed(argc), char * itkNotUsed(argv) [])
Gregoire Mercier's avatar
Gregoire Mercier committed
28 29
{
  const unsigned int Dimension = 2;
OTB Bot's avatar
STYLE  
OTB Bot committed
30 31 32 33 34
  typedef double                                   PixelType;
  typedef otb::VectorImage<PixelType, Dimension>   ImageType;
  typedef otb::BoxAndWhiskerImageFilter<ImageType> FilterType;

  FilterType::Pointer filter = FilterType::New();
Gregoire Mercier's avatar
Gregoire Mercier committed
35

36 37
  std::cout << filter << std::endl;

Gregoire Mercier's avatar
Gregoire Mercier committed
38 39
  return EXIT_SUCCESS;
}