interpshape

sliceinterpolator.interpshape(top, bottom, position)

Find interpolated shape at specific position between top and bottom

Parameters:
  • top (Numpy array) – Top binary image

  • bottom (Numpy array) – Bottom binary image

  • position (float) – Position between images where the interpolation is required. E.g. position=0.5 - Interpolates the middle image between top and bottom image

Returns:

out – Interpolated binary image

Return type:

Numpy array