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

Method getSliceLabel

ij/src/main/java/ij/ImageStack.java:270–275  ·  view source on GitHub ↗

Returns the label of the specified slice, where {@literal 1<=n<=nslices}. Returns null if the slice does not have a label or 'n'; is out of range. For DICOM and FITS stacks, labels may contain header information.

(int n)

Source from the content-addressed store, hash-verified

268 contain header information.
269 */
270 public String getSliceLabel(int n) {
271 if (n<1 || n>nSlices)
272 return null;
273 else
274 return label[n-1];
275 }
276
277 /** Returns a shortened version (up to the first 60 characters
278 * or first newline), with the extension removed, of the specified

Callers 15

getStringPropertyMethod · 0.95
getShortSliceLabelMethod · 0.95
isRGBMethod · 0.95
isHSBMethod · 0.95
isHSB32Method · 0.95
isLabMethod · 0.95
cropMethod · 0.95
convertToFloatMethod · 0.95
swapStackImagesMethod · 0.95
reduceMethod · 0.95
reduceStackMethod · 0.95
reduceHyperstackMethod · 0.95

Calls

no outgoing calls

Tested by

no test coverage detected