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

Method getFrame

ij/src/main/java/ij/plugin/GIF_Reader.java:145–150  ·  view source on GitHub ↗

Gets the image contents of frame n. @return ImageProcessor representation of frame, or null if n is invalid.

(int n)

Source from the content-addressed store, hash-verified

143 * @return ImageProcessor representation of frame, or null if n is invalid.
144 */
145 public ImageProcessor getFrame(int n) {
146 ImageProcessor im = null;
147 if ((n >= 0) && (n < frameCount))
148 im = ((GifFrame) frames.elementAt(n)).image;
149 return im;
150 }
151
152
153 /**

Callers 3

runMethod · 0.95
getImageMethod · 0.95
setPixelsMethod · 0.95

Calls

no outgoing calls

Tested by

no test coverage detected