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

Interpolate lines between the slices. More...

Functions

function img = ib_interpolateLines (img, max_pnts, lineWidth)
 Interpolate lines between the slices. More...
 
function
contour = 
ibinterpolateLines>interp_points (contour1, contour2, slice_id1, slice_id2)
 
function img = ibinterpolateLines>draw_2d_lines (img, snake)
 

Detailed Description

Interpolate lines between the slices.

Function Documentation

function img = ib_interpolateLines (   img,
  max_pnts,
  lineWidth 
)

Interpolate lines 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 not closed lines.
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.
lineWidth-> width of the line in pixels.
Return values
img-> binary image dataset, for example the Selection layer [1:height, 1:width, 1:z]
See Also
ib_interpolateShapes

Referenced by menuSelectionInterpolate().

Here is the caller graph for this function:

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