[Insight-developers] DaniellsonDistanceMapImageFilter
Lorensen, William E (CRD)
lorensen@crd.ge.com
Fri, 25 Jan 2002 15:18:18 -0500
Luis,
I think the logic in the ReflectiveIterator is flawed. Attached is a test that does not produce the
results I would expect.
Bill
-----Original Message-----
From: Bill Lorensen [mailto:wlorens1@nycap.rr.com]
Sent: Friday, January 25, 2002 12:56 PM
To: Luis Ibanez; insight-Developers
Subject: [Insight-developers] DaniellsonDistanceMapImageFilter
Luis,
I'm trying the DaniellsonDistanceMapImageFilter on a 3D volume. Seems like it is not generating
distances in the 3rd dimension. Is this a problem or am I messing up (most probable answer).
Bill
_______________________________________________
Insight-developers mailing list
Insight-developers@public.kitware.com
http://public.kitware.com/mailman/listinfo/insight-developers
begin 600 itkReflectiveImageRegionIteratorTest.cxx
M+RH]/3T]/3T]/3T]/3T]/3T]/3T]/3T]/3T]/3T]/3T]/3T]/3T]/3T]/3T]
M/3T]/3T]/3T]/3T]/3T]/3T]/3T]/3T]/3T]/3T]#0H-"B`@4')O9W)A;3H@
M("!);G-I9VAT(%-E9VUE;G1A=&EO;B`F(%)E9VES=')A=&EO;B!4;V]L:VET
M#0H@($UO9'5L93H@("`@)%)#4V9I;&4Z(&ET:U)E9FQE8W1I=F5);6%G95)E
M9VEO;DET97)A=&]R+F-X>"QV("0-"B`@3&%N9W5A9V4Z("!#*RL-"B`@1&%T
M93H@("`@("`D1&%T93H@,C`P,B\P,2\Q-2`Q.3HT,SHR-B`D#0H@(%9E<G-I
M;VXZ("`@)%)E=FES:6]N.B`Q+C@@)`T*#0H@($-O<'ER:6=H="`H8RD@,C`P
M,B!);G-I9VAT($-O;G-O<G1I=6TN($%L;"!R:6=H=',@<F5S97)V960N#0H@
M(%-E92!)5$M#;W!Y<FEG:'0N='AT(&]R(&AT='`Z+R]W=W<N:71K+F]R9R](
M5$U,+T-O<'ER:6=H="YH=&T@9F]R(&1E=&%I;',N#0H-"B`@("`@5&AI<R!S
M;V9T=V%R92!I<R!D:7-T<FEB=71E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