[Insight-users] 3D Fastmarching segmentation!

xujf xujf at sjtu.edu.cn
Tue, 13 Apr 2004 01:30:43 +0800 (BEIST)


This is a multi-part message in MIME format.

----=_SkyMiracle_WorldPost_1081791043_=
Content-Type: text/plain;
       charset="gb2312"
Content-Transfer-Encoding: base64

SGksTHVpczoNCiAgIHRoYW5rcyBmb3IgeW91ciBoZWxwLg0KICAgQWNjb3JkaW5nIHRvIHlv
dXIgYWR2aWNlLEkgbG9vayBhdCB0aGUgc3BlZWQgaW1hZ2VcJ3MgdmFsdWUgd2hpY2ggaXMg
b3V0cHV0IG9mIHNpZ21vaWQgZmlsdGVyLmluIG9yZGVyIHRvIHNlZSB0aGUgdmFsdWUsIHZ0
a0ltYWdlRGF0YUdlb21ldHJ5RmlsdGVyIGlzIHVzZWQgdG8gIGdldCBzb21lIHNsaWNlIG9m
ICB0aGUgM0QgaW1hZ2UuIEkgZmluZCB0aGF0IHRoZSBzcGVlZCBpbWFnZSBpcyBub3QgZ29v
ZCxzbyBJIGtub3cgd2h5IEkgY2FuXCd0IGdldCB0aGUgcmVzdWx0IG9mIGZhc3RtYXJjaGlu
Zy4NCiAgIHRoZW4gSSBsb29rIGF0IHRoZSBpbWFnZSB3aGljaCBpcyBvdXRwdXQgb2YgR3Jh
ZGllbnRNYWduaXR1ZGVSZWN1cnNpdmVHYXVzc2lhbkltYWdlRmlsdGVyLg0KdGhpcyBpbWFn
ZSBpcyB2ZXJ5IGdvb2Q6bG9va3MgYWxtb3N0IGxpa2UgYSBiaW5hcnkgaW1hZ2UsYnV0IGhh
dmUgemVybyB2YWx1ZXMgY2xvc2UgdG8gZWRnZXMgYW5kIGhhdmUgdmFsdWVzIGNsb3NlIHRv
MS4wIGluIHRoZSByZWdpb25zIHdoZXJlIHRoZSBmcm9udCB3aWxsIHByb3BhZ2F0ZSBjb250
aW5vdXNseS5zbyB0aGUgaW5wdXQgb2Ygc2lnbWlkIGZpbHRlciBpcyBnb29kLg0KICAgYXMg
YWJvdmU6dGhlI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