public class AlignedLabels extends Object
Modifier and Type | Class and Description |
---|---|
static class |
AlignedLabels.AlignedTimeStretch |
Constructor and Description |
---|
AlignedLabels(Labels first,
Labels second,
int[] indexMap) |
Modifier and Type | Method and Description |
---|---|
List<AlignedLabels.AlignedTimeStretch> |
getAlignedTimeStretches() |
Labels |
getFirst() |
int[] |
getIndexMap() |
Labels |
getSecond() |
double |
mapTimeFromFirstToSecond(double time1)
Given the label sequences and their alignment, map a time in the first sequence to the corresponding time in the second
sequence.
|
double |
mapTimeFromSecondToFirst(double time2)
Given the label sequences and their alignment, map a time in the second sequence to the corresponding time in the first
sequence.
|
public Labels getFirst()
public Labels getSecond()
public int[] getIndexMap()
public double mapTimeFromFirstToSecond(double time1)
time1
- time1public double mapTimeFromSecondToFirst(double time2)
time2
- time2public List<AlignedLabels.AlignedTimeStretch> getAlignedTimeStretches()
Copyright © 2000–2016 DFKI GmbH. All rights reserved.