From 9f6ca3c7210f16a577eb64cabb4a78a5e9f0d13e Mon Sep 17 00:00:00 2001 From: Romulo Pinho Date: Fri, 20 Apr 2012 09:28:56 +0200 Subject: [PATCH] removed bug in fusion thresholding - with arbitrary values of window/level --- vv/vvSlicerManager.cxx | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/vv/vvSlicerManager.cxx b/vv/vvSlicerManager.cxx index 7cce9dd..a787370 100644 --- a/vv/vvSlicerManager.cxx +++ b/vv/vvSlicerManager.cxx @@ -1237,8 +1237,8 @@ void vvSlicerManager::SetColorMap(int colormap) double v[4]; // set color table transparency - double alpha_range=(double)mFusionThresOpacity/10; - double range_end = frange[0] + (double)mFusionThresOpacity*(frange[1] - frange[0])/100; + //double alpha_range=(double)mFusionThresOpacity/10; + double range_end = fusRange[0] + (double)mFusionThresOpacity*(fusRange[1] - fusRange[0])/100; double curr_value = fusRange[0]; int nvalues = fusLUT->GetNumberOfTableValues(); for (double i = 0; curr_value < range_end; i++) { -- 2.47.1