[vtkusers] How to save the stenciled images?

Mark Jefferson mark.jefferson at qq.com
Sat May 17 22:47:08 EDT 2008


Hi, vtkusers,   
 
  I have stenciled one CT image successfully, and I want to extract a ROI in another CT image. but how to save the stenciled images? of course, I could use vtkBMPWriter or vtkJPEGWriter to save the stenciled images to be .bmp or .jpg images, but this is not the best method, I think.    
 
  on the one hand, if I save the stenciled images to be .bmp images, there would be many many many images that I need to save, and some message would be lost, because the pixel's range in CT image is 0-4095 while in bmp image is 0-255. on the other hand, if I want to see the prior image before I extract another image, I should read the images, it is very complex.   
 
  so I want to know, is there any class in VTK that could save the images temporarily and then save them to be one .vtk file after I have extracted all the images?   
 
  if there is no, could you give me any better suggestion? thank you very much! 
 
  
  M.J.
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://www.vtk.org/pipermail/vtkusers/attachments/20080518/5675c831/attachment.htm>


More information about the vtkusers mailing list