From: Eduardo DAVILA Date: Fri, 26 Feb 2016 11:25:32 +0000 (+0100) Subject: #2862 BBTK Bug New Normal - SurfaceTexture inverse W/B to B/W X-Git-Url: https://git.creatis.insa-lyon.fr/pubgit/?a=commitdiff_plain;h=31e2f0203d76d9cf52237073ee0d259604419392;p=bbtk.git #2862 BBTK Bug New Normal - SurfaceTexture inverse W/B to B/W --- diff --git a/packages/vtk/src/bbvtkSurfaceTexture.cxx b/packages/vtk/src/bbvtkSurfaceTexture.cxx index f9f0139..3e0f81a 100644 --- a/packages/vtk/src/bbvtkSurfaceTexture.cxx +++ b/packages/vtk/src/bbvtkSurfaceTexture.cxx @@ -57,8 +57,9 @@ printf("EED SurfaceTexture::Process Start\n"); // Create the color map if (bbGetInputColorType()==1) { - colorLookupTableWL = vtkWindowLevelLookupTable::New(); - colorLookupTable=colorLookupTableWL; + colorLookupTableWL = vtkWindowLevelLookupTable::New(); + colorLookupTableWL->InverseVideoOn(); + colorLookupTable = colorLookupTableWL; } else { colorLookupTable = vtkLookupTable::New(); }