Class Feature

java.lang.Object
  |
  +--Feature

class Feature
extends java.lang.Object

Author:
Erhan Oztop, 2001-2002

Source code by Erhan Oztop (erhan@atr.co.jp)
Copyright August 2002 via
University of Southern California Ph.D. publication copyright

Field Summary
(package private)  double BOK
           
(package private)  double[][][] F
           
(package private)  int[] Flen
           
(package private)  int ftype
           
(package private) static int ftype_ALL
           
(package private) static int ftype_LIMBS
           
(package private) static int ftype_PALM
           
(package private)  Hand h
           
private  java.awt.Point horizontal
           
private  Point3d horizontal3d
           
(package private)  java.awt.Image im
           
 double[][] Imex
           
 java.lang.String[] Imex_names
           
 int Imexc
           
(package private)  ImageProcess ip
           
(package private)  int last
           
(package private)  double scale
           
(package private)  int type
           
(package private) static int type_IMAGE
           
(package private) static int type_MANUAL
           
(package private) static int type_MODEL
           
(package private) static int type_RAWIMAGE
           
private  java.awt.Point vertical
           
private  Point3d vertical3d
           
private  java.awt.Point zero
           
private  Point3d zero3d
           
 
Constructor Summary
Feature()
           
Feature(Hand h)
           
Feature(java.lang.String fname)
           
 
Method Summary
private  void createF()
           
 double difference(Feature other, int f)
           
 void drawImex(int midx, int midy, java.awt.Graphics g)
           
private  void drawMark(java.awt.Graphics g, int x0, int y0)
           
private  void drawThickLine(java.awt.Graphics g, int x0, int y0, int x1, int y1)
           
private  void dumpF(int k)
           
private  void extract_from_image(int f)
           
private  void extract_from_manual(int f)
           
private  void extract_from_model(int f)
           
private  void extract_from_rawimage(int f)
           
 void extract(int f)
           
private  void fillImex(java.lang.String fn)
           
 int get(java.lang.String s)
           
 double getAngle()
           
 void Imex2F()
           
static java.io.DataInputStream openfileREAD(java.lang.String fn)
           
static java.io.DataOutputStream openfileWRITE(java.lang.String fn)
           
 Point3d pget(java.lang.String s)
           
 void setScale(double sc)
           
 
Methods inherited from class java.lang.Object
, clone, equals, finalize, getClass, hashCode, notify, notifyAll, registerNatives, toString, wait, wait, wait
 

Field Detail

type_IMAGE

static final int type_IMAGE

type_RAWIMAGE

static final int type_RAWIMAGE

type_MODEL

static final int type_MODEL

type_MANUAL

static final int type_MANUAL

ftype_PALM

static final int ftype_PALM

ftype_LIMBS

static final int ftype_LIMBS

ftype_ALL

static final int ftype_ALL

type

int type

ftype

int ftype

scale

double scale

im

java.awt.Image im

h

Hand h

BOK

double BOK

ip

ImageProcess ip

F

double[][][] F

Flen

int[] Flen

Imex_names

public java.lang.String[] Imex_names

Imex

public double[][] Imex

Imexc

public int Imexc

last

int last

vertical

private java.awt.Point vertical

horizontal

private java.awt.Point horizontal

zero

private java.awt.Point zero

vertical3d

private Point3d vertical3d

horizontal3d

private Point3d horizontal3d

zero3d

private Point3d zero3d
Constructor Detail

Feature

public Feature(java.lang.String fname)

Feature

public Feature()

Feature

public Feature(Hand h)
Method Detail

createF

private void createF()

extract

public void extract(int f)

getAngle

public double getAngle()

difference

public double difference(Feature other,
                         int f)

fillImex

private void fillImex(java.lang.String fn)

setScale

public void setScale(double sc)

drawThickLine

private void drawThickLine(java.awt.Graphics g,
                           int x0,
                           int y0,
                           int x1,
                           int y1)

drawMark

private void drawMark(java.awt.Graphics g,
                      int x0,
                      int y0)

drawImex

public void drawImex(int midx,
                     int midy,
                     java.awt.Graphics g)

get

public int get(java.lang.String s)

pget

public Point3d pget(java.lang.String s)

Imex2F

public void Imex2F()

dumpF

private void dumpF(int k)

openfileREAD

public static java.io.DataInputStream openfileREAD(java.lang.String fn)
                                            throws java.io.IOException

openfileWRITE

public static java.io.DataOutputStream openfileWRITE(java.lang.String fn)
                                              throws java.io.IOException

extract_from_manual

private void extract_from_manual(int f)

extract_from_image

private void extract_from_image(int f)

extract_from_rawimage

private void extract_from_rawimage(int f)

extract_from_model

private void extract_from_model(int f)