Package boofcv.gui.image
Class ProcessImageSequence<T extends ImageGray<T>>
java.lang.Object
boofcv.gui.image.ProcessImageSequence<T>
- All Implemented Interfaces:
KeyListener
,MouseListener
,EventListener
- Direct Known Subclasses:
PlaybackImageSequence
public abstract class ProcessImageSequence<T extends ImageGray<T>>
extends Object
implements MouseListener, KeyListener
An abstract class that takes case of basic GUI and loading of images when processing a sequence.
-
Field Summary
Modifier and TypeFieldDescriptionprotected int
protected int
protected int
-
Constructor Summary
-
Method Summary
Modifier and TypeMethodDescriptionvoid
addComponent
(JComponent comp) If a component is added here then keyboard and mouse events will be used to control the image processing.void
Called after all the frames in the sequence have been processed.void
void
void
void
void
void
void
void
void
process()
abstract void
processFrame
(T image) abstract void
updateGUI
(BufferedImage guiImage, T origImage)
-
Field Details
-
imgWidth
protected int imgWidth -
imgHeight
protected int imgHeight -
savedIndex
protected int savedIndex
-
-
Constructor Details
-
ProcessImageSequence
-
-
Method Details
-
addComponent
If a component is added here then keyboard and mouse events will be used to control the image processing. -
process
public void process() -
processFrame
-
updateGUI
-
finishedSequence
public void finishedSequence()Called after all the frames in the sequence have been processed. -
mouseClicked
- Specified by:
mouseClicked
in interfaceMouseListener
-
keyTyped
- Specified by:
keyTyped
in interfaceKeyListener
-
mousePressed
- Specified by:
mousePressed
in interfaceMouseListener
-
mouseReleased
- Specified by:
mouseReleased
in interfaceMouseListener
-
mouseEntered
- Specified by:
mouseEntered
in interfaceMouseListener
-
mouseExited
- Specified by:
mouseExited
in interfaceMouseListener
-
keyPressed
- Specified by:
keyPressed
in interfaceKeyListener
-
keyReleased
- Specified by:
keyReleased
in interfaceKeyListener
-