|
||||||||||
前のクラス 次のクラス | フレームあり フレームなし | |||||||||
概要: 入れ子 | フィールド | コンストラクタ | メソッド | 詳細: フィールド | コンストラクタ | メソッド |
public interface VideoCapture
フィールドの概要 | |
---|---|
static float |
DEFAULT_FRAMERATE
Default value for capturing frame rate. |
static int |
DEFAULT_HEIGHT
|
static int |
DEFAULT_WIDTH
|
メソッドの概要 | |
---|---|
float |
getFrameRate()
Get frame rate (frame per second). |
int |
getHeight()
Get height of the resolution. |
java.lang.String |
getIdentifier()
Get a String expression of the identifier for this instance, with which users can rebuild the instance over sessions. |
java.lang.String |
getName()
Get a name for this instance. |
int |
getWidth()
Get width of the resolution. |
java.awt.image.BufferedImage |
grabFrame()
Grab a frame in BufferedImage. |
byte[] |
grabFrameData()
Grab a frame in a byte array. |
boolean |
isGrayScale()
Get gray scale mode. |
boolean |
isPaused()
Get if capturing is paused or not. |
boolean |
isReversedX()
Get whether captured images are reversed by X-axis. |
boolean |
isReversedY()
Get whether captured images are reversed by Y-axis. |
boolean |
isStarted()
Get if capturing is started or not. |
void |
pause()
Pause capturing. Capturing process must be started before calling this method. |
void |
resume()
Resume capturing. Capturing process must be started before calling this method. |
void |
reverse(boolean reverseX,
boolean reverseY)
Reverse captured images by axis. |
void |
reverseX(boolean reverse)
Reverse captured images by X-axis. |
void |
reverseY(boolean reverse)
Reverse captured images by Y-axis. |
boolean |
setFrameRate(float fps)
Set frame rate (frame per second). |
void |
setGrayScale(boolean getGrayScale)
Set gray scale mode. |
boolean |
setSize(int width,
int height)
Set resolution. |
void |
setSource(java.lang.Object source)
Specify a source for capturing images. |
void |
start()
Start capturing images. |
void |
stop()
Stop capturing. |
フィールドの詳細 |
---|
static final float DEFAULT_FRAMERATE
static final int DEFAULT_WIDTH
static final int DEFAULT_HEIGHT
メソッドの詳細 |
---|
java.lang.String getIdentifier()
getName()
java.lang.String getName()
getIdentifier()
boolean setFrameRate(float fps)
float getFrameRate()
boolean setSize(int width, int height)
int getWidth()
int getHeight()
void setGrayScale(boolean getGrayScale) throws java.lang.Exception
java.lang.Exception
java.awt.image.BufferedImage grabFrame()
byte[] grabFrameData()
void setSource(java.lang.Object source) throws java.lang.Exception
java.lang.Exception
void start() throws java.lang.Exception
java.lang.Exception
void pause()
void resume()
void stop()
void reverse(boolean reverseX, boolean reverseY)
reverseX
- Whether to reverse images by X-axis or not.reverseY
- Whether to reverse images by Y-axis or not.void reverseX(boolean reverse)
void reverseY(boolean reverse)
boolean isGrayScale()
boolean isStarted()
boolean isPaused()
boolean isReversedX()
boolean isReversedY()
|
||||||||||
前のクラス 次のクラス | フレームあり フレームなし | |||||||||
概要: 入れ子 | フィールド | コンストラクタ | メソッド | 詳細: フィールド | コンストラクタ | メソッド |