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

Method putColumn

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

Source from the content-addressed store, hash-verified

523 }
524
525 public void putColumn(ImageProcessor ip, int x, int y, float[] data, int length) {
526 if (rgb) {
527 for (int i=0; i<length; i++)
528 ip.putPixel(x, y++, Float.floatToIntBits(data[i]));
529 } else {
530 for (int i=0; i<length; i++)
531 ip.setf(x, y++, data[i]);
532 }
533 }
534
535 float[] getIrregularProfile(Roi roi, ImageProcessor ip) {
536 if (x==null)

Callers 2

getSliceMethod · 0.95
makeSurfacePlotMethod · 0.45

Calls 2

putPixelMethod · 0.45
setfMethod · 0.45

Tested by

no test coverage detected