<html>
<head>
<style>
.hmmessage P
{
margin:0px;
padding:0px
}
body.hmmessage
{
FONT-SIZE: 10pt;
FONT-FAMILY:Tahoma
}
</style>
</head>
<body class='hmmessage'><div style="text-align: left;">Luis,<br><br>It seems to refer to this on page 561:<br><br>typedef itk::Functor::ScalarToRGBPixelFunctor<unsigned long><br>ColorMapFunctorType;<br>typedef itk::UnaryFunctorImageFilter<LabeledImageType,<br>RGBImageType, ColorMapFunctorType> ColorMapFilterType;<br>ColorMapFilterType::Pointer colormapper = ColorMapFilterType::New();<br><br>I use WrapITK-Python, and WrapITK does not support functors. Is there any other non-functor ways of doing this which does not involve creating a new image filter in c++?<br></div><br><br><br><hr id="stopSpelling">> Date: Thu, 11 Oct 2007 09:24:53 -0400<br>> From: luis.ibanez@kitware.com<br>> To: saveez@hotmail.com<br>> CC: insight-users@itk.org<br>> Subject: Re: [Insight-users] Visualising ITK-made labels by paraview (vtk)<br>> <br>> <br>> <br>> Hi Ali,<br>> <br>> Are you color coding the output watershed image ?<br>> <br>> If you do so, it will be easier to see the different regions.<br>> <br>> You will find instructions on how to color-code the image<br>> in the ITK Software Guide<br>> <br>> <br>> http://www.itk.org/ItkSoftwareGuide.pdf<br>> <br>> In the section 9.2 "Segmentation based on Watersheds"<br>> in pdf-page 556.<br>> <br>> See figure 9.12 in pdf-page 561.<br>> <br>> <br>> <br>> Regards,<br>> <br>> <br>> Luis<br>> <br>> <br>> <br>> -----------------<br>> Ali - wrote:<br>> > Hi,<br>> > <br>> > What is the best way of visualising labels created by ITK filter, eg the <br>> > watershed filters, by paraview? After saving the final file in mha <br>> > format, I have tried the vtk-based paraview filters, contour and <br>> > threshold; but they do not seem to do the job properly.<br>> > <br>> > <br>> > ------------------------------------------------------------------------<br>> > <br>> > _______________________________________________<br>> > Insight-users mailing list<br>> > Insight-users@itk.org<br>> > http://www.itk.org/mailman/listinfo/insight-users<br><br /><hr />The next generation of MSN Hotmail has arrived - <a href='http://www.newhotmail.co.uk' target='_new'>Windows Live Hotmail</a></body>
</html>