ANIMA  4.0
Classes | Functions
animaMaskImage.cxx File Reference
#include <tclap/CmdLine.h>
#include <itkMaskImageFilter.h>
#include <itkVectorImage.h>
#include <itkImage.h>
#include <itkImageRegionIterator.h>
#include <itkExtractImageFilter.h>
#include <animaReadWriteFunctions.h>
#include <animaRetrieveImageTypeMacros.h>
+ Include dependency graph for animaMaskImage.cxx:

Go to the source code of this file.

Classes

struct  arguments
 

Functions

template<class ComponentType , int dimension>
void checkIfComponentsAreVectors (itk::ImageIOBase::Pointer imageIO, const arguments &args)
 
int main (int argc, char **argv)
 
template<class ImageType >
void mask3DImage (const arguments &args)
 
template<class ImageType >
void maskScalar4DImage (const arguments &args)
 
template<class ComponentType >
void retrieveNbDimensions (itk::ImageIOBase::Pointer imageIO, const arguments &args)
 

Function Documentation

◆ checkIfComponentsAreVectors()

template<class ComponentType , int dimension>
void checkIfComponentsAreVectors ( itk::ImageIOBase::Pointer  imageIO,
const arguments args 
)

Definition at line 91 of file animaMaskImage.cxx.

Referenced by retrieveNbDimensions().

◆ main()

int main ( int  argc,
char **  argv 
)

◆ mask3DImage()

template<class ImageType >
void mask3DImage ( const arguments args)

Definition at line 74 of file animaMaskImage.cxx.

References arguments::maskName, arguments::refName, and arguments::resName.

◆ maskScalar4DImage()

template<class ImageType >
void maskScalar4DImage ( const arguments args)

◆ retrieveNbDimensions()

template<class ComponentType >
void retrieveNbDimensions ( itk::ImageIOBase::Pointer  imageIO,
const arguments args 
)

Definition at line 111 of file animaMaskImage.cxx.

References ANIMA_RETRIEVE_NUMBER_OF_DIMENSIONS, and checkIfComponentsAreVectors().

Referenced by main().