[vtkusers] Re versing Color

circass circass at gmail.com
Mon Jan 25 03:30:17 EST 2010


Thanx all your interests but i found adifferent solution. And i am using it
now.

	vtkImageShiftScale *inverter = vtkImageShiftScale::New();
	inverter->SetInput(jpegReader->GetOutputDataObject(0));
	inverter->SetOutputScalarTypeToUnsignedChar();
	inverter->SetShift(-255.0);
	inverter->SetScale(-1.0);

this makes the work.

Thanx Again.
Circass
-- 
View this message in context: http://old.nabble.com/Reversing-Color-tp27272638p27303408.html
Sent from the VTK - Users mailing list archive at Nabble.com.




More information about the vtkusers mailing list