motris.data
Class OFImageWithClassification

java.lang.Object
  extended bymotris.data.MotrisImage
      extended bymotris.data.OFImage
          extended bymotris.data.OFImageWithClassification
All Implemented Interfaces:
java.lang.Cloneable

public class OFImageWithClassification
extends OFImage

OF Image including GST classification according to Markus Middendorf

Author:
preuter

Field Summary
private  int[][] category
           
static int CTG_DGD_NZ
           
static int CTG_DGD_OF
           
static int CTG_DGD_PP
           
static int CTG_DGD_SG
           
static int CTG_DGD_ST
           
static int CTG_DGD_UN
           
static int CTG_DOMINANT_GRADIENT_DIR
           
static int CTG_NEUTRAL
           
static int CTG_NONE
           
static int CTG_OF_DISCONTINUITY
           
static int CTG_OF_TOO_LARGE
           
static int CTG_REGULAR_OPTICAL_FLOW
           
 
Fields inherited from class motris.data.OFImage
OFX, OFY
 
Fields inherited from class motris.data.MotrisImage
Clipping, COLOR, DERIVATION, frameNr, GRAY, OF, type
 
Constructor Summary
OFImageWithClassification(int framenum, double[][][] _data, int[][] _categorydata)
           
OFImageWithClassification(int sizex, int sizey, int framenum)
           
OFImageWithClassification(int framenum, int x, int y, double[][][] _data, int[][] _categorydata)
           
OFImageWithClassification(int x, int y, int width, int height)
           
OFImageWithClassification(int x, int y, int width, int height, int framenum)
           
 
Method Summary
 int getCategoryAt(int x, int y)
           
 int[][] getCategoryData()
           
 void setCategoryFor(int x, int y, int _category)
           
 
Methods inherited from class motris.data.OFImage
clone, getOFAt, getOFDataArray, getXOFAt, getYOFAt, load, putVector, save
 
Methods inherited from class motris.data.MotrisImage
getClipping, getDoubleDataArray, getFrameNr, getHeight, getIntDataArray, getType, getWidth, getX, getY, setFrameNr, setType
 
Methods inherited from class java.lang.Object
equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Field Detail

CTG_NONE

public static final int CTG_NONE
See Also:
Constant Field Values

CTG_DOMINANT_GRADIENT_DIR

public static final int CTG_DOMINANT_GRADIENT_DIR
See Also:
Constant Field Values

CTG_DGD_NZ

public static final int CTG_DGD_NZ
See Also:
Constant Field Values

CTG_DGD_UN

public static final int CTG_DGD_UN
See Also:
Constant Field Values

CTG_DGD_ST

public static final int CTG_DGD_ST
See Also:
Constant Field Values

CTG_DGD_OF

public static final int CTG_DGD_OF
See Also:
Constant Field Values

CTG_DGD_PP

public static final int CTG_DGD_PP
See Also:
Constant Field Values

CTG_DGD_SG

public static final int CTG_DGD_SG
See Also:
Constant Field Values

CTG_OF_DISCONTINUITY

public static final int CTG_OF_DISCONTINUITY
See Also:
Constant Field Values

CTG_REGULAR_OPTICAL_FLOW

public static final int CTG_REGULAR_OPTICAL_FLOW
See Also:
Constant Field Values

CTG_NEUTRAL

public static final int CTG_NEUTRAL
See Also:
Constant Field Values

CTG_OF_TOO_LARGE

public static final int CTG_OF_TOO_LARGE
See Also:
Constant Field Values

category

private int[][] category
Constructor Detail

OFImageWithClassification

public OFImageWithClassification(int sizex,
                                 int sizey,
                                 int framenum)

OFImageWithClassification

public OFImageWithClassification(int framenum,
                                 double[][][] _data,
                                 int[][] _categorydata)

OFImageWithClassification

public OFImageWithClassification(int framenum,
                                 int x,
                                 int y,
                                 double[][][] _data,
                                 int[][] _categorydata)

OFImageWithClassification

public OFImageWithClassification(int x,
                                 int y,
                                 int width,
                                 int height,
                                 int framenum)

OFImageWithClassification

public OFImageWithClassification(int x,
                                 int y,
                                 int width,
                                 int height)
Method Detail

getCategoryAt

public int getCategoryAt(int x,
                         int y)

setCategoryFor

public void setCategoryFor(int x,
                           int y,
                           int _category)

getCategoryData

public int[][] getCategoryData()