<html><body><span style="font-family:Verdana; color:#000000; font-size:10pt;"><div><span style="font-family: Verdana; color: rgb(0, 0, 0); font-size: 10pt;"><div class="MsoNormal" style="font-size:12pt;;">I
would like to be able to adjust the display brightness/contrast of a
volume after rendering. For example, I render a vtkVolume with an
opacity function and color transfer function using
vtkOpenGLGPUVolumeRayCastMapper with blend mode set to composite. I
would like the image that is rendered to the renderwindow to have its
contrast adjusted so that it is brighter. My colortransferfunction does
not accomplish this because it is applied to the volume intensity
values and not the rendered image values. Is there a built-in way to do
this with VTK. I’ve tried to use vtkWindowToImageFilter to get the
rendered frame and then apply a color transform, but this has not worked
so far. And it doesn’t seem like an efficient way to do things,
because I would have to override the renderwindow render method to
include this extra step. I’ve also seen the vtkRenderPass class, but I
don’t know if that would work either and I don’t really have a clue how
to use it. Any tips are appreciated.</div> <div class="MsoNormal" style="font-size:12pt;;"> </div> <div class="MsoNormal" style="font-size:12pt;;">Thanks,</div> <div class="MsoNormal" style="font-size:12pt;;">Sean</div></span></div></span></body></html>