[vtkusers] Color invertion for volume Data

Jérôme jerome.velut at gmail.com
Sat Mar 6 04:31:30 EST 2010


Hi,

if the purpose is a displayed color invertion, why not changing the lookup
table in the visualization pipeline? It will avoid the use of a processing
class that increases the memory usage.

Jerome


2010/3/6 circass <circass at gmail.com>

>
> 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.
>
> _______________________________________________
> Powered by www.kitware.com
>
> Visit other Kitware open-source projects at
> http://www.kitware.com/opensource/opensource.html
>
> Please keep messages on-topic and check the VTK FAQ at:
> http://www.vtk.org/Wiki/VTK_FAQ
>
> Follow this link to subscribe/unsubscribe:
> http://www.vtk.org/mailman/listinfo/vtkusers
>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://www.vtk.org/pipermail/vtkusers/attachments/20100306/0906dbf7/attachment.htm>


More information about the vtkusers mailing list