MCPcopy Create free account
hub / github.com/AstroImageJ/astroimagej / getRGBRow

Method getRGBRow

ij/src/main/java/ij/plugin/Projector.java:855–860  ·  view source on GitHub ↗
(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);

Callers 1

zScaleMethod · 0.95

Calls 1

getPixelsMethod · 0.45

Tested by

no test coverage detected