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

Method getPixels

ij/src/main/java/ij/VirtualStack.java:217–223  ·  view source on GitHub ↗

Returns the pixel array for the specified slice, where {@literal 1<=n<=nslices}.

(int n)

Source from the content-addressed store, hash-verified

215
216 /** Returns the pixel array for the specified slice, where {@literal 1<=n<=nslices}. */
217 public Object getPixels(int n) {
218 ImageProcessor ip = getProcessor(n);
219 if (ip!=null)
220 return ip.getPixels();
221 else
222 return null;
223 }
224
225 public void setPixels(Object pixels, int n) {
226 }

Callers

nothing calls this directly

Calls 2

getProcessorMethod · 0.95
getPixelsMethod · 0.95

Tested by

no test coverage detected