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)
| 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 |
no outgoing calls
no test coverage detected