[vtkusers] Color invertion for volume Data
circass
circass at gmail.com
Sat Mar 6 03:05:07 EST 2010
Hi Corry, Thanx for your help.
inverter->SetShift(-range[1]);
double result = range[1]-range[0];
inverter->SetScale(VTK_UNSIGNED_SHORT_MAX/result);
this calculation made something reasonable but not good enough. the range
part solved the exception as i thought.
i decide to set the ColorWindow value to -1 * presentWindow.
I m using imageViewer2.
but still i dont know best quality color invertion algorithm.
Thanx
Circass
--
View this message in context: http://old.nabble.com/Color-invertion-for-volume-Data-tp27794005p27802586.html
Sent from the VTK - Users mailing list archive at Nabble.com.
More information about the vtkusers
mailing list