https://github.com/ElsevierSoftwareX/SOFTX_2019_219
Raw File
Tip revision: 99932db9e71d31a76425d68eef7d5859523ca0e4 authored by Konrad Werys on 04 November 2019, 09:33:32 UTC
doc: changes in the documentation
Tip revision: 99932db
itkNShmolliSamplesUsedTo123ImageFilter.h
//
//  NShmolliSamplesUsedTo123ImageFilter
//  TomatoLib
//
//  Created by Konrad Werys on 24/11/17.
//  Copyright © 2017 Konrad Werys. All rights reserved.
//

#ifndef TomatoLIB_ITKNShmolliSamplesUsedTo123ImageFilter_H
#define TomatoLIB_ITKNShmolliSamplesUsedTo123ImageFilter_H

#include "CmakeConfigForTomato.h"

#ifdef USE_ITK

#include "tomatolib_export.h"
#include "itkImageToImageFilter.h"
#include "itkImageRegionIterator.h"
#include "itkImageRegionConstIterator.h"

namespace itk {
    template<typename TImage>
    class NShmolliSamplesUsedTo123ImageFilter : public ImageToImageFilter<TImage, TImage> {

    public:
        /** Standard class typedefs. */
        typedef NShmolliSamplesUsedTo123ImageFilter Self;
        typedef ImageToImageFilter<TImage, TImage> Superclass;
        typedef SmartPointer<Self> Pointer;

        /** Method for creation through the object factory. */
        itkNewMacro(Self);

        /** Run-time type information (and related methods). */
        itkTypeMacro(OxColorbarImageFilter, ImageToImageFilter);

        typedef typename TImage::PixelType PixelTypeIn;
        typedef typename TImage::PixelType PixelTypeOut;

    protected:
        /** Constructor. */
        NShmolliSamplesUsedTo123ImageFilter() {};

        /** Destructor. */
        ~NShmolliSamplesUsedTo123ImageFilter() {};

        /** Does the real work. */
        virtual void GenerateData() ITK_OVERRIDE;

    private:
        ITK_DISALLOW_COPY_AND_ASSIGN(NShmolliSamplesUsedTo123ImageFilter); //purposely not implemented

    };
} //namespace ITK

#ifndef TOMATOLIB_COMPILED
#ifndef ITK_MANUAL_INSTANTIATION
#include "itkNShmolliSamplesUsedTo123ImageFilter.txx"
#endif //ITK_MANUAL_INSTANTIATION
#endif //TOMATOLIB_COMPILED

#endif // USE_ITK

#endif //TomatoLIB_ITKNShmolliSamplesUsedTo123ImageFilter_H
back to top