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

Method setSliceLabel

ij/src/main/java/ij/ImageStack.java:305–309  ·  view source on GitHub ↗

Sets the label of the specified slice, where {@literal 1<=n<=nslices}.

(String label, int n)

Source from the content-addressed store, hash-verified

303
304 /** Sets the label of the specified slice, where {@literal 1<=n<=nslices}. */
305 public void setSliceLabel(String label, int n) {
306 if (n<1 || n>nSlices)
307 throw new IllegalArgumentException(outOfRange+n);
308 this.label[n-1] = label;
309 }
310
311 /** Returns an ImageProcessor for the specified slice,
312 * where {@literal 1<=n<=nslices}.

Callers 13

swapStackImagesMethod · 0.95
reduceMethod · 0.95
flipStackMethod · 0.95
makeSubhyperstackMethod · 0.95
setSliceLabelMethod · 0.95
removeStackLabelsMethod · 0.95
runMethod · 0.95
filterMethod · 0.95
labelHyperstackMethod · 0.95
openStackMethod · 0.95
processMethod · 0.95
putHeaderMethod · 0.95

Calls

no outgoing calls

Tested by

no test coverage detected