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

Method deleteLastSlice

ij/src/main/java/ij/VirtualStack.java:210–214  ·  view source on GitHub ↗

Deletes the last slice in the stack.

()

Source from the content-addressed store, hash-verified

208
209 /** Deletes the last slice in the stack. */
210 public void deleteLastSlice() {
211 int n = size();
212 if (n>0)
213 deleteSlice(n);
214 }
215
216 /** Returns the pixel array for the specified slice, where {@literal 1<=n<=nslices}. */
217 public Object getPixels(int n) {

Callers

nothing calls this directly

Calls 2

sizeMethod · 0.95
deleteSliceMethod · 0.95

Tested by

no test coverage detected