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

Method putRow

ij/src/main/java/ij/plugin/Slicer.java:515–523  ·  view source on GitHub ↗
(ImageProcessor ip, int x, int y, float[] data, int length)

Source from the content-addressed store, hash-verified

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) {

Callers 2

getSliceMethod · 0.95
createImageMethod · 0.45

Calls 2

putPixelMethod · 0.45
setfMethod · 0.45

Tested by

no test coverage detected