[Insight-users] watershed segment tree merging

T.J. Rudge tjr34 at cam . ac . uk
20 Nov 2003 23:45:06 +0000


Thanks Joshua. Am I right in thinking that I should:

1/ Modify the segment_t structure to include any new values about the=20
regions 2/ Change WatershedSegmenter to calculate the additional values 3/=
=20
Change WatershedSegmentTreeGenerator to produce merges based on the new=20
values.

Tim

On Nov 20 2003, Joshua Cates wrote:

> Hi Tim,
>=20
> I think this is a great idea. The WatershedImageFilter is constructed=20
> from a set of subfilters, one of which is called the=20
> SegmentTreeGenerator. This is the filter that performs region merging to=
=20
> generate the tree. You could start by copying this filter and modifying=
=20
> it, replacing the original with your modified filter in=20
> WatershedImageFilter. In fact, this was the purpose of making these=20
> modular subfilters.
>=20
> You may find you need some additional information in the "SegmentTable",
> which is the table of initial watershed transform regions generated from
> the watershed::Segmenter object.  In this case, you will also need to
> modify the SegmentTable object and code in the Segmenter filter.
>=20
> Let me know how this goes and feel free to contact me with questions. We
> should incorporate your additions into the ITK repository if you are
> willing.
>=20
> Josh.
>=20
> ______________________________
>  Josh Cates=09=09=09
>  Scientific Computing and Imaging Institute
>  University of Utah
>  Email: cates at sci . utah . edu
>  Phone: (801) 587-7697
>  URL:   http://www . sci . utah . edu/~cates
>=20
>=20
> On 20 Nov 2003, T.J. Rudge wrote:
>=20
> > Hi,
> >=20
> > Im using the watershedImageFilter. I;d like to be able to use the=20
> > merge tree generated by the watershed system and add additional=20
> > criteria for the merge decision - based on properties of the objects,=
=20
> > e.g. max/min region size. This way merges could be forced or prevented=
=20
> > according to a model of the object region shape size etc. Do you think=
=20
> > this is a reasonable strategy? Any advice on the best way to go about=
=20
> > it?
> >=20
> > many thanks,
> >=20
> > Tim R.
> > _______________________________________________
> > Insight-users mailing list
> > Insight-users at itk . org
> > http://www . itk . org/mailman/listinfo/insight-users
> >=20
>=20
>