MCPcopy Create free account
hub / github.com/MITK/MITK / GenerateInputRequestedRegion

Method GenerateInputRequestedRegion

Modules/AlgorithmsExt/src/mitkMaskImageFilter.cpp:56–70  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

54}
55
56void mitk::MaskImageFilter::GenerateInputRequestedRegion()
57{
58 Superclass::GenerateInputRequestedRegion();
59
60 mitk::Image *output = this->GetOutput();
61 mitk::Image *input = this->GetInput();
62 mitk::Image *mask = this->GetMask();
63 if ((output->IsInitialized() == false) || (mask == nullptr) || (mask->GetTimeGeometry()->CountTimeSteps() == 0))
64 return;
65
66 input->SetRequestedRegionToLargestPossibleRegion();
67 mask->SetRequestedRegionToLargestPossibleRegion();
68
69 GenerateTimeInInputRegion(output, input);
70}
71
72void mitk::MaskImageFilter::GenerateOutputInformation()
73{

Callers

nothing calls this directly

Calls 7

GetMaskMethod · 0.95
GetOutputMethod · 0.45
GetInputMethod · 0.45
IsInitializedMethod · 0.45
CountTimeStepsMethod · 0.45

Tested by

no test coverage detected