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

Function Resample

Code/BasicFilters/src/sitkAdditionalProcedures.cxx:33–49  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

31//
32
33SITKBasicFilters_EXPORT Image
34Resample(const Image & image1,
35 Transform transform,
36 InterpolatorEnum interpolator,
37 double defaultPixelValue,
38 PixelIDValueEnum outputPixelType,
39 bool useNearestNeighborExtrapolator)
40{
41 ResampleImageFilter filter;
42 filter.SetReferenceImage(image1);
43 filter.SetTransform(transform);
44 filter.SetInterpolator(interpolator);
45 filter.SetDefaultPixelValue(defaultPixelValue);
46 filter.SetOutputPixelType(outputPixelType);
47 filter.SetUseNearestNeighborExtrapolator(useNearestNeighborExtrapolator);
48 return filter.Execute(image1);
49}
50
51Image
52Resample(const Image & image1,

Callers

nothing calls this directly

Calls 4

SetInterpolatorMethod · 0.80
SetSizeMethod · 0.80
SetOutputPixelTypeMethod · 0.45
ExecuteMethod · 0.45

Tested by

no test coverage detected