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

Method deleteLastSlice

ij/src/main/java/ij/ImageStack.java:185–189  ·  view source on GitHub ↗

Deletes the last slice in the stack.

()

Source from the content-addressed store, hash-verified

183
184 /** Deletes the last slice in the stack. */
185 public void deleteLastSlice() {
186 int nSlices = getSize();
187 if (nSlices>0)
188 deleteSlice(nSlices);
189 }
190
191 public int getWidth() {
192 return width;

Callers 3

trimMethod · 0.95
openTiffStackMethod · 0.95
resizeMethod · 0.45

Calls 2

getSizeMethod · 0.95
deleteSliceMethod · 0.95

Tested by

no test coverage detected