public class AMPTSDataset extends ListBackedDataset<IndependentPair<PointList,FImage>> implements ShapeModelDataset<FImage>
data| Constructor and Description |
|---|
AMPTSDataset(File ptsDir,
File imgDir,
File connFile) |
AMPTSDataset(String[] filenames,
File ptsDir,
File imgDir,
File connFile) |
| Modifier and Type | Method and Description |
|---|---|
PointListConnections |
getConnections()
Get the connections between the points
|
List<FImage> |
getImages()
Get the image for each instance
|
List<PointList> |
getPointLists()
Get the points for each instance
|
add, add, addAll, addAll, clear, contains, containsAll, get, getInstance, getList, getRandomInstance, indexOf, isEmpty, iterator, lastIndexOf, listIterator, listIterator, numInstances, remove, remove, removeAll, retainAll, set, size, subList, toArray, toArray, toStringclone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, waitgetInstancegetRandomInstance, numInstancesadd, add, addAll, addAll, clear, contains, containsAll, equals, get, hashCode, indexOf, isEmpty, iterator, lastIndexOf, listIterator, listIterator, remove, remove, removeAll, replaceAll, retainAll, set, size, sort, spliterator, subList, toArray, toArrayparallelStream, removeIf, streampublic AMPTSDataset(String[] filenames, File ptsDir, File imgDir, File connFile) throws IOException
IOExceptionpublic AMPTSDataset(File ptsDir, File imgDir, File connFile) throws IOException
IOExceptionpublic PointListConnections getConnections()
ShapeModelDatasetgetConnections in interface ShapeModelDataset<FImage>public List<PointList> getPointLists()
ShapeModelDatasetgetPointLists in interface ShapeModelDataset<FImage>public List<FImage> getImages()
ShapeModelDatasetgetImages in interface ShapeModelDataset<FImage>