|
" 2013 FRC Java API " |
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectedu.wpi.first.wpilibj.image.Image
public abstract class Image
Class representing a generic image.
Field Summary | |
---|---|
Pointer |
image
Pointer to the image memory |
Method Summary | |
---|---|
void |
free()
Release the memory associated with an image. |
int |
getHeight()
Get the height of the image in pixels. |
int |
getWidth()
Get the width of the image in pixels. |
void |
write(String fileName)
Write the image to a file. |
Methods inherited from class java.lang.Object |
---|
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Field Detail |
---|
public final Pointer image
Method Detail |
---|
public void write(String fileName) throws NIVisionException
fileName
- The path to write the image to.
NIVisionException
public void free() throws NIVisionException
NIVisionException
public int getHeight() throws NIVisionException
NIVisionException
public int getWidth() throws NIVisionException
NIVisionException
|
" 2013 FRC Java API " |
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |