commandline.ImageStuff
Class Image
java.lang.Object
commandline.ImageStuff.Image
- Direct Known Subclasses:
- ErrorImage
public class Image
- extends java.lang.Object
|
Constructor Summary |
Image(int xresolutie,
int yresolutie)
|
| Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
xresolutie
public int xresolutie
yresolutie
public int yresolutie
pixelmatrix
protected Pixel[][] pixelmatrix
Image
public Image(int xresolutie,
int yresolutie)
getInstance
public static Image getInstance()
getWritableRaster
public static java.awt.image.WritableRaster getWritableRaster()
setInstance
public static void setInstance(java.lang.String path,
Configuration conf)
setInstance
public static void setInstance(java.awt.image.WritableRaster r,
Configuration conf)
setInstance
public static void setInstance(java.awt.Dimension d)
contains
public boolean contains(Loc l)
getSobel
public float getSobel(Loc loc)
isOnCorner
public boolean isOnCorner(Loc l)
getHoekPunten
public java.util.ArrayList<Pixel> getHoekPunten()
getMaxZ
public int getMaxZ()
getBreedte
public int getBreedte()
getHoogte
public int getHoogte()
getPuntOpEnty
public final Pixel getPuntOpEnty(int i,
int j)
getPuntOpEnty
public final Pixel getPuntOpEnty(Loc loc)
setValue
public void setValue(Loc l,
float value)