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

Return Frangi mask generated from the img. More...

Functions

function mask = getFrangiMask (img, Options, Options2, type, orientation2d, layer_id)
 Return Frangi mask generated from the img. More...
 

Detailed Description

Return Frangi mask generated from the img.

Function Documentation

function mask = getFrangiMask (   img,
  Options,
  Options2,
  type,
  orientation2d,
  layer_id 
)

Return Frangi mask generated from the img.

Parameters
img-> input image, [1:height, 1:width, 1:color, 1:layers]
Options-> a structure with Parameters
  • .FrangiScaleRange -> The range of sigmas used, default [1 8]
  • .FrangiScaleRatio -> Step size between sigmas, default 2
  • .FrangiBetaOne -> Frangi correction constant, default 0.5
  • .FrangiBetaTwo -> Frangi correction constant, default 15
  • .BlackWhite -> Detect black ridges (default) set to true, for white ridges set to false.
  • .verbose -> Show debug information, default true
Options2-> a structure with extra parameters
  • .bwthreshold -> threshold for mask generation
  • .sizefilter -> size exclusion parameter
type-> '2d' or '3d' ('3d' is not implemented)
orientation2d-> defines the stack orientation for 2d filtering, 1 - zx, 2 - zy, or 4 - yx
layer_id-> define a single slice from the dataset, when omitted filter the whole dataset
Return values
maskgenerated mask image [1:height,1:width,1:no_stacks], (0/1);
Required fields of Options2:
Required fields of Options:

References FrangiFilter2D(), and FrangiFilter3D().

Referenced by ib_maskGenerator().

Here is the call graph for this function:

Here is the caller graph for this function: