| 244 | } |
| 245 | |
| 246 | itk::Image<mitk::CorrectorAlgorithm::DefaultSegmentationDataType, 2>::Pointer mitk::CorrectorAlgorithm::CloneImage( |
| 247 | itk::Image<mitk::CorrectorAlgorithm::DefaultSegmentationDataType, 2>::Pointer pic) |
| 248 | { |
| 249 | typedef itk::Image<mitk::CorrectorAlgorithm::DefaultSegmentationDataType, 2> ItkImageType; |
| 250 | typedef itk::ImageDuplicator<ItkImageType> DuplicatorType; |
| 251 | DuplicatorType::Pointer duplicator = DuplicatorType::New(); |
| 252 | duplicator->SetInputImage(pic); |
| 253 | duplicator->Update(); |
| 254 | |
| 255 | return duplicator->GetOutput(); |
| 256 | } |
| 257 | |
| 258 | itk::Index<2> mitk::CorrectorAlgorithm::GetFirstPoint( |
| 259 | const mitk::CorrectorAlgorithm::TSegData &segment, |
nothing calls this directly
no test coverage detected