aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--roots.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/roots.cpp b/roots.cpp
index 4187822..3de5d8c 100644
--- a/roots.cpp
+++ b/roots.cpp
@@ -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];
}