<html><head><style type="text/css"><!-- DIV {margin:0px} --></style></head><body><div style="font-family:times new roman, new york, times, serif;font-size:12pt"><div style="font-family: times new roman,new york,times,serif; font-size: 12pt;"><div>Hi Dário,<br>
<br>
The two classes for changing bit depth are vtkImageCast and vtkImageShiftScale.<br>
<br>
- David<br><br>----- Original Message ----<br>From: Dário Oliveira <dariodisk@gmail.com><br>To: vtkusers@vtk.org<br>Sent: Saturday, March 25, 2006 5:40:29 PM<br>Subject: [vtkusers] Bit Depth on vtkImageData<br><br>Hi friends, here is a silly doubt, but as the book is overbooked I keep having them.<br>How can I specify the bit depth of an image on vtkImageData (just like the imadjust of matlab does)?<br>because I'm reading Dicom images, so depending on the kind of image I have different bit ranges. <br><br>thanks a lot and sorry for the silly question.<br><br>-- <br>Dário Oliveira <div>_______________________________________________<br>This is the private VTK discussion list. <br>Please keep messages on-topic. Check the FAQ at: <a target="_blank" href="http://www.vtk.org/Wiki/VTK_FAQ">http://www.vtk.org/Wiki/VTK_FAQ</a><br>Follow this link to subscribe/unsubscribe:<br><a target="_blank"
href="http://www.vtk.org/mailman/listinfo/vtkusers">http://www.vtk.org/mailman/listinfo/vtkusers</a><br></div></div></div></div></body></html>