public abstract class ImageBase extends java.lang.Object
Modifier and Type | Field and Description |
---|---|
NIVision.Image |
image
Pointer to the image memory
|
Modifier and Type | Method and Description |
---|---|
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(java.lang.String fileName)
Write the image to a file.
|
public final NIVision.Image image
public void write(java.lang.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