#include <cmtkAtlasSegmentation.h>
Public Member Functions | |
AtlasSegmentation (UniformVolume::SmartPtr &targetImage, UniformVolume::SmartPtr &atlasImage, UniformVolume::SmartPtr &atlasLabels) | |
Constructor: compute registrations. | |
AffineXform::SmartPtr & | GetAffineXform () |
Get affine transformation. | |
WarpXform::SmartPtr | GetWarpXform () |
Get nonrigid transformation. | |
SplineWarpXform::SmartPtr | GetSplineWarpXform () |
Get nonrigid spline transformation. | |
UniformVolume::SmartPtr & | GetLabelMap () |
Get reformatted label map. | |
void | SetVerbose (const bool verbose) |
Set verbose flag. | |
void | SetFast (const bool fast) |
Set fast flag. | |
Private Member Functions | |
void | RegisterAffine () |
Compute affine registration. | |
void | RegisterSpline () |
Compute spline registration. | |
void | ReformatLabels () |
Compute label map. | |
Private Attributes | |
bool | m_Verbose |
Verbose flag. | |
bool | m_Fast |
Flag for "fast" computation. | |
UniformVolume::SmartPtr | m_TargetImage |
Target image. | |
UniformVolume::SmartPtr | m_AtlasImage |
Atlas image. | |
UniformVolume::SmartPtr | m_AtlasLabels |
Atlas labels. | |
AffineXform::SmartPtr | m_AffineXform |
Affine registration transformation. | |
WarpXform::SmartPtr | m_WarpXform |
Nonrigid, B-spline transformation. | |
UniformVolume::SmartPtr | m_LabelMap |
Output label map. |
Definition at line 42 of file cmtkAtlasSegmentation.h.
cmtk::AtlasSegmentation::AtlasSegmentation | ( | UniformVolume::SmartPtr & | targetImage, |
UniformVolume::SmartPtr & | atlasImage, | ||
UniformVolume::SmartPtr & | atlasLabels | ||
) |
Constructor: compute registrations.
Definition at line 41 of file cmtkAtlasSegmentation.cxx.
AffineXform::SmartPtr& cmtk::AtlasSegmentation::GetAffineXform | ( | ) | [inline] |
Get affine transformation.
Definition at line 49 of file cmtkAtlasSegmentation.h.
UniformVolume::SmartPtr& cmtk::AtlasSegmentation::GetLabelMap | ( | ) | [inline] |
Get reformatted label map.
Definition at line 71 of file cmtkAtlasSegmentation.h.
SplineWarpXform::SmartPtr cmtk::AtlasSegmentation::GetSplineWarpXform | ( | ) | [inline] |
Get nonrigid spline transformation.
Definition at line 65 of file cmtkAtlasSegmentation.h.
WarpXform::SmartPtr cmtk::AtlasSegmentation::GetWarpXform | ( | ) | [inline] |
Get nonrigid transformation.
Definition at line 57 of file cmtkAtlasSegmentation.h.
void cmtk::AtlasSegmentation::ReformatLabels | ( | ) | [private] |
Compute label map.
Definition at line 124 of file cmtkAtlasSegmentation.cxx.
References cmtk::Interpolators::PARTIALVOLUME, cmtk::ReformatVolume::PlainReformat(), cmtk::ReformatVolume::SetFloatingVolume(), cmtk::ReformatVolume::SetInterpolation(), cmtk::ReformatVolume::SetReferenceVolume(), and cmtk::ReformatVolume::SetWarpXform().
void cmtk::AtlasSegmentation::RegisterAffine | ( | ) | [private] |
Compute affine registration.
Definition at line 53 of file cmtkAtlasSegmentation.cxx.
References cmtk::AffineRegistration::AddNumberDOFs(), cmtk::Console::flush(), cmtk::AffineRegistration::GetTransformation(), cmtk::VoxelRegistration::Register(), and cmtk::StdErr.
void cmtk::AtlasSegmentation::RegisterSpline | ( | ) | [private] |
Compute spline registration.
Definition at line 86 of file cmtkAtlasSegmentation.cxx.
References cmtk::Console::flush(), cmtk::ElasticRegistration::GetTransformation(), cmtk::VoxelRegistration::Register(), and cmtk::StdErr.
void cmtk::AtlasSegmentation::SetFast | ( | const bool | fast ) | [inline] |
Set fast flag.
Definition at line 85 of file cmtkAtlasSegmentation.h.
void cmtk::AtlasSegmentation::SetVerbose | ( | const bool | verbose ) | [inline] |
Set verbose flag.
Definition at line 79 of file cmtkAtlasSegmentation.h.
Affine registration transformation.
Definition at line 107 of file cmtkAtlasSegmentation.h.
Atlas image.
Definition at line 101 of file cmtkAtlasSegmentation.h.
Atlas labels.
Definition at line 104 of file cmtkAtlasSegmentation.h.
bool cmtk::AtlasSegmentation::m_Fast [private] |
Flag for "fast" computation.
Definition at line 95 of file cmtkAtlasSegmentation.h.
Output label map.
Definition at line 119 of file cmtkAtlasSegmentation.h.
Target image.
Definition at line 98 of file cmtkAtlasSegmentation.h.
bool cmtk::AtlasSegmentation::m_Verbose [private] |
Verbose flag.
Definition at line 92 of file cmtkAtlasSegmentation.h.
Nonrigid, B-spline transformation.
Definition at line 113 of file cmtkAtlasSegmentation.h.