/*========================================================================= * * Copyright NumFOCUS * * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. * You may obtain a copy of the License at * * https://www.apache.org/licenses/LICENSE-2.0.txt * * Unless required by applicable law or agreed to in writing, software * distributed under the License is distributed on an "AS IS" BASIS, * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. * See the License for the specific language governing permissions and * limitations under the License. * *=========================================================================*/ #include "itkMesh.h" #include "itkEllipseSpatialObject.h" #include "itkGeodesicActiveContourLevelSetImageFilter.h" #include "itkGradientVectorFlowImageFilter.h" #include "itkHistogramMatchingImageFilter.h" #include "itkImageClassifierBase.h" #include "itkImageGaussianModelEstimator.h" #include "itkImageKmeansModelEstimator.h" #include "itkImageRegistrationMethod.h" #include "itkImageToSpatialObjectRegistrationMethod.h" #include "itkKLMRegionGrowImageFilter.h" #include "itkLaplacianSegmentationLevelSetImageFilter.h" #include "itkLevelSetVelocityNeighborhoodExtractor.h" #include "itkDistanceToCentroidMembershipFunction.h" #include "itkMahalanobisDistanceMembershipFunction.h" #include "itkGroupSpatialObject.h" #include "itkMeanReciprocalSquareDifferencePointSetToImageMetric.h" int main(int, char *[]) { using InputType = itk::Image; using OutputType = itk::Image; using UShortImageType = itk::Image; using VectorType = itk::Vector; using VectorImageType = itk::Image; using PointSetType = itk::PointSet; // Used for GradientVectorFlowImageFilter using GradientType = itk::CovariantVector; using GradientImageType = itk::Image; // Used for ImageKMeansModelEstimator using KMeansMemFuncType = itk::Statistics::DistanceToCentroidMembershipFunction; // Used for ImageGaussianModelEstimator using GaussianMemFuncType = itk::Statistics::MahalanobisDistanceMembershipFunction; // Used for ImageToSpatialObjectRegistrationMethod using GroupType = itk::GroupSpatialObject<2>; itk::GeodesicActiveContourLevelSetFunction::Pointer GeodesicActiveContourLevelSetFunctionObj = itk::GeodesicActiveContourLevelSetFunction::New(); std::cout << "-------------GeodesicActiveContourLevelSetFunction " << GeodesicActiveContourLevelSetFunctionObj; itk::GeodesicActiveContourLevelSetImageFilter::Pointer GeodesicActiveContourLevelSetImageFilterObj = itk::GeodesicActiveContourLevelSetImageFilter::New(); std::cout << "-------------GeodesicActiveContourLevelSetImageFilter " << GeodesicActiveContourLevelSetImageFilterObj; itk::GradientVectorFlowImageFilter::Pointer GradientVectorFlowImageFilterObj = itk::GradientVectorFlowImageFilter::New(); std::cout << "-------------GradientVectorFlowImageFilter " << GradientVectorFlowImageFilterObj; itk::HistogramMatchingImageFilter::Pointer HistogramMatchingImageFilterObj = itk::HistogramMatchingImageFilter::New(); std::cout << "-------------HistogramMatchingImageFilter " << HistogramMatchingImageFilterObj; itk::ImageClassifierBase::Pointer ImageClassifierBaseObj = itk::ImageClassifierBase::New(); std::cout << "-------------ImageClassifierBase " << ImageClassifierBaseObj; itk::ImageGaussianModelEstimator::Pointer ImageGaussianModelEstimatorObj = itk::ImageGaussianModelEstimator::New(); std::cout << "-------------ImageGaussianModelEstimator " << ImageGaussianModelEstimatorObj; itk::ImageKmeansModelEstimator::Pointer ImageKmeansModelEstimatorObj = itk::ImageKmeansModelEstimator::New(); std::cout << "-------------ImageKmeansModelEstimator " << ImageKmeansModelEstimatorObj; itk::ImageRegistrationMethod::Pointer ImageRegistrationMethodObj = itk::ImageRegistrationMethod::New(); std::cout << "-------------ImageRegistrationMethod " << ImageRegistrationMethodObj; itk::ImageToSpatialObjectRegistrationMethod::Pointer ImageToSpatialObjectRegistrationMethodObj = itk::ImageToSpatialObjectRegistrationMethod::New(); std::cout << "-------------ImageToSpatialObjectRegistrationMethod " << ImageToSpatialObjectRegistrationMethodObj; itk::KLMRegionGrowImageFilter::Pointer KLMRegionGrowImageFilterObj = itk::KLMRegionGrowImageFilter::New(); std::cout << "-------------KLMRegionGrowImageFilter " << KLMRegionGrowImageFilterObj; itk::LaplacianSegmentationLevelSetFunction::Pointer LaplacianSegmentationLevelSetFunctionObj = itk::LaplacianSegmentationLevelSetFunction::New(); std::cout << "-------------LaplacianSegmentationLevelSetFunction " << LaplacianSegmentationLevelSetFunctionObj; itk::LaplacianSegmentationLevelSetImageFilter::Pointer LaplacianSegmentationLevelSetImageFilterObj = itk::LaplacianSegmentationLevelSetImageFilter::New(); std::cout << "-------------LaplacianSegmentationLevelSetImageFilter " << LaplacianSegmentationLevelSetImageFilterObj; itk::LevelSetNeighborhoodExtractor::Pointer LevelSetNeighborhoodExtractorObj = itk::LevelSetNeighborhoodExtractor::New(); std::cout << "-------------LevelSetNeighborhoodExtractor " << LevelSetNeighborhoodExtractorObj; itk::LevelSetVelocityNeighborhoodExtractor::Pointer LevelSetVelocityNeighborhoodExtractorObj = itk::LevelSetVelocityNeighborhoodExtractor::New(); std::cout << "-------------LevelSetVelocityNeighborhoodExtractor " << LevelSetVelocityNeighborhoodExtractorObj; itk::MeanReciprocalSquareDifferencePointSetToImageMetric::Pointer MeanReciprocalSquareDifferencePointSetToImageMetricObj = itk::MeanReciprocalSquareDifferencePointSetToImageMetric::New(); std::cout << "-------------MeanReciprocalSquareDifferencePointSetToImageMetric " << MeanReciprocalSquareDifferencePointSetToImageMetricObj; return EXIT_SUCCESS; }