We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
2 parents 64180a2 + d29ae07 commit f1de9b9Copy full SHA for f1de9b9
Catalano.Image/src/Catalano/Imaging/Filters/Maximum.java
@@ -101,7 +101,7 @@ public void applyInPlace(FastBitmap sourceImage){
101
for (int j = 0; j < lines; j++) {
102
Yline = y + (j-radius);
103
if ((Xline >= 0) && (Xline < height) && (Yline >=0) && (Yline < width)) {
104
- maxR = Math.max(maxG,copy.getRed(Xline, Yline));
+ maxR = Math.max(maxR,copy.getRed(Xline, Yline));
105
maxG = Math.max(maxG,copy.getGreen(Xline, Yline));
106
maxB = Math.max(maxB,copy.getBlue(Xline, Yline));
107
}
@@ -116,4 +116,4 @@ public void applyInPlace(FastBitmap sourceImage){
116
private int CalcLines(int radius){
117
return radius * 2 + 1;
118
119
-}
+}
0 commit comments