]> Creatis software - creaMaracasVisu.git/blobdiff - lib/maracasVisuLib/src/interface/wxWindows/widgets/pPlotter/pHistogram.cxx
BUG contour line
[creaMaracasVisu.git] / lib / maracasVisuLib / src / interface / wxWindows / widgets / pPlotter / pHistogram.cxx
index 7a395e05affc5afac18ac93dcf9c78af7dff39e8..28c7d306a23d5cc167f3048560f006bdc7fc4207 100644 (file)
@@ -258,8 +258,8 @@ int pHistogram::getMinimumLevelOfGrey()
 */
 int pHistogram::getHistogramPoint(int gValue)
 {
-       double p=((float)gValue-minLevelOfGrey)/(maxLevelOfGrey-minLevelOfGrey);
-       double k=p*size;
+       //double p=((float)gValue-minLevelOfGrey)/(maxLevelOfGrey-minLevelOfGrey); // JPRx
+       //double k=p*size;
 
        unsigned short* dataHistogramPointer=NULL;
        dataHistogramPointer=(unsigned short*)points->GetScalarPointer(0,0,0);