Method
getRGBRow
(ImageStack stack, int x, int y, int z, int width1, int width2, int[] line)
Source from the content-addressed store, hash-verified
| 853 | } |
| 854 | |
| 855 | private void getRGBRow(ImageStack stack, int x, int y, int z, int width1, int width2, int[] line) { |
| 856 | int[] pixels = (int[])stack.getPixels(z+1); |
| 857 | int j = x + y*width1; |
| 858 | for (int i=0; i<width2; i++) |
| 859 | line[i] = pixels[j++]; |
| 860 | } |
| 861 | |
| 862 | private void putRGBRow(ImageStack stack, int y, int z, int width, int[] line) { |
| 863 | int[] pixels = (int[])stack.getPixels(z+1); |
Tested by
no test coverage detected