<!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.2900.2769" name=GENERATOR>
<STYLE></STYLE>
</HEAD>
<BODY bgColor=#ffffff>
<DIV><FONT face=Arial size=2>Hi...</FONT></DIV>
<DIV><FONT face=Arial size=2>I'm trying to extract color components from a Color 
vtk 3d image.</FONT></DIV>
<DIV><FONT face=Arial size=2>I'm using&nbsp;vtkExtractVectorComponents but when 
i run my TCL script it show me this error message:</FONT></DIV>
<DIV><FONT face=Arial size=2></FONT>&nbsp;</DIV>
<DIV><FONT face=Arial size=2>"vtkExtractVectorComponents (0x01E4FD90): No vector 
data to extract"</FONT></DIV>
<DIV><FONT face=Arial size=2></FONT>&nbsp;</DIV>
<DIV><FONT face=Arial size=2>This is my simple TCL file:</FONT></DIV>
<DIV><FONT face=Arial 
size=2>-------------------------------------------------------------</FONT></DIV>
<DIV><FONT face=Arial size=2>vtkImageReader reader</FONT></DIV>
<DIV><FONT face=Arial size=2>reader SetFileName 
G:\\bio\\ColorVolume.vtk</FONT></DIV>
<DIV><FONT face=Arial size=2></FONT>&nbsp;</DIV>
<DIV><FONT face=Arial size=2>vtkExtractVectorComponents extractor<BR>extractor 
SetInput [reader GetOutput]</FONT></DIV>
<DIV><FONT face=Arial size=2></FONT>&nbsp;</DIV>
<DIV><FONT face=Arial size=2>vtkDataSetWriter writer</FONT><FONT face=Arial 
size=2><BR>writer SetInput [extractor GetVxComponent] <BR>writer SetFileName 
VolumeRedComponent.vtk</FONT></DIV>
<DIV><FONT face=Arial size=2>writer SetFileTypeToBinary<BR>writer 
Write</FONT></DIV>
<DIV><FONT face=Arial 
size=2>-------------------------------------------------------------</FONT></DIV>
<DIV><FONT face=Arial size=2></FONT>&nbsp;</DIV>
<DIV><FONT face=Arial size=2>Opening&nbsp;the input image (ColorVolume.vtk) with 
VolView it say me that the image has 3 components....</FONT></DIV>
<DIV><FONT face=Arial size=2>So i'm sure it has the 3 color 
compontents.</FONT></DIV>
<DIV><FONT face=Arial size=2></FONT>&nbsp;</DIV>
<DIV>What did I wrong?!<BR></DIV>
<DIV><FONT face=Arial size=2>Should i convert the vtk image to a sort of 
explicit vector type image?!....isn't a color image a vector 
image?!</FONT></DIV>
<DIV><FONT face=Arial size=2></FONT>&nbsp;</DIV>
<DIV><FONT face=Arial size=2></FONT>&nbsp;</DIV>
<DIV>&nbsp;Thanks!!!!</DIV>
<DIV><FONT face=Arial size=2></FONT>&nbsp;</DIV></BODY></HTML>