Microscopy Image Browser  1.233
All Classes Files Functions Variables Pages
ib_interpolateShapes.m File Reference

Interpolate the shapes between the slices. More...

Functions

function [ img ,

boundingBox ] = 
ib_interpolateShapes (img, max_pnts)
 Interpolate the shapes between the slices. More...
 
function
contour = 
ibinterpolateShapes>interp_points (contour1, contour2, slice_id1, slice_id2)
 
function img = ibinterpolateShapes>draw_2d_lines (img, snake)
 

Detailed Description

Interpolate the shapes between the slices.

Function Documentation

function [ img , boundingBox ] = ib_interpolateShapes (   img,
  max_pnts 
)

Interpolate the shapes between the slices.

One of two interpolation methods. The interpolation method can be selected in im_browser->File->Preferences.

Note
This method can interpolate only the filled shapes.
Parameters
img-> binary image dataset, for example the Selection layer [1:height, 1:width, 1:z]
max_pnts-> maximal number of points used for interpolation.
Return values
img-> binary image dataset, for example the Selection layer [1:height, 1:width, 1:z]
boundingBox-> a bounding box of the area that was used to calculate interpolation, [xMin, xMax, yMin, yMax, zMin, zMax]
See Also
ib_interpolateLines

Referenced by menuSelectionInterpolate().

Here is the caller graph for this function:

function img = ibinterpolateShapes>draw_2d_lines (   img,
  snake 
)
function contour = ibinterpolateShapes>interp_points (   contour1,
  contour2,
  slice_id1,
  slice_id2 
)