MCPcopy Create free account
hub / github.com/SimpleITK/SimpleITK / Extract

Function Extract

Code/BasicFilters/src/sitkExtractImageFilter.cxx:222–233  ·  view source on GitHub ↗

Function to run the Execute method of this filter

Source from the content-addressed store, hash-verified

220// Function to run the Execute method of this filter
221//
222Image
223Extract(const Image & image1,
224 std::vector<unsigned int> size,
225 std::vector<int> index,
226 ExtractImageFilter::DirectionCollapseToStrategyType directionCollapseToStrategy)
227{
228 ExtractImageFilter filter;
229 filter.SetSize(size);
230 filter.SetIndex(index);
231 filter.SetDirectionCollapseToStrategy(directionCollapseToStrategy);
232 return filter.Execute(image1);
233}
234//
235// Function to run the Execute method of this filter
236//

Callers 3

TESTFunction · 0.85
TESTFunction · 0.85
TEST_FFunction · 0.85

Calls 2

SetSizeMethod · 0.80
ExecuteMethod · 0.45

Tested by 3

TESTFunction · 0.68
TESTFunction · 0.68
TEST_FFunction · 0.68