swh:1:snp:e6d42e6731ce66e3c09de07ac49964c03139e990
Tip revision: 9ee6be436b4cbf61c6badcba756dd3a286de28d7 authored by Konrad Werys on 28 May 2019, 13:12:50 UTC
feat: optional SD maps calculation
feat: optional SD maps calculation
Tip revision: 9ee6be4
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 "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
#ifdef TomatoLib_EXPORTS
#ifndef ITK_MANUAL_INSTANTIATION
#include "itkNShmolliSamplesUsedTo123ImageFilter.txx"
#endif //ITK_MANUAL_INSTANTIATION
#endif //TomatoLib_EXPORTS
#endif //TomatoLIB_ITKNShmolliSamplesUsedTo123ImageFilter_H