Package inputOutput
Class AbstractImageSource
java.lang.Object
inputOutput.AbstractImageSource
- Direct Known Subclasses:
FilestreamSource
,LivestreamSource
,OIGTImageSource
builds an interface to other teams and enables to get a Matrix,
establishes a connection to the device and disconnects the
connection
-
Field Summary
Modifier and TypeFieldDescriptionboolean
int
org.opencv.core.Mat
boolean
-
Constructor Summary
-
Method Summary
Modifier and TypeMethodDescriptionabstract boolean
disconnects the connection to the deviceabstract org.opencv.core.Mat
provides the next Matrix for a further useabstract boolean
establishes a connection to the device
-
Field Details
-
isConnected
public boolean isConnected -
exit
public boolean exit -
frameMatrix
public org.opencv.core.Mat frameMatrix -
fps
public int fps
-
-
Constructor Details
-
AbstractImageSource
public AbstractImageSource()
-
-
Method Details
-
getNextMat
public abstract org.opencv.core.Mat getNextMat()provides the next Matrix for a further use- Returns:
- the object of the class Mat from OpenCV
-
openConnection
public abstract boolean openConnection()establishes a connection to the device- Returns:
- whether the connection was successful or not
-
closeConnection
public abstract boolean closeConnection()disconnects the connection to the device- Returns:
exit = true
-