ANIMA
4.0
|
Implements a class to handle thread number in a dynamic way for multithreaded methods needing thread numbering even for dynamic threading. More...
#include <animaNumberedThreadImageToImageFilter.h>
Public Types | |
typedef itk::SmartPointer< const Self > | ConstPointer |
typedef Superclass::OutputImageRegionType | OutputImageRegionType |
typedef itk::SmartPointer< Self > | Pointer |
typedef NumberedThreadImageToImageFilter | Self |
typedef itk::ImageToImageFilter< TInputImage, TOutputImage > | Superclass |
typedef itk::ImageSource< TOutputImage >::ThreadStruct | ThreadStruct |
Public Member Functions | |
virtual ::itk::LightObject::Pointer | CreateAnother (void) const |
virtual OutputImageRegionType | GetComputationRegion () |
virtual const char * | GetNameOfClass () const |
virtual void | SetComputationRegion (OutputImageRegionType _arg) |
virtual void | SetNumberOfPointsToProcess (unsigned int _arg) |
Static Public Member Functions | |
static Pointer | New () |
Static Public Attributes | |
static constexpr unsigned int | OutputImageDimension = TOutputImage::ImageDimension |
Protected Member Functions | |
virtual void | BeforeThreadedGenerateData () ITK_OVERRIDE |
virtual void | GenerateData () ITK_OVERRIDE |
unsigned int | GetSafeThreadId () |
void | IncrementNumberOfProcessedPoints () |
template<typename ScalarRealType > | |
void | InitializeZeroPixel (TOutputImage *image, itk::VariableLengthVector< ScalarRealType > &zeroPixel) |
Utility function to initialize output images pixel to zero for vector images. More... | |
template<typename PixelType > | |
void | InitializeZeroPixel (TOutputImage *, PixelType &zeroPixel) |
Utility function to initialize output images pixel to zero for all images except vector images. More... | |
NumberedThreadImageToImageFilter () | |
void | SafeReleaseThreadId (unsigned int threadId) |
virtual void | ThreadProcessSlices () |
virtual | ~NumberedThreadImageToImageFilter () |
Static Protected Member Functions | |
static ITK_THREAD_RETURN_FUNCTION_CALL_CONVENTION | ThreaderMultiSplitCallback (void *arg) |
Implements a class to handle thread number in a dynamic way for multithreaded methods needing thread numbering even for dynamic threading.
Definition at line 15 of file animaNumberedThreadImageToImageFilter.h.
typedef itk::SmartPointer<const Self> anima::NumberedThreadImageToImageFilter< TInputImage, TOutputImage >::ConstPointer |
Definition at line 23 of file animaNumberedThreadImageToImageFilter.h.
typedef Superclass::OutputImageRegionType anima::NumberedThreadImageToImageFilter< TInputImage, TOutputImage >::OutputImageRegionType |
Definition at line 27 of file animaNumberedThreadImageToImageFilter.h.
typedef itk::SmartPointer<Self> anima::NumberedThreadImageToImageFilter< TInputImage, TOutputImage >::Pointer |
Definition at line 22 of file animaNumberedThreadImageToImageFilter.h.
typedef NumberedThreadImageToImageFilter anima::NumberedThreadImageToImageFilter< TInputImage, TOutputImage >::Self |
Standard class typedefs.
Definition at line 20 of file animaNumberedThreadImageToImageFilter.h.
typedef itk::ImageToImageFilter<TInputImage, TOutputImage> anima::NumberedThreadImageToImageFilter< TInputImage, TOutputImage >::Superclass |
Definition at line 21 of file animaNumberedThreadImageToImageFilter.h.
typedef itk::ImageSource<TOutputImage>::ThreadStruct anima::NumberedThreadImageToImageFilter< TInputImage, TOutputImage >::ThreadStruct |
Definition at line 24 of file animaNumberedThreadImageToImageFilter.h.
|
inlineprotected |
Definition at line 41 of file animaNumberedThreadImageToImageFilter.h.
|
inlineprotectedvirtual |
Definition at line 49 of file animaNumberedThreadImageToImageFilter.h.
|
protectedvirtual |
Reimplemented in anima::MCMEstimatorImageFilter< InputPixelType, OutputPixelType >, anima::SegmentationMeasuresImageFilter< TLabelImage >, anima::MultiT2RelaxometryEstimationImageFilter< TPixelScalarType >, anima::GammaMixtureT2RelaxometryEstimationImageFilter< TPixelScalarType >, anima::NLMeansPatientToGroupComparisonImageFilter< PixelScalarType >, anima::GMMT2RelaxometryEstimationImageFilter< TPixelScalarType >, anima::OrientedModelBaseResampleImageFilter< TImageType, TInterpolatorPrecisionType >, anima::NonLocalMeansImageFilter< TInputImage >, anima::PatientToGroupComparisonImageFilter< PixelScalarType >, anima::T2EPGRelaxometryEstimationImageFilter< TInputImage, TOutputImage >, anima::DTIEstimationImageFilter< InputPixelScalarType, OutputPixelScalarType >, anima::T1RelaxometryEstimationImageFilter< TInputImage, TOutputImage >, anima::NoiseGeneratorImageFilter< ImageType >, anima::LocalPatchMeanDistanceImageFilter< PixelScalarType >, anima::LocalPatchCovarianceDistanceImageFilter< PixelScalarType >, anima::MaskedImageToImageFilter< TInputImage, TOutputImage >, anima::MaskedImageToImageFilter< itk::Image< InputPixelType, 3 >, anima::MCMImage< OutputPixelType, 3 > >, anima::MaskedImageToImageFilter< itk::VectorImage< TPixelType, TImageDimension >, itk::VectorImage< TPixelType, TImageDimension > >, anima::MaskedImageToImageFilter< TImageType, TImageType >, anima::MaskedImageToImageFilter< itk::Image< InputPixelScalarType, 3 >, itk::VectorImage< OutputPixelScalarType, 3 > >, anima::MaskedImageToImageFilter< itk::Image< TPixelScalarType, 3 >, itk::Image< TPixelScalarType, 3 > >, anima::MaskedImageToImageFilter< itk::VectorImage< PixelScalarType, 3 >, itk::Image< PixelScalarType, 3 > >, anima::PatientToGroupODFComparisonImageFilter< PixelScalarType >, anima::MCMResampleImageFilter< TImageType, TInterpolatorPrecisionType >, anima::ODFResampleImageFilter< TImageType, TInterpolatorPrecisionType >, and anima::TensorResampleImageFilter< TImageType, TInterpolatorPrecisionType >.
Definition at line 10 of file animaNumberedThreadImageToImageFilter.hxx.
virtual::itk::LightObject::Pointer anima::NumberedThreadImageToImageFilter< TInputImage, TOutputImage >::CreateAnother | ( | void | ) | const |
|
protectedvirtual |
|
virtual |
|
virtual |
Run-time type information (and related methods)
Reimplemented in anima::MCMEstimatorImageFilter< InputPixelType, OutputPixelType >, anima::SegmentationMeasuresImageFilter< TLabelImage >, anima::DTIScalarMapsImageFilter< ImageDimension >, anima::NonLocalMeansImageFilter< TInputImage >, anima::MultiT2RelaxometryEstimationImageFilter< TPixelScalarType >, anima::OrientedModelBaseResampleImageFilter< TImageType, TInterpolatorPrecisionType >, anima::PatientToGroupComparisonImageFilter< PixelScalarType >, anima::FlipTensorImageFilter< TPixelType, TImageDimension >, anima::MCMResampleImageFilter< TImageType, TInterpolatorPrecisionType >, anima::DTIEstimationImageFilter< InputPixelScalarType, OutputPixelScalarType >, anima::NoiseGeneratorImageFilter< ImageType >, anima::ODFResampleImageFilter< TImageType, TInterpolatorPrecisionType >, anima::TensorResampleImageFilter< TImageType, TInterpolatorPrecisionType >, anima::NLMeansPatientToGroupComparisonImageFilter< PixelScalarType >, anima::LocalPatchCovarianceDistanceImageFilter< PixelScalarType >, anima::LocalPatchMeanDistanceImageFilter< PixelScalarType >, anima::GammaMixtureT2RelaxometryEstimationImageFilter< TPixelScalarType >, anima::GMMT2RelaxometryEstimationImageFilter< TPixelScalarType >, anima::PatientToGroupODFComparisonImageFilter< PixelScalarType >, anima::MaskedImageToImageFilter< TInputImage, TOutputImage >, anima::T2RelaxometryEstimationImageFilter< TInputImage, TOutputImage >, anima::MaskedImageToImageFilter< itk::Image< InputPixelType, 3 >, anima::MCMImage< OutputPixelType, 3 > >, anima::MaskedImageToImageFilter< itk::VectorImage< TPixelType, TImageDimension >, itk::VectorImage< TPixelType, TImageDimension > >, anima::MaskedImageToImageFilter< TImageType, TImageType >, anima::MaskedImageToImageFilter< itk::Image< InputPixelScalarType, 3 >, itk::VectorImage< OutputPixelScalarType, 3 > >, anima::MaskedImageToImageFilter< itk::Image< TPixelScalarType, 3 >, itk::Image< TPixelScalarType, 3 > >, anima::MaskedImageToImageFilter< itk::VectorImage< PixelScalarType, 3 >, itk::Image< PixelScalarType, 3 > >, anima::T1RelaxometryEstimationImageFilter< TInputImage, TOutputImage >, anima::T1SERelaxometryEstimationImageFilter< TInputImage, TOutputImage >, and anima::T2EPGRelaxometryEstimationImageFilter< TInputImage, TOutputImage >.
|
protected |
|
protected |
|
inlineprotected |
Utility function to initialize output images pixel to zero for vector images.
Definition at line 66 of file animaNumberedThreadImageToImageFilter.h.
|
inlineprotected |
Utility function to initialize output images pixel to zero for all images except vector images.
Definition at line 76 of file animaNumberedThreadImageToImageFilter.h.
|
static |
Method for creation through the object factory.
|
protected |
|
virtual |
|
virtual |
|
staticprotected |
|
protectedvirtual |
Definition at line 85 of file animaNumberedThreadImageToImageFilter.hxx.
Referenced by anima::NumberedThreadImageToImageFilter< itk::VectorImage< PixelScalarType, 3 >, itk::Image< PixelScalarType, 3 > >::ThreaderMultiSplitCallback(), and anima::NumberedThreadImageToImageFilter< itk::VectorImage< PixelScalarType, 3 >, itk::Image< PixelScalarType, 3 > >::~NumberedThreadImageToImageFilter().
|
static |
Definition at line 26 of file animaNumberedThreadImageToImageFilter.h.