X-Git-Url: https://git.creatis.insa-lyon.fr/pubgit/?a=blobdiff_plain;f=lib%2FmaracasVisuLib%2Fsrc%2Finterface%2FwxWindows%2Fwidgets%2FpPlotter%2FpHistogram.cxx;h=28c7d306a23d5cc167f3048560f006bdc7fc4207;hb=4443a8fe2b4992b6abee8531917fd0803018fc12;hp=7a395e05affc5afac18ac93dcf9c78af7dff39e8;hpb=c5feadbb145eecf6d73f793535b7e23eb18db2cb;p=creaMaracasVisu.git diff --git a/lib/maracasVisuLib/src/interface/wxWindows/widgets/pPlotter/pHistogram.cxx b/lib/maracasVisuLib/src/interface/wxWindows/widgets/pPlotter/pHistogram.cxx index 7a395e0..28c7d30 100644 --- a/lib/maracasVisuLib/src/interface/wxWindows/widgets/pPlotter/pHistogram.cxx +++ b/lib/maracasVisuLib/src/interface/wxWindows/widgets/pPlotter/pHistogram.cxx @@ -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);