![]() |
Home | Main Page | Modules | Namespace List | Class Hierarchy | Alphabetical List | Data Structures | File List | Namespace Members | Data Fields | Globals | Related Pages |
#include <itkTransformToDeterminantOfSpatialJacobianSource.h>
Public Types | |
typedef SmartPointer< const Self > | ConstPointer |
typedef OutputImageType::DirectionType | DirectionType |
typedef ImageBase < itkGetStaticConstMacro(ImageDimension) > | ImageBaseType |
typedef OutputImageType::IndexType | IndexType |
typedef OutputImageType::PointType | OriginType |
typedef OutputImageType::ConstPointer | OutputImageConstPointer |
typedef OutputImageType::Pointer | OutputImagePointer |
typedef OutputImageType::RegionType | OutputImageRegionType |
typedef TOutputImage | OutputImageType |
typedef OutputImageType::PixelType | PixelType |
typedef SmartPointer< Self > | Pointer |
typedef OutputImageType::PointType | PointType |
typedef OutputImageType::RegionType | RegionType |
typedef TransformToDeterminantOfSpatialJacobianSource | Self |
typedef RegionType::SizeType | SizeType |
typedef OutputImageType::SpacingType | SpacingType |
typedef TransformType::SpatialJacobianType | SpatialJacobianType |
typedef ImageSource< TOutputImage > | Superclass |
typedef TransformType::ConstPointer | TransformPointerType |
typedef AdvancedTransform < TTransformPrecisionType, itkGetStaticConstMacro(ImageDimension), itkGetStaticConstMacro(ImageDimension)> | TransformType |
Public Member Functions | |
virtual void | BeforeThreadedGenerateData (void) |
virtual void | GenerateOutputInformation (void) |
virtual const char * | GetClassName () const |
unsigned long | GetMTime (void) const |
virtual const DirectionType & | GetOutputDirection () |
virtual const IndexType & | GetOutputIndex () |
virtual const OriginType & | GetOutputOrigin () |
virtual const OutputImageRegionType & | GetOutputRegion () |
virtual const SizeType & | GetOutputSize () |
virtual const SpacingType & | GetOutputSpacing () |
virtual const TransformType * | GetTransform () |
itkStaticConstMacro (ImageDimension, unsigned int, TOutputImage::ImageDimension) | |
virtual void | SetOutputDirection (DirectionType _arg) |
virtual void | SetOutputIndex (const IndexType &index) |
virtual void | SetOutputOrigin (OriginType _arg) |
virtual void | SetOutputOrigin (const double *values) |
void | SetOutputParametersFromImage (const ImageBaseType *image) |
virtual void | SetOutputRegion (OutputImageRegionType _arg) |
virtual void | SetOutputSize (const SizeType &size) |
virtual void | SetOutputSpacing (SpacingType _arg) |
virtual void | SetOutputSpacing (const double *values) |
virtual void | SetTransform (const TransformType *_arg) |
Static Public Member Functions | |
static Pointer | New () |
Protected Member Functions | |
void | LinearGenerateData (void) |
void | NonlinearThreadedGenerateData (const OutputImageRegionType &outputRegionForThread, int threadId) |
void | PrintSelf (std::ostream &os, Indent indent) const |
void | ThreadedGenerateData (const OutputImageRegionType &outputRegionForThread, int threadId) |
TransformToDeterminantOfSpatialJacobianSource () | |
~TransformToDeterminantOfSpatialJacobianSource () | |
Private Member Functions | |
void | operator= (const Self &) |
TransformToDeterminantOfSpatialJacobianSource (const Self &) | |
Private Attributes | |
DirectionType | m_OutputDirection |
OriginType | m_OutputOrigin |
RegionType | m_OutputRegion |
SpacingType | m_OutputSpacing |
TransformPointerType | m_Transform |
Generate the spatial Jacobian from a coordinate transform.
This class was inspired on an the itkTransformToDeformationFieldSource class.
Output information (spacing, size and direction) for the output image should be set. This information has the normal defaults of unit spacing, zero origin and identity direction. Optionally, the output information can be obtained from a reference image. If the reference image is provided and UseReferenceImage is On, then the spacing, origin and direction of the reference image will be used.
Since this filter produces an image which is a different size than its input, it needs to override several of the methods defined in ProcessObject in order to properly manage the pipeline execution model. In particular, this filter overrides ProcessObject::GenerateInputRequestedRegion() and ProcessObject::GenerateOutputInformation().
This filter is implemented as a multithreaded filter. It provides a ThreadedGenerateData() method for its implementation.
This class was taken from the Insight Journal paper: http://hdl.handle.net/?/?
Definition at line 72 of file itkTransformToDeterminantOfSpatialJacobianSource.h.
typedef SmartPointer<const Self> itk::TransformToDeterminantOfSpatialJacobianSource< TOutputImage, TTransformPrecisionType >::ConstPointer |
Definition at line 80 of file itkTransformToDeterminantOfSpatialJacobianSource.h.
typedef OutputImageType::DirectionType itk::TransformToDeterminantOfSpatialJacobianSource< TOutputImage, TTransformPrecisionType >::DirectionType |
Definition at line 113 of file itkTransformToDeterminantOfSpatialJacobianSource.h.
typedef ImageBase< itkGetStaticConstMacro( ImageDimension ) > itk::TransformToDeterminantOfSpatialJacobianSource< TOutputImage, TTransformPrecisionType >::ImageBaseType |
Typedefs for base image.
Definition at line 116 of file itkTransformToDeterminantOfSpatialJacobianSource.h.
typedef OutputImageType::IndexType itk::TransformToDeterminantOfSpatialJacobianSource< TOutputImage, TTransformPrecisionType >::IndexType |
Definition at line 109 of file itkTransformToDeterminantOfSpatialJacobianSource.h.
typedef OutputImageType::PointType itk::TransformToDeterminantOfSpatialJacobianSource< TOutputImage, TTransformPrecisionType >::OriginType |
Definition at line 112 of file itkTransformToDeterminantOfSpatialJacobianSource.h.
typedef OutputImageType::ConstPointer itk::TransformToDeterminantOfSpatialJacobianSource< TOutputImage, TTransformPrecisionType >::OutputImageConstPointer |
Definition at line 84 of file itkTransformToDeterminantOfSpatialJacobianSource.h.
typedef OutputImageType::Pointer itk::TransformToDeterminantOfSpatialJacobianSource< TOutputImage, TTransformPrecisionType >::OutputImagePointer |
Definition at line 83 of file itkTransformToDeterminantOfSpatialJacobianSource.h.
typedef OutputImageType::RegionType itk::TransformToDeterminantOfSpatialJacobianSource< TOutputImage, TTransformPrecisionType >::OutputImageRegionType |
Definition at line 85 of file itkTransformToDeterminantOfSpatialJacobianSource.h.
typedef TOutputImage itk::TransformToDeterminantOfSpatialJacobianSource< TOutputImage, TTransformPrecisionType >::OutputImageType |
Definition at line 82 of file itkTransformToDeterminantOfSpatialJacobianSource.h.
typedef OutputImageType::PixelType itk::TransformToDeterminantOfSpatialJacobianSource< TOutputImage, TTransformPrecisionType >::PixelType |
Typedefs for output image.
Definition at line 105 of file itkTransformToDeterminantOfSpatialJacobianSource.h.
typedef SmartPointer<Self> itk::TransformToDeterminantOfSpatialJacobianSource< TOutputImage, TTransformPrecisionType >::Pointer |
Definition at line 79 of file itkTransformToDeterminantOfSpatialJacobianSource.h.
typedef OutputImageType::PointType itk::TransformToDeterminantOfSpatialJacobianSource< TOutputImage, TTransformPrecisionType >::PointType |
Definition at line 110 of file itkTransformToDeterminantOfSpatialJacobianSource.h.
typedef OutputImageType::RegionType itk::TransformToDeterminantOfSpatialJacobianSource< TOutputImage, TTransformPrecisionType >::RegionType |
Definition at line 107 of file itkTransformToDeterminantOfSpatialJacobianSource.h.
typedef TransformToDeterminantOfSpatialJacobianSource itk::TransformToDeterminantOfSpatialJacobianSource< TOutputImage, TTransformPrecisionType >::Self |
Standard class typedefs.
Definition at line 77 of file itkTransformToDeterminantOfSpatialJacobianSource.h.
typedef RegionType::SizeType itk::TransformToDeterminantOfSpatialJacobianSource< TOutputImage, TTransformPrecisionType >::SizeType |
Definition at line 108 of file itkTransformToDeterminantOfSpatialJacobianSource.h.
typedef OutputImageType::SpacingType itk::TransformToDeterminantOfSpatialJacobianSource< TOutputImage, TTransformPrecisionType >::SpacingType |
Definition at line 111 of file itkTransformToDeterminantOfSpatialJacobianSource.h.
typedef TransformType::SpatialJacobianType itk::TransformToDeterminantOfSpatialJacobianSource< TOutputImage, TTransformPrecisionType >::SpatialJacobianType |
Definition at line 102 of file itkTransformToDeterminantOfSpatialJacobianSource.h.
typedef ImageSource<TOutputImage> itk::TransformToDeterminantOfSpatialJacobianSource< TOutputImage, TTransformPrecisionType >::Superclass |
Definition at line 78 of file itkTransformToDeterminantOfSpatialJacobianSource.h.
typedef TransformType::ConstPointer itk::TransformToDeterminantOfSpatialJacobianSource< TOutputImage, TTransformPrecisionType >::TransformPointerType |
Definition at line 101 of file itkTransformToDeterminantOfSpatialJacobianSource.h.
typedef AdvancedTransform<TTransformPrecisionType, itkGetStaticConstMacro( ImageDimension ), itkGetStaticConstMacro( ImageDimension )> itk::TransformToDeterminantOfSpatialJacobianSource< TOutputImage, TTransformPrecisionType >::TransformType |
Typedefs for transform.
Definition at line 100 of file itkTransformToDeterminantOfSpatialJacobianSource.h.
itk::TransformToDeterminantOfSpatialJacobianSource< TOutputImage, TTransformPrecisionType >::TransformToDeterminantOfSpatialJacobianSource | ( | ) | [protected] |
itk::TransformToDeterminantOfSpatialJacobianSource< TOutputImage, TTransformPrecisionType >::~TransformToDeterminantOfSpatialJacobianSource | ( | ) | [inline, protected] |
Definition at line 182 of file itkTransformToDeterminantOfSpatialJacobianSource.h.
itk::TransformToDeterminantOfSpatialJacobianSource< TOutputImage, TTransformPrecisionType >::TransformToDeterminantOfSpatialJacobianSource | ( | const Self & | ) | [private] |
virtual void itk::TransformToDeterminantOfSpatialJacobianSource< TOutputImage, TTransformPrecisionType >::BeforeThreadedGenerateData | ( | void | ) | [virtual] |
Checking if transform is set. In case of linear transformations, the LinearGenerateData is called.
virtual void itk::TransformToDeterminantOfSpatialJacobianSource< TOutputImage, TTransformPrecisionType >::GenerateOutputInformation | ( | void | ) | [virtual] |
TransformToDeterminantOfSpatialJacobianSource produces a floating value image.
virtual const char* itk::TransformToDeterminantOfSpatialJacobianSource< TOutputImage, TTransformPrecisionType >::GetClassName | ( | ) | const [virtual] |
Run-time type information (and related methods).
unsigned long itk::TransformToDeterminantOfSpatialJacobianSource< TOutputImage, TTransformPrecisionType >::GetMTime | ( | void | ) | const |
Compute the Modified Time based on changes to the components.
virtual const DirectionType& itk::TransformToDeterminantOfSpatialJacobianSource< TOutputImage, TTransformPrecisionType >::GetOutputDirection | ( | ) | [virtual] |
virtual const IndexType& itk::TransformToDeterminantOfSpatialJacobianSource< TOutputImage, TTransformPrecisionType >::GetOutputIndex | ( | ) | [virtual] |
Get the start index of the output largest possible region.
virtual const OriginType& itk::TransformToDeterminantOfSpatialJacobianSource< TOutputImage, TTransformPrecisionType >::GetOutputOrigin | ( | ) | [virtual] |
Get the output image origin.
virtual const OutputImageRegionType& itk::TransformToDeterminantOfSpatialJacobianSource< TOutputImage, TTransformPrecisionType >::GetOutputRegion | ( | ) | [virtual] |
Get the region of the output image.
virtual const SizeType& itk::TransformToDeterminantOfSpatialJacobianSource< TOutputImage, TTransformPrecisionType >::GetOutputSize | ( | ) | [virtual] |
Get the size of the output image.
virtual const SpacingType& itk::TransformToDeterminantOfSpatialJacobianSource< TOutputImage, TTransformPrecisionType >::GetOutputSpacing | ( | ) | [virtual] |
Get the output image spacing.
virtual const TransformType* itk::TransformToDeterminantOfSpatialJacobianSource< TOutputImage, TTransformPrecisionType >::GetTransform | ( | ) | [virtual] |
Get a pointer to the coordinate transform.
itk::TransformToDeterminantOfSpatialJacobianSource< TOutputImage, TTransformPrecisionType >::itkStaticConstMacro | ( | ImageDimension | , |
unsigned | int, | ||
TOutputImage::ImageDimension | |||
) |
Number of dimensions.
void itk::TransformToDeterminantOfSpatialJacobianSource< TOutputImage, TTransformPrecisionType >::LinearGenerateData | ( | void | ) | [protected] |
Faster implementation for resampling that works for with linear transformation types. Unthreaded.
static Pointer itk::TransformToDeterminantOfSpatialJacobianSource< TOutputImage, TTransformPrecisionType >::New | ( | ) | [static] |
Method for creation through the object factory.
void itk::TransformToDeterminantOfSpatialJacobianSource< TOutputImage, TTransformPrecisionType >::NonlinearThreadedGenerateData | ( | const OutputImageRegionType & | outputRegionForThread, |
int | threadId | ||
) | [protected] |
Default implementation for resampling that works for any transformation type.
void itk::TransformToDeterminantOfSpatialJacobianSource< TOutputImage, TTransformPrecisionType >::operator= | ( | const Self & | ) | [private] |
void itk::TransformToDeterminantOfSpatialJacobianSource< TOutputImage, TTransformPrecisionType >::PrintSelf | ( | std::ostream & | os, |
Indent | indent | ||
) | const [protected] |
virtual void itk::TransformToDeterminantOfSpatialJacobianSource< TOutputImage, TTransformPrecisionType >::SetOutputDirection | ( | DirectionType | _arg | ) | [virtual] |
Set the output direction cosine matrix.
virtual void itk::TransformToDeterminantOfSpatialJacobianSource< TOutputImage, TTransformPrecisionType >::SetOutputIndex | ( | const IndexType & | index | ) | [virtual] |
Set the start index of the output largest possible region. The default is an index of all zeros.
virtual void itk::TransformToDeterminantOfSpatialJacobianSource< TOutputImage, TTransformPrecisionType >::SetOutputOrigin | ( | OriginType | _arg | ) | [virtual] |
Set the output image origin.
virtual void itk::TransformToDeterminantOfSpatialJacobianSource< TOutputImage, TTransformPrecisionType >::SetOutputOrigin | ( | const double * | values | ) | [virtual] |
void itk::TransformToDeterminantOfSpatialJacobianSource< TOutputImage, TTransformPrecisionType >::SetOutputParametersFromImage | ( | const ImageBaseType * | image | ) |
Helper method to set the output parameters based on this image
virtual void itk::TransformToDeterminantOfSpatialJacobianSource< TOutputImage, TTransformPrecisionType >::SetOutputRegion | ( | OutputImageRegionType | _arg | ) | [virtual] |
Set the region of the output image.
virtual void itk::TransformToDeterminantOfSpatialJacobianSource< TOutputImage, TTransformPrecisionType >::SetOutputSize | ( | const SizeType & | size | ) | [virtual] |
Set the size of the output image.
virtual void itk::TransformToDeterminantOfSpatialJacobianSource< TOutputImage, TTransformPrecisionType >::SetOutputSpacing | ( | SpacingType | _arg | ) | [virtual] |
Set the output image spacing.
virtual void itk::TransformToDeterminantOfSpatialJacobianSource< TOutputImage, TTransformPrecisionType >::SetOutputSpacing | ( | const double * | values | ) | [virtual] |
virtual void itk::TransformToDeterminantOfSpatialJacobianSource< TOutputImage, TTransformPrecisionType >::SetTransform | ( | const TransformType * | _arg | ) | [virtual] |
Set the coordinate transformation. Set the coordinate transform to use for resampling. Note that this must be in physical coordinates and it is the output-to-input transform, NOT the input-to-output transform that you might naively expect. By default the filter uses an Identity transform. You must provide a different transform here, before attempting to run the filter, if you do not want to use the default Identity transform.
void itk::TransformToDeterminantOfSpatialJacobianSource< TOutputImage, TTransformPrecisionType >::ThreadedGenerateData | ( | const OutputImageRegionType & | outputRegionForThread, |
int | threadId | ||
) | [protected] |
TransformToDeterminantOfSpatialJacobianSource can be implemented as a multithreaded filter.
DirectionType itk::TransformToDeterminantOfSpatialJacobianSource< TOutputImage, TTransformPrecisionType >::m_OutputDirection [private] |
Definition at line 214 of file itkTransformToDeterminantOfSpatialJacobianSource.h.
OriginType itk::TransformToDeterminantOfSpatialJacobianSource< TOutputImage, TTransformPrecisionType >::m_OutputOrigin [private] |
Definition at line 213 of file itkTransformToDeterminantOfSpatialJacobianSource.h.
RegionType itk::TransformToDeterminantOfSpatialJacobianSource< TOutputImage, TTransformPrecisionType >::m_OutputRegion [private] |
Member variables.
Definition at line 210 of file itkTransformToDeterminantOfSpatialJacobianSource.h.
SpacingType itk::TransformToDeterminantOfSpatialJacobianSource< TOutputImage, TTransformPrecisionType >::m_OutputSpacing [private] |
Definition at line 212 of file itkTransformToDeterminantOfSpatialJacobianSource.h.
TransformPointerType itk::TransformToDeterminantOfSpatialJacobianSource< TOutputImage, TTransformPrecisionType >::m_Transform [private] |
Definition at line 211 of file itkTransformToDeterminantOfSpatialJacobianSource.h.
Generated on 24-05-2012 for elastix by ![]() |
![]() |