(ColorType colorType, int color)
| 108 | } |
| 109 | |
| 110 | public static float luminocity(ColorType colorType, int color) { |
| 111 | return Color.getR(color) + Color.getG(color) + Color.getB(color); |
| 112 | // return colorType.getR(color) + colorType.getG(color) + colorType.getB(color); |
| 113 | } |
| 114 | |
| 115 | public void pixelSorting(Canvas canvas, ByteBuffer pixels, ImageInfo info) { |
| 116 | var threshold = 100 + phase() * 100; |
no test coverage detected