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


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

Re: RegionGrowing function

Started byMatthias Odisio <matthias@wolfram.com>
First post2011-08-03 23:28 +0000
Last post2011-08-03 23:28 +0000
Articles 1 — 1 participant

Back to article view | Back to comp.soft-sys.math.mathematica

This discussion starts older than the indexed window; earlier articles aren't shown. The article labeled Started by below is the oldest one visible, not the original post.


Contents

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

#4174 — Re: RegionGrowing function

FromMatthias Odisio <matthias@wolfram.com>
Date2011-08-03 23:28 +0000
SubjectRe: RegionGrowing function
Message-ID<j1clig$g7f$1@smc.vnet.net>
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

[toc] | [standalone]


Back to top | Article view | comp.soft-sys.math.mathematica


csiph-web