Reconstruction
Public Types
| Name | |
|---|---|
| typedef itk::GradientImageFilter< ImageType, PixelType > | GradientFilterType |
| typedef itk::GradientMagnitudeImageFilter< ImageType, ImageType > | GradientMagnitudeFilterType |
| typedef itk::Image< itk::CovariantVector< PixelType, 3 >, 3 > | GradientImageType |
| typedef itk::ImageRegionIterator< GradientImageType > | GradientImageIteratorType |
| typedef itk::ImageRegionIterator< ImageType > | ImageIteratorType |
| typedef itk::ImageFileWriter< ImageType > | WriterType |
| typedef itk::ImageToVTKImageFilter< ImageType > | ITK2VTKConnectorType |
| typedef itk::AddImageFilter< ImageType, ImageType > | AddImageFilterType |
| typedef itk::ResampleImageFilter< ImageType, ImageType > | ResampleFilterType |
| typedef TInterpolatorType< ImageType, TCoordRep > | InterpolatorType |
| typedef itk::MultiplyImageFilter< ImageType, ImageType, ImageType > | MultiplyByConstantImageFilterType |
| typedef itk::ImageDuplicator< ImageType > | DuplicatorType |
| typedef TTransformType< TCoordRep, 3 > | TransformType |
| typedef itk::Point< TCoordRep, 3 > | PointType |
| typedef std::vector< PointType > | PointArrayType |
| typedef TransformType::PointSetType | PointSetType |
| typedef PointSetType::PointIdentifier | PointIdType |
Public Functions
| Name | |
|---|---|
| Reconstruction(std::string out_prefix ="", float decimationPercent =0.3f, double angleThresh =45.0f, size_t numClusters =5, bool fixWinding =true, bool doLaplacianSmoothingBeforeDecimation =true, bool doLaplacianSmoothingAfterDecimation =true, float smoothingLambda =0.5f, int smoothingIterations =1, bool usePairwiseNormalsDifferencesForGoodBad =false) | |
| ~Reconstruction() | |
| vtkSmartPointer< vtkPolyData > | getDenseMean(std::vector< PointArrayType > local_pts =std::vector< PointArrayType >(), std::vector< PointArrayType > global_pts =std::vector< PointArrayType >(), std::vector< std::string > distance_transform =std::vector< std::string >()) |
| void | reset() |
| void | setDecimation(float dec) |
| void | setNumClusters(int num) |
| void | setMaxAngle(double angleDegrees) |
| void | setFixWinding(bool fixWinding) |
| void | setLaplacianSmoothingBeforeDecimation(bool doLaplacianSmoothingBeforeDecimation) |
| void | setLaplacianSmoothingAfterDecimation(bool doLaplacianSmoothingAfterDecimation) |
| void | setSmoothingLambda(float smoothingLambda) |
| void | setSmoothingIterations(int smoothingIterations) |
| void | setOutputEnabled(bool enabled) |
| void | setMeanBeforeWarpEnabled(bool enabled) |
| vtkSmartPointer< vtkPolyData > | getMesh(PointArrayType local_pts) |
| void | readMeanInfo(std::string dense, std::string sparse, std::string goodPoints) |
| bool | sparseDone() |
| bool | denseDone() |
| void | writeMeanInfo(std::string nameBase) |
| vtkSmartPointer< vtkPoints > | SparseMean() |
| vtkSmartPointer< vtkPolyData > | DenseMean() |
| std::vector< bool > | GoodPoints() |
| std::string | OutPrefix() |
| void | setOutPrefix(std::string out_prefix) |
| std::vector< PointArrayType > | computeSparseMean(std::vector< PointArrayType > local_pts, itk::Point< TCoordRep > & common_center, bool do_procrustes =true, bool do_procrustes_scaling =false) |
| void | setOrigin(typename ImageType::PointType origin) |
| void | EnablePairwiseNormalsDifferencesForGoodBad() |
| void | DisablePairwiseNormalsDifferencesForGoodBad() |
Detailed Description
cpp
template <template< typename TCoordRep, unsigned > class TTransformType =itk::CompactlySupportedRBFSparseKernelTransform,
template< typename ImageType, typename TCoordRep > class TInterpolatorType =itk::LinearInterpolateImageFunction,
typename TCoordRep =double,
typename PixelType =float,
typename ImageType =itk::Image<PixelType, 3>>
class Reconstruction;
Public Types Documentation
typedef GradientFilterType
cpp
typedef itk::GradientImageFilter<ImageType, PixelType> Reconstruction< TTransformType, TInterpolatorType, TCoordRep, PixelType, ImageType >::GradientFilterType;
typedef GradientMagnitudeFilterType
cpp
typedef itk::GradientMagnitudeImageFilter<ImageType, ImageType > Reconstruction< TTransformType, TInterpolatorType, TCoordRep, PixelType, ImageType >::GradientMagnitudeFilterType;
typedef GradientImageType
cpp
typedef itk::Image< itk::CovariantVector< PixelType, 3 >, 3 > Reconstruction< TTransformType, TInterpolatorType, TCoordRep, PixelType, ImageType >::GradientImageType;
typedef GradientImageIteratorType
cpp
typedef itk::ImageRegionIterator< GradientImageType > Reconstruction< TTransformType, TInterpolatorType, TCoordRep, PixelType, ImageType >::GradientImageIteratorType;
typedef ImageIteratorType
cpp
typedef itk::ImageRegionIterator< ImageType > Reconstruction< TTransformType, TInterpolatorType, TCoordRep, PixelType, ImageType >::ImageIteratorType;
typedef WriterType
cpp
typedef itk::ImageFileWriter< ImageType > Reconstruction< TTransformType, TInterpolatorType, TCoordRep, PixelType, ImageType >::WriterType;
typedef ITK2VTKConnectorType
cpp
typedef itk::ImageToVTKImageFilter<ImageType> Reconstruction< TTransformType, TInterpolatorType, TCoordRep, PixelType, ImageType >::ITK2VTKConnectorType;
typedef AddImageFilterType
cpp
typedef itk::AddImageFilter<ImageType, ImageType > Reconstruction< TTransformType, TInterpolatorType, TCoordRep, PixelType, ImageType >::AddImageFilterType;
typedef ResampleFilterType
cpp
typedef itk::ResampleImageFilter<ImageType, ImageType > Reconstruction< TTransformType, TInterpolatorType, TCoordRep, PixelType, ImageType >::ResampleFilterType;
typedef InterpolatorType
cpp
typedef TInterpolatorType< ImageType, TCoordRep > Reconstruction< TTransformType, TInterpolatorType, TCoordRep, PixelType, ImageType >::InterpolatorType;
typedef MultiplyByConstantImageFilterType
cpp
typedef itk::MultiplyImageFilter<ImageType, ImageType, ImageType> Reconstruction< TTransformType, TInterpolatorType, TCoordRep, PixelType, ImageType >::MultiplyByConstantImageFilterType;
typedef DuplicatorType
cpp
typedef itk::ImageDuplicator< ImageType > Reconstruction< TTransformType, TInterpolatorType, TCoordRep, PixelType, ImageType >::DuplicatorType;
typedef TransformType
cpp
typedef TTransformType< TCoordRep, 3 > Reconstruction< TTransformType, TInterpolatorType, TCoordRep, PixelType, ImageType >::TransformType;
typedef PointType
cpp
typedef itk::Point< TCoordRep, 3 > Reconstruction< TTransformType, TInterpolatorType, TCoordRep, PixelType, ImageType >::PointType;
typedef PointArrayType
cpp
typedef std::vector< PointType > Reconstruction< TTransformType, TInterpolatorType, TCoordRep, PixelType, ImageType >::PointArrayType;
typedef PointSetType
cpp
typedef TransformType::PointSetType Reconstruction< TTransformType, TInterpolatorType, TCoordRep, PixelType, ImageType >::PointSetType;
typedef PointIdType
cpp
typedef PointSetType::PointIdentifier Reconstruction< TTransformType, TInterpolatorType, TCoordRep, PixelType, ImageType >::PointIdType;
Public Functions Documentation
function Reconstruction
cpp
Reconstruction(
std::string out_prefix ="",
float decimationPercent =0.3f,
double angleThresh =45.0f,
size_t numClusters =5,
bool fixWinding =true,
bool doLaplacianSmoothingBeforeDecimation =true,
bool doLaplacianSmoothingAfterDecimation =true,
float smoothingLambda =0.5f,
int smoothingIterations =1,
bool usePairwiseNormalsDifferencesForGoodBad =false
)
function ~Reconstruction
cpp
~Reconstruction()
function getDenseMean
cpp
vtkSmartPointer< vtkPolyData > getDenseMean(
std::vector< PointArrayType > local_pts =std::vector< PointArrayType >(),
std::vector< PointArrayType > global_pts =std::vector< PointArrayType >(),
std::vector< std::string > distance_transform =std::vector< std::string >()
)
function reset
cpp
void reset()
function setDecimation
cpp
void setDecimation(
float dec
)
function setNumClusters
cpp
void setNumClusters(
int num
)
function setMaxAngle
cpp
void setMaxAngle(
double angleDegrees
)
function setFixWinding
cpp
void setFixWinding(
bool fixWinding
)
function setLaplacianSmoothingBeforeDecimation
cpp
void setLaplacianSmoothingBeforeDecimation(
bool doLaplacianSmoothingBeforeDecimation
)
function setLaplacianSmoothingAfterDecimation
cpp
void setLaplacianSmoothingAfterDecimation(
bool doLaplacianSmoothingAfterDecimation
)
function setSmoothingLambda
cpp
void setSmoothingLambda(
float smoothingLambda
)
function setSmoothingIterations
cpp
void setSmoothingIterations(
int smoothingIterations
)
function setOutputEnabled
cpp
void setOutputEnabled(
bool enabled
)
function setMeanBeforeWarpEnabled
cpp
void setMeanBeforeWarpEnabled(
bool enabled
)
Set if the mean DT before warp is enabled or not Disabling this allows Reconstruction to use DTs that are of different sizes and with different origins
function getMesh
cpp
vtkSmartPointer< vtkPolyData > getMesh(
PointArrayType local_pts
)
function readMeanInfo
cpp
void readMeanInfo(
std::string dense,
std::string sparse,
std::string goodPoints
)
function sparseDone
cpp
bool sparseDone()
function denseDone
cpp
bool denseDone()
function writeMeanInfo
cpp
void writeMeanInfo(
std::string nameBase
)
function SparseMean
cpp
inline vtkSmartPointer< vtkPoints > SparseMean()
function DenseMean
cpp
inline vtkSmartPointer< vtkPolyData > DenseMean()
function GoodPoints
cpp
inline std::vector< bool > GoodPoints()
function OutPrefix
cpp
inline std::string OutPrefix()
function setOutPrefix
cpp
inline void setOutPrefix(
std::string out_prefix
)
function computeSparseMean
cpp
std::vector< PointArrayType > computeSparseMean(
std::vector< PointArrayType > local_pts,
itk::Point< TCoordRep > & common_center,
bool do_procrustes =true,
bool do_procrustes_scaling =false
)
function setOrigin
cpp
inline void setOrigin(
typename ImageType::PointType origin
)
function EnablePairwiseNormalsDifferencesForGoodBad
cpp
inline void EnablePairwiseNormalsDifferencesForGoodBad()
function DisablePairwiseNormalsDifferencesForGoodBad
cpp
inline void DisablePairwiseNormalsDifferencesForGoodBad()
Updated on 2026-03-31 at 16:02:10 +0000