(ImageProcessor ip, int x, int y, float[] data, int length)
| 513 | } |
| 514 | |
| 515 | public void putRow(ImageProcessor ip, int x, int y, float[] data, int length) { |
| 516 | if (rgb) { |
| 517 | for (int i=0; i<length; i++) |
| 518 | ip.putPixel(x++, y, Float.floatToIntBits(data[i])); |
| 519 | } else { |
| 520 | for (int i=0; i<length; i++) |
| 521 | ip.setf(x++, y, data[i]); |
| 522 | } |
| 523 | } |
| 524 | |
| 525 | public void putColumn(ImageProcessor ip, int x, int y, float[] data, int length) { |
| 526 | if (rgb) { |
no test coverage detected