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

Method getShortSliceLabel

ij/src/main/java/ij/ImageStack.java:281–283  ·  view source on GitHub ↗

Returns a shortened version (up to the first 60 characters or first newline), with the extension removed, of the specified slice label, or null if the slice does not have a label.

(int n)

Source from the content-addressed store, hash-verified

279 * slice label, or null if the slice does not have a label.
280 */
281 public String getShortSliceLabel(int n) {
282 return getShortSliceLabel(n, 60);
283 }
284
285 /** Returns a shortened version (up to the first 'max' characters
286 * or first newline), with the extension removed, of the specified

Callers 15

getInfoMethod · 0.95
convertStackToImagesMethod · 0.95
getNewTitleMethod · 0.95
runMethod · 0.95
makeMontage2Method · 0.95
analyzeAndMarkMaximaMethod · 0.95
getFileNameMethod · 0.95
createSubtitleMethod · 0.95
processMethod · 0.95
runMethod · 0.95
runMethod · 0.95
getImagesMethod · 0.95

Calls 5

getSliceLabelMethod · 0.95
substringMethod · 0.80
charAtMethod · 0.80
lengthMethod · 0.65
indexOfMethod · 0.45

Tested by

no test coverage detected