| 462 | /// |
| 463 | template<class TImageType> |
| 464 | void mitk::CLUtil::itkGaussianFilter(TImageType * image, mitk::Image::Pointer & smoothed ,double sigma) |
| 465 | { |
| 466 | typedef itk::DiscreteGaussianImageFilter<TImageType,TImageType> FilterType; |
| 467 | typename FilterType::Pointer filter = FilterType::New(); |
| 468 | filter->SetInput(image); |
| 469 | filter->SetVariance(sigma); |
| 470 | filter->Update(); |
| 471 | |
| 472 | mitk::CastToMitkImage(filter->GetOutput(),smoothed); |
| 473 | } |
| 474 | |
| 475 | template<class TImageType> |
| 476 | void mitk::CLUtil::itkDifferenceOfGaussianFilter(TImageType * image, mitk::Image::Pointer & smoothed, double sigma1, double sigma2) |
nothing calls this directly
no test coverage detected