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
FieldsModifier and TypeFieldDescriptionprotected intprotected intprotected int -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionvoidaddComponent(JComponent comp) If a component is added here then keyboard and mouse events will be used to control the image processing.voidCalled after all the frames in the sequence have been processed.voidvoidvoidvoidvoidvoidvoidvoidvoidprocess()abstract voidprocessFrame(T image) abstract voidupdateGUI(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:
mouseClickedin interfaceMouseListener
-
keyTyped
- Specified by:
keyTypedin interfaceKeyListener
-
mousePressed
- Specified by:
mousePressedin interfaceMouseListener
-
mouseReleased
- Specified by:
mouseReleasedin interfaceMouseListener
-
mouseEntered
- Specified by:
mouseEnteredin interfaceMouseListener
-
mouseExited
- Specified by:
mouseExitedin interfaceMouseListener
-
keyPressed
- Specified by:
keyPressedin interfaceKeyListener
-
keyReleased
- Specified by:
keyReleasedin interfaceKeyListener
-