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, toString
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
getInstance
getRandomInstance, numInstances
add, 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, toArray
parallelStream, removeIf, stream
public AMPTSDataset(String[] filenames, File ptsDir, File imgDir, File connFile) throws IOException
IOException
public AMPTSDataset(File ptsDir, File imgDir, File connFile) throws IOException
IOException
public PointListConnections getConnections()
ShapeModelDataset
getConnections
in interface ShapeModelDataset<FImage>
public List<PointList> getPointLists()
ShapeModelDataset
getPointLists
in interface ShapeModelDataset<FImage>
public List<FImage> getImages()
ShapeModelDataset
getImages
in interface ShapeModelDataset<FImage>