Update chem.js
This commit is contained in:
parent
11ead5ac9e
commit
1cb1eecba2
|
|
@ -1038,7 +1038,6 @@ function doStaining(pixel) {
|
|||
avg[j] = Math.floor((rgb[j]*(1-Math.abs(stain))) + (newColor[j]*Math.abs(stain)));
|
||||
}
|
||||
}
|
||||
console.log(avg);
|
||||
// set newPixel color to avg
|
||||
newPixel.color = "rgb("+avg.join(",")+")";
|
||||
}
|
||||
|
|
|
|||
Loading…
Reference in New Issue