<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.0 Transitional//EN">
<HTML><HEAD>
<META content=text/html;charset=iso-8859-1 http-equiv=Content-Type>
<META name=GENERATOR content="MSHTML 8.00.7100.18"></HEAD>
<BODY style="PADDING-LEFT: 10px; PADDING-RIGHT: 10px; PADDING-TOP: 15px" 
id=MailContainerBody leftMargin=0 topMargin=0 CanvasTabStop="true" 
name="Compose message area">
<DIV><FONT face=Calibri>Hi All,</FONT></DIV>
<DIV><FONT face=Calibri></FONT>&nbsp;</DIV>
<DIV><FONT face=Calibri>I have a small python VTK function that calculates the 
volume and surface area of an object embedded in a stack of TIFF images.&nbsp; 
To read the TIFFs into VTK I have used vtkTIFFReader and processed the result 
using vtkImageThreshold and vtkImageGaussianSmooth libraries.&nbsp; I then use 
vtkMassProperties to extract the volume and surface area of the object 
identified after smoothing and thresholding.&nbsp; </FONT></DIV>
<DIV><FONT face=Calibri></FONT>&nbsp;</DIV>
<DIV><FONT face=Calibri>With VTK-5.04, this function returns the correct value 
for a test stack (3902 pixels). However, the same function returns a different 
value (422 pixels) when I run it using VTK-5.4.2. Can someone explain 
this.</FONT></DIV>
<DIV><FONT face=Calibri></FONT>&nbsp;</DIV>
<DIV><FONT face=Calibri>Thanks</FONT></DIV>
<DIV><FONT face=Calibri></FONT>&nbsp;</DIV>
<DIV><FONT face=Calibri>Azim</FONT></DIV></BODY></HTML>