diff options
-rw-r--r-- | roots.cpp | 2 |
1 files changed, 1 insertions, 1 deletions
@@ -345,7 +345,7 @@ void buildImage(unsigned char *image,const int *tally,int width,int height){ for(int i=0;i<width*height;i++){ // image[3*i+0]=interp((double)min(tally[i],capval)/capval,0.4)*255; - image[3*i]=pow((double)cumul[tally[i]]/cumul[maxval],2)*255; + image[3*i]=pow((double)cumul[tally[i]]/cumul[maxval],3)*255; image[3*i+1]=image[3*i+0]; image[3*i+2]=image[3*i+0]; } |