ANIMA
4.0
|
#include <tclap/CmdLine.h>
#include <itkImage.h>
#include <itkCommand.h>
#include <itkExtractImageFilter.h>
#include <itkImageRegionIteratorWithIndex.h>
#include <animaReadWriteFunctions.h>
#include <animaRetrieveImageTypeMacros.h>
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) |
template<class InputImageType > | |
void | evaluateOutputType (const arguments &args) |
void | eventCallback (itk::Object *caller, const itk::EventObject &event, void *clientData) |
template<class InputImageType , unsigned int OutputDimension> | |
void | extract (const arguments &args) |
int | main (int ac, const char **av) |
template<class ComponentType > | |
void | retrieveNbDimensions (itk::ImageIOBase::Pointer imageIO, const arguments &args) |
void checkIfComponentsAreVectors | ( | itk::ImageIOBase::Pointer | imageIO, |
const arguments & | args | ||
) |
Definition at line 196 of file animaCropImage.cxx.
References ANIMA_CHECK_IF_COMPONENTS_ARE_VECTORS, and evaluateOutputType().
Referenced by retrieveNbDimensions().
void evaluateOutputType | ( | const arguments & | args | ) |
Definition at line 100 of file animaCropImage.cxx.
References arguments::tsize, arguments::xsize, arguments::ysize, and arguments::zsize.
Referenced by checkIfComponentsAreVectors().
void eventCallback | ( | itk::Object * | caller, |
const itk::EventObject & | event, | ||
void * | clientData | ||
) |
Definition at line 12 of file animaCropImage.cxx.
Referenced by extract().
void extract | ( | const arguments & | args | ) |
Definition at line 26 of file animaCropImage.cxx.
References eventCallback(), arguments::input, arguments::output, arguments::tindex, arguments::tsize, arguments::xindex, arguments::xsize, arguments::yindex, arguments::ysize, arguments::zindex, and arguments::zsize.
int main | ( | int | ac, |
const char ** | av | ||
) |
Definition at line 209 of file animaCropImage.cxx.
References ANIMA_RETRIEVE_COMPONENT_TYPE, arguments::imageIO, arguments::input, arguments::output, retrieveNbDimensions(), arguments::tindex, arguments::tsize, arguments::xindex, arguments::xsize, arguments::yindex, arguments::ysize, arguments::zindex, and arguments::zsize.
void retrieveNbDimensions | ( | itk::ImageIOBase::Pointer | imageIO, |
const arguments & | args | ||
) |
Definition at line 204 of file animaCropImage.cxx.
References ANIMA_RETRIEVE_NUMBER_OF_DIMENSIONS, and checkIfComponentsAreVectors().
Referenced by main().