[Insight-developers] VoronoiSegmentationImageFilter
Miller, James V (Research)
millerjv@crd.ge.com
Mon, 21 Oct 2002 12:26:11 -0400
This message is in MIME format. Since your mail reader does not understand
this format, some or all of this message may not be legible.
------_=_NextPart_001_01C2791E.918C470A
Content-Type: text/plain;
charset="iso-8859-1"
I am having problems getting the VoronoiSegmentation filter to produce any output.
itk::VoronoiSegmentationImageFilter<FloatImage, FloatImage>::Pointer
voronoi=itk::VoronoiSegmentationImageFilter<FloatImage, FloatImage>::New();
voronoi->SetInput( original->GetOutput() );
voronoi->SetNumberOfSeeds( 100 );
voronoi->SetOutputBoundary( false );
voronoi->SetSteps( 500 );
voronoi->TakeAPrior( masker->GetOutput() );
voronoi->SetMeanPercentError(0.1);
voronoi->SetVarPercentError(1);
voronoi->Update();
The filter churns for a while but the output image is blank.
(I have toggled the OutputBoundary flag but I get a blank image).
In terms of architecture, the prior image (used in TakeAPrior) is not one of the filter inputs, so
the filter does operate properly in the pipeline.
Jim Miller
_____________________________________
Visualization & Computer Vision
GE Research
Bldg. KW, Room C218B
P.O. Box 8, Schenectady NY 12301
millerjv@research.ge.com <mailto:millerjv@research.ge.com>
james.miller@research.ge.com
(518) 387-4005, Dial Comm: 8*833-4005,
Cell: (518) 505-7065, Fax: (518) 387-6981
<?xml:namespace prefix = o ns = "urn:schemas-microsoft-com:office:office" />
------_=_NextPart_001_01C2791E.918C470A
Content-Type: text/html;
charset="iso-8859-1"
<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.0 Transitional//EN">
<HTML><HEAD>
<META HTTP-EQUIV="Content-Type" CONTENT="text/html; charset=iso-8859-1">
<META content="MSHTML 6.00.2715.400" name=GENERATOR></HEAD>
<BODY>
<DIV><SPAN class=794501816-21102002><FONT size=2>I am having problems getting
the VoronoiSegmentation filter to produce any output. </FONT></SPAN></DIV>
<DIV class=Section1>
<P class=MsoNormal><FONT size=2>
itk::VoronoiSegmentationImageFilter<FloatImage,
FloatImage>::Pointer<BR>
voronoi=itk::VoronoiSegmentationImageFilter<FloatImage,
FloatImage>::New();<BR> voronoi->SetInput( original->GetOutput()
);<BR> voronoi->SetNumberOfSeeds( 100 );<BR>
voronoi->SetOutputBoundary( false );<BR> voronoi->SetSteps( 500
);<BR> voronoi->TakeAPrior( masker->GetOutput() );<BR>
voronoi->SetMeanPercentError(0.1);<BR>
voronoi->SetVarPercentError(1);<BR>
voronoi->Update();<BR></FONT> </P>
<P class=MsoNormal><SPAN class=794501816-21102002><FONT size=2>The filter churns
for a while but the output image is blank.</FONT></SPAN></P>
<P class=MsoNormal><SPAN class=794501816-21102002><FONT size=2>(I have toggled
the OutputBoundary flag but I get a blank image).</FONT></SPAN></P>
<P class=MsoNormal><SPAN class=794501816-21102002><FONT size=2>In terms of
architecture, the prior image (used in TakeAPrior) is not one of the filter
inputs, so the filter does operate properly in the pipeline.</FONT></SPAN></P>
<P style="MARGIN: 0in 0in 0pt"><B><SPAN
style="COLOR: navy; FONT-FAMILY: 'Comic Sans MS'">Jim Miller</SPAN></B>
<BR><B><I><SPAN
style="FONT-SIZE: 10pt; COLOR: red; FONT-FAMILY: Arial">_____________________________________</SPAN></I></B><BR><EM><SPAN
style="FONT-SIZE: 7.5pt; COLOR: black; FONT-FAMILY: Arial">Visualization &
Computer Vision</SPAN></EM><I><SPAN
style="FONT-SIZE: 7.5pt; COLOR: black; FONT-FAMILY: Arial"><BR><EM>GE
Research</EM><BR><EM>Bldg. KW, Room C218B</EM><BR><EM>P.O. Box 8, Schenectady NY
12301</EM><BR><BR></SPAN></I><EM><U><SPAN
style="FONT-SIZE: 7.5pt; COLOR: blue"><A
href="mailto:millerjv@research.ge.com">millerjv@research.ge.com</A></SPAN></U></EM></P>
<P style="MARGIN: 0in 0in 0pt"><EM><U><SPAN
style="FONT-SIZE: 7.5pt; COLOR: blue">james.miller@research.ge.com</SPAN></U></EM><BR><I><SPAN
style="FONT-SIZE: 7.5pt; COLOR: black; FONT-FAMILY: Arial">(518) 387-4005, Dial
Comm: 8*833-4005, </SPAN></I><BR><I><SPAN
style="FONT-SIZE: 7.5pt; COLOR: black; FONT-FAMILY: Arial">Cell: (518) 505-7065,
Fax: (518) 387-6981</SPAN></I> </P>
<P class=MsoNormal> <?xml:namespace prefix = o ns =
"urn:schemas-microsoft-com:office:office" /><o:p></o:p></P></DIV>
<DIV> </DIV></BODY></HTML>
------_=_NextPart_001_01C2791E.918C470A--