Groups | Search | Server Info | Keyboard shortcuts | Login | Register [http] [https] [nntp] [nntps]


Groups > comp.soft-sys.math.mathematica > #4174

Re: RegionGrowing function

From Matthias Odisio <matthias@wolfram.com>
Newsgroups comp.soft-sys.math.mathematica
Subject Re: RegionGrowing function
Date 2011-08-03 23:28 +0000
Organization Steven M. Christensen and Associates, Inc and MathTensor, Inc.
Message-ID <j1clig$g7f$1@smc.vnet.net> (permalink)
References <201108031139.HAA11424@smc.vnet.net>

Show all headers | View raw


Hi Dilek,

On 8/3/11 6:39 AM, Dilek wrote:
> Hi,
> 
> I am just new user mathematica. I clearly want to know below codes mean?
>  Especially this part:  RegionGrowing[{imageFilled}, {{1, 1}}, 1,
> cost];...........???
> I have tried to research in wolfram website about it but I could't take
> any result.
> Please help me about this problem.
> 
> 
> cost = Function[{positionValues, neighborValues},
>    First[neighborValues] < 1];
> edge = RegionGrowing[{imageFilled}, {{1, 1}}, 1, cost];
> RasterPlot[edge]
> edge2 = edge - imageFilled
> middlecells = RegionGrowing[{-edge2 + 1}, {{1, 1}}, 1, cost];
> RasterPlot[middlecells];
> 

Mathematica 8 features a function which performs segmentation using
region growing. But it is called RegionBinarize, not RegionGrowing,
and its syntax is different from your example; see the documentation
here:
http://reference.wolfram.com/mathematica/ref/RegionBinarize.html. You
may also want to look at the documentation for FillingTransform --
given the name of the variable your code uses, it's probably a
preprocessing step in your algorithm.

To fully understand your piece of code, you need to find the
definition of RegionGrowing.

Matthias Odisio
Wolfram Research

Back to comp.soft-sys.math.mathematica | Previous | Next | Find similar | Unroll thread


Thread

Re: RegionGrowing function Matthias Odisio <matthias@wolfram.com> - 2011-08-03 23:28 +0000

csiph-web