![]() |
Microscopy Image Browser 2.91
MIB
|
REGIONGROWING A MEXed 2D/3D region growing algorithm. More...
Functions | |
function lMask = | RegionGrowing (dImg, dMaxDif, iSeed) |
REGIONGROWING A MEXed 2D/3D region growing algorithm. | |
function iSeed = | regiongrowing>fGetSeed (dImg) |
REGIONGROWING A MEXed 2D/3D region growing algorithm.
function lMask = RegionGrowing | ( | dImg, | |
dMaxDif, | |||
iSeed ) |
REGIONGROWING A MEXed 2D/3D region growing algorithm.
lMASK = REGIONGROWING(dIMG, dMAXDIF, iSEED) Returns a binary mask lMASK, the result of growing a region from the seed point iSEED. The stoping critereon is fulfilled if no voxels in the region's 4-neighbourhood have an intensity difference smaller than dMAXDIF to the region's mean intensity.
If the seed point is not supplied, a GUI lets you select it. If no output is requested, the result of the region growing is visualized
IMPORTANT NOTE: This Matlab function is a front-end for a fast mex function. Compile it by making the directiory containing this file your current Matlab working directory and typing
in the Matlab console.
load mri; % Gives variable D; RegionGrowing(squeeze(D), 10, [1 1 1]); % <- segments the background
Copyright 2013 Christian Wuerslin, University of Tuebingen and University of Stuttgart, Germany. Contact: chris.nosp@m.tian.nosp@m..wuer.nosp@m.slin.nosp@m.@med..nosp@m.uni-.nosp@m.tuebi.nosp@m.ngen.nosp@m..de