edu.jhu.ece.iacl.algorithms.manual_label
Class LabelSurface

java.lang.Object
  extended by edu.jhu.ece.iacl.algorithms.manual_label.LabelSurface

public class LabelSurface
extends java.lang.Object


Field Summary
protected  java.util.ArrayList<java.lang.Integer> allhits
           
protected  double[][] labels
           
protected  java.lang.String name
           
protected  int offset
           
static java.lang.String revnum
           
protected  EmbeddedSurface surf
           
 
Constructor Summary
LabelSurface()
           
LabelSurface(EmbeddedSurface surf)
           
 
Method Summary
 double[][] computeStatistics(LabelSurface a)
           
static java.lang.String get_version()
           
 java.util.ArrayList<java.lang.Integer> getAllValues()
           
 int getHitIndex(int hit)
           
 double[][] getLabelDat()
           
 int getLabelVertexCount(int lab)
           
 java.util.ArrayList<java.lang.Integer> getlabset(double lab)
           
 int[] getlabsetArray(double lab)
           
 java.lang.String getName()
           
 EmbeddedSurface getSurface()
           
 double getVal(int i)
           
 LabelSurface organizeLabels()
          Returns a new surface with labels renamed from 1-N in the order they are found in the 'allhits' array
static java.lang.String runAllComparisons(java.util.List<EmbeddedSurface> list, int numRaters)
           
 boolean sameDims(LabelSurface a)
           
 java.util.HashMap<java.lang.Integer,LabelSurface> separateLabels()
           
 void setimg(EmbeddedSurface surf)
           
 void setOffset(int offset)
           
 void setVal(int val, int i)
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Field Detail

revnum

public static final java.lang.String revnum

surf

protected EmbeddedSurface surf

labels

protected double[][] labels

offset

protected int offset

allhits

protected java.util.ArrayList<java.lang.Integer> allhits

name

protected java.lang.String name
Constructor Detail

LabelSurface

public LabelSurface()

LabelSurface

public LabelSurface(EmbeddedSurface surf)
Method Detail

get_version

public static java.lang.String get_version()

setimg

public void setimg(EmbeddedSurface surf)

getSurface

public EmbeddedSurface getSurface()

getName

public java.lang.String getName()

getVal

public double getVal(int i)

setVal

public void setVal(int val,
                   int i)

setOffset

public void setOffset(int offset)

sameDims

public boolean sameDims(LabelSurface a)

getlabsetArray

public int[] getlabsetArray(double lab)

getLabelDat

public double[][] getLabelDat()

getlabset

public java.util.ArrayList<java.lang.Integer> getlabset(double lab)

getLabelVertexCount

public int getLabelVertexCount(int lab)

separateLabels

public java.util.HashMap<java.lang.Integer,LabelSurface> separateLabels()

getAllValues

public java.util.ArrayList<java.lang.Integer> getAllValues()

computeStatistics

public double[][] computeStatistics(LabelSurface a)

organizeLabels

public LabelSurface organizeLabels()
Returns a new surface with labels renamed from 1-N in the order they are found in the 'allhits' array


getHitIndex

public int getHitIndex(int hit)

runAllComparisons

public static java.lang.String runAllComparisons(java.util.List<EmbeddedSurface> list,
                                                 int numRaters)