https://github.com/ElsevierSoftwareX/SOFTX_2019_219
Raw File
Tip revision: c6d23f52bf7d7de2698a41518f6c2638decc9d6b authored by Konrad Werys on 26 October 2018, 15:54:52 UTC
minor changes
Tip revision: c6d23f5
itkNShmolliSamplesUsedTo123ImageFilter.h
//
//  NShmolliSamplesUsedTo123ImageFilter
//  OxShmolliLib
//
//  Created by Konrad Werys on 24/11/17.
//  Copyright © 2017 Konrad Werys. All rights reserved.
//

#ifndef OXSHMOLLILIB_ITKNShmolliSamplesUsedTo123ImageFilter_H
#define OXSHMOLLILIB_ITKNShmolliSamplesUsedTo123ImageFilter_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 ITK_MANUAL_INSTANTIATION
#include "itkNShmolliSamplesUsedTo123ImageFilter.txx"
#endif

#endif //OXSHMOLLILIB_ITKNShmolliSamplesUsedTo123ImageFilter_H
back to top