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

Connect points with search for a minimum gradients. More...

Functions

function [ mask ,
status ] = 
ib_connect_points (img, options, mask)
 Connect points with search for a minimum gradients. More...
 

Detailed Description

Connect points with search for a minimum gradients.

Function Documentation

function [ mask , status ] = ib_connect_points (   img,
  options,
  mask 
)

Connect points with search for a minimum gradients.

This function is called from Membrane Click Tracer tool of im_browser.m. It is based on Accurate Fast Marching function by Dirk-Jan Kroon http://www.mathworks.se/matlabcentral/fileexchange/24531-accurate-fast-marching

Parameters
img-> original image to probe gradients
options-> a structure with parameters .p1 - coordinates of the starting point, (y;x) .p2 - coordinates of the target point, (y;x) .scaleFactor - scale factor for amplifiying intensities .segmTrackBlackChk - switch to define whether the signal is black (1) or white (0) .colorId - index of the color channel to follow
mask[optional] - an existing mask/selection layer
Return values
mask-> a bitmap image with a connecting line, to be used as the Selection layer
status-> result of the function run:
  • 0 - fail
  • 1 - success
Required fields of options:

Referenced by ib_segmentation_MembraneClickTraker().

Here is the caller graph for this function: