viper.comparison
Class FramewiseEvaluation.FrameMeasure

java.lang.Object
  extended byviper.comparison.distances.AttrMeasure
      extended byviper.comparison.FramewiseEvaluation.FrameMeasure
Enclosing class:
FramewiseEvaluation

public static class FramewiseEvaluation.FrameMeasure
extends AttrMeasure

A measure for a given frame.


Method Summary
 java.util.Iterator getAsymetricDistances()
          Gets distane functions that are not symmetric.
 java.util.List getDistanceFunctors()
          Gets all the distance functions.
 AttrMeasure getDontCareMeasure()
          Gets the don't care measure.
 int getLength()
          Gets the total count of metrics and localizers.
 java.util.List getLocalizations()
          Gets the localizers (measures associated with thresholds).
 java.util.Iterator getLocalizers()
          Gets the localizers as an iterator.
 int getOffset()
          Gets the frame offset to evaluate
 void setOffset(int o)
          Sets the frame offset.
 java.lang.String toString()
          Gets the raw formatted information about localizers and metrics.
 
Methods inherited from class viper.comparison.distances.AttrMeasure
calculateDistancesAndThresh, distanceAgainst, distanceAgainstDynamic, equals, getDistances, getMetric, getStatistics, getStatThreshold, getStatType, getTolerance, hashCode, isValidFor, isValidMeasure, isValidTolerance, setMetric, setTolerance, thresh
 
Methods inherited from class java.lang.Object
clone, finalize, getClass, notify, notifyAll, wait, wait, wait
 

Method Detail

getLocalizations

public java.util.List getLocalizations()
Gets the localizers (measures associated with thresholds).

Returns:
the list of localizing measures

getLocalizers

public java.util.Iterator getLocalizers()
Gets the localizers as an iterator.

Returns:
the localizing measures

getOffset

public int getOffset()
Gets the frame offset to evaluate

Returns:
the offset into the video where the measure is applied

setOffset

public void setOffset(int o)
Sets the frame offset.

Parameters:
o - the new frame offset.

getLength

public int getLength()
Gets the total count of metrics and localizers.

Returns:
the total number of measures

getDontCareMeasure

public AttrMeasure getDontCareMeasure()
Gets the don't care measure.

Returns:
the don't care measure

getDistanceFunctors

public java.util.List getDistanceFunctors()
Gets all the distance functions.

Returns:
the distance functions

getAsymetricDistances

public java.util.Iterator getAsymetricDistances()
Gets distane functions that are not symmetric.

Returns:
all distance functions where the distance from candidate to target is not the same as the distance from target to candidate

toString

public java.lang.String toString()
Gets the raw formatted information about localizers and metrics. Prints out the metric and threshold, without the brackets. Threshold is either a number or the string (INFINITY)

Overrides:
toString in class AttrMeasure
Returns:
metric threshold