edu.berkeley.guir.papier_mache.input
Class FilesImageInput
java.lang.Object
edu.berkeley.guir.papier_mache.input.ImageInputDevice
edu.berkeley.guir.papier_mache.input.FilesImageInput
- All Implemented Interfaces:
- InputDevice
- public class FilesImageInput
- extends ImageInputDevice
A "Wizard of Oz" proxy for a camera that uses jpeg files to drive the vision system.
- Author:
- Scott Klemmer ( srk(AT)cs.berkeley.edu )
Methods inherited from class java.lang.Object |
equals, getClass, hashCode, notify, notifyAll, wait, wait, wait |
FilesImageInput
public FilesImageInput(java.lang.String prefix)
- Parameters:
prefix
- the full path and filename prefix of test files, e.g., "C:\test\test-"
getImageSize
public java.awt.Dimension getImageSize()
- Specified by:
getImageSize
in class ImageInputDevice
getSourcePanel
public java.awt.Component getSourcePanel()
- Specified by:
getSourcePanel
in class ImageInputDevice
toString
public java.lang.String toString()
- Overrides:
toString
in class java.lang.Object
popupFileChooser
public static java.io.File popupFileChooser()
- Pops up a file chooser allowing the user to select a directory.
- Returns:
- a directory