[Insight-users] From Vtk To itk...

yasser salman yass71 at yahoo.com
Thu, 22 Jan 2004 12:50:58 -0800 (PST)


hi ALL..,

i run  sample code that Luis sent and it works well
(thanx luis..)..,
but at the begining i read the files or volumes using
Vtk , like that


Reader->SetFilePrefix(VolData_FName);
	Reader->SetFilePattern("%s%.1d.dcm");
    Reader->SetDataByteOrderToLittleEndian();
	   	Reader->SetDataScalarTypeToUnsignedShort();

	Reader->SetDataExtent
(0,VolData_Width,0,VolData_Height,1,VolData_Images);
	Reader->SetDataOrigin(0,0,0); 

Reader->SetDataSpacing(VolData_Xsize,VolData_Ysize,VolData_Zsize);
	Reader->Update();

so how can i send this volume to Itk (and then use
Luis code for segmentation and back again to
visualize)..
thanx All..,
yasser


__________________________________
Do you Yahoo!?
Yahoo! SiteBuilder - Free web site building tool. Try it!
http://webhosting.yahoo.com/ps/sb/