Microscopy Image Browser 2.91
MIB
Loading...
Searching...
No Matches
mibTraceCurve.m File Reference

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

Functions

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

Detailed Description

Connect points with search for a minimum gradients.

Function Documentation

◆ mibTraceCurve()

function [ mask , status ] = mibTraceCurve ( 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:

References max, and min.

Referenced by mibController.mibSegmentationMembraneClickTraker().

Here is the caller graph for this function: