A B C D F G I J L M O P R S T V W

A

actionPerformed(ActionEvent) - Method in class josx.vision.RegionControl
Toggle debug
actionPerformed(ActionEvent) - Method in class josx.vision.MotionDetectionControl
Toggle debug
actionPerformed(ActionEvent) - Method in class josx.vision.FlipControl
Toggle debug
actionPerformed(ActionEvent) - Method in class josx.vision.ColorDetectionControl
Toggle debug
addColorListener(ColorListener, int) - Method in class josx.vision.Region
Add a color listener
addColorListener(int, ColorListener, int) - Static method in class josx.vision.Vision
Add a Color Listener for the region
addLightListener(int, LightListener) - Static method in class josx.vision.Vision
Add a Light Listener for the region
addLightListener(LightListener) - Method in class josx.vision.Region
Add a light listener
addMotionListener(int, MotionListener) - Static method in class josx.vision.Vision
Add a Motion Listener for the region
addMotionListener(MotionListener) - Method in class josx.vision.Region
Add a motion listener
addNotify() - Method in class josx.vision.Vision
 
addRectRegion(int, int, int, int, int) - Static method in class josx.vision.Vision
Add a rectangular region
averageBlue - Variable in class josx.vision.ColorEffect
 
averageGreen - Variable in class josx.vision.ColorEffect
 
averageRed - Variable in class josx.vision.ColorEffect
 

B

backward() - Static method in class josx.vision.RCX
Move the robot backwards until stop or another command is executed.
backward(int) - Static method in class josx.vision.RCX
Move the robot backwards n units.
blob_threshold - Variable in class josx.vision.MotionDetectionEffect
Our threshold for determinig if the input image has enough motion.

C

close() - Method in class josx.vision.VisionEffect
Does nothing
colorDetected(int, int) - Method in interface josx.vision.ColorListener
Triggered when the color is detected in the region
ColorDetectionControl - class josx.vision.ColorDetectionControl.
Title: Lejos Vision System Description: Color Detection Control
ColorDetectionControl(ColorEffect) - Constructor for class josx.vision.ColorDetectionControl
Create the Motion Detection Control
ColorEffect - class josx.vision.ColorEffect.
 
ColorEffect() - Constructor for class josx.vision.ColorEffect
 
ColorListener - interface josx.vision.ColorListener.
Interface for color listeners
controllerUpdate(ControllerEvent) - Method in class josx.vision.Vision
Controller Listener.
controllerUpdate(ControllerEvent) - Method in class josx.vision.Recorder
Controller Listener.
controlMotors(byte, byte, byte) - Static method in class josx.vision.RCX
Move the selected motors in the selected direction for n units

D

debug - Variable in class josx.vision.MotionDetectionEffect
Turn debugging on.

F

flip - Variable in class josx.vision.FlipEffect
 
FlipControl - class josx.vision.FlipControl.
Title: Lejos Vision System Description: Flip Control
FlipControl(FlipEffect) - Constructor for class josx.vision.FlipControl
Create the Motion Detection Control
FlipEffect - class josx.vision.FlipEffect.
 
FlipEffect() - Constructor for class josx.vision.FlipEffect
Create flip effect
flipHorizontal(boolean) - Static method in class josx.vision.Vision
Flip the image in the image viewer horizontally
Font - class josx.vision.Font.
Title: Big fonts Description: Support for overlaying text on video streams
FONT_6x11 - Static variable in class josx.vision.Font
 
FONT_8x8 - Static variable in class josx.vision.Font
 
forward() - Static method in class josx.vision.RCX
Move the robot forwards until stop or another command is executed.
forward(int) - Static method in class josx.vision.RCX
Move the robot forwards n units.

G

getAvgBlue(int) - Static method in class josx.vision.Vision
Get the average blue value for the region
getAvgGreen(int) - Static method in class josx.vision.Vision
Get the average green value for the region
getAvgRed(int) - Static method in class josx.vision.Vision
Get the average red value for the region
getAvgRGB(int) - Static method in class josx.vision.Vision
Get the average RGB value for the region
getColorListeners() - Method in class josx.vision.Region
Return the array of color listeners
getColors() - Method in class josx.vision.Region
Return the array of colors corresponding to the color listeners
getControl(String) - Method in class josx.vision.VisionEffect
Returns null
getControlComponent() - Method in class josx.vision.RegionControl
Return the visual component
getControlComponent() - Method in class josx.vision.MotionDetectionControl
Return the visual component
getControlComponent() - Method in class josx.vision.FlipControl
Return the visual component
getControlComponent() - Method in class josx.vision.ColorDetectionControl
Return the visual component
getControls() - Method in class josx.vision.VisionEffect
Returns null
getControls() - Method in class josx.vision.RegionEffect
Getter for array on one control for adjusing motion threshold and setting debug.
getControls() - Method in class josx.vision.MotionDetectionEffect
Getter for array on one control for adjusing motion threshold and setting debug.
getControls() - Method in class josx.vision.FlipEffect
Getter for array on one control for adjusing motion threshold and setting debug.
getControls() - Method in class josx.vision.ColorEffect
Getter for array on one control for adjusing motion threshold and setting debug.
getFrame() - Static method in class josx.vision.Vision
Get the viewer frame.
getHeight() - Method in class josx.vision.Region
Get the height of the region
getLightListeners() - Method in class josx.vision.Region
Return the array of light listeners
getMotionListeners() - Method in class josx.vision.Region
Return the array of motion listeners
getName() - Method in class josx.vision.RegionEffect
 
getName() - Method in class josx.vision.MotionDetectionEffect
get the name of the effect
getName() - Method in class josx.vision.FlipEffect
 
getName() - Method in class josx.vision.ColorEffect
 
getRegions() - Static method in class josx.vision.Vision
Get the array of regions
getSupportedInputFormats() - Method in class josx.vision.VisionEffect
Get the supported input formats
getSupportedOutputFormats(Format) - Method in class josx.vision.VisionEffect
Get the supported output formats that matches the input format
getWidth() - Method in class josx.vision.Region
Get the width of the region
getX() - Method in class josx.vision.Region
Get the X coordinate of the bottom left corner
getY() - Method in class josx.vision.Region
Get the Y coordinate of the bottom left corner

I

INIT_PROPORTION - Static variable in class josx.vision.ColorEffect
 
inputFormat - Variable in class josx.vision.VisionEffect
 
inputFormats - Variable in class josx.vision.VisionEffect
 
inRegion(int, int) - Method in class josx.vision.Region
Test if point is in the region
isRecording() - Static method in class josx.vision.Vision
Test is recording is in progress

J

josx.vision - package josx.vision
 

L

lightDetected(int) - Method in interface josx.vision.LightListener
Triggered when bright light detected in the region
LightListener - interface josx.vision.LightListener.
Interface for light listeners

M

matches(Format, Format[]) - Method in class josx.vision.VisionEffect
Select the first output format that matches the input format.
MAX_PIXEL_THRESHOLD - Static variable in class josx.vision.ColorEffect
 
MAX_PROPORTION - Static variable in class josx.vision.ColorEffect
 
MAX_REGIONS - Static variable in class josx.vision.Region
 
MIN_PIXEL_THRESHOLD - Static variable in class josx.vision.ColorEffect
 
MIN_PROPORTION - Static variable in class josx.vision.ColorEffect
 
motionDetected(int) - Method in interface josx.vision.MotionListener
Triggered when motion detected in the region
MotionDetectionControl - class josx.vision.MotionDetectionControl.
Title: Lejos Vision System Description: Motion Detection Control
MotionDetectionControl(MotionDetectionEffect) - Constructor for class josx.vision.MotionDetectionControl
Create the Motion Detection Control
MotionDetectionEffect - class josx.vision.MotionDetectionEffect.
Motion detection effect.
MotionDetectionEffect() - Constructor for class josx.vision.MotionDetectionEffect
Initialize the Motion effect plugin.
MotionListener - interface josx.vision.MotionListener.
Interface for motion listeners

O

open() - Method in class josx.vision.VisionEffect
Does nothing
open(DataSource) - Method in class josx.vision.Vision
Given a datasource, create a processor and use that processor as a player to playback the media.
OPTIMIZATION - Variable in class josx.vision.MotionDetectionEffect
Optimization.
outputFormat - Variable in class josx.vision.VisionEffect
 
outputFormats - Variable in class josx.vision.VisionEffect
 

P

PIXEL_THRESHOLD_INC - Static variable in class josx.vision.ColorEffect
 
pixelThreshold - Static variable in class josx.vision.ColorEffect
 
playSound(String) - Static method in class josx.vision.Vision
Play an audio file
playToEndOfMedia(int) - Method in class josx.vision.Recorder
 
playTone(short, byte) - Static method in class josx.vision.RCX
Play a tone
println(String, int, int, int, byte, byte, byte, Buffer) - Static method in class josx.vision.Font
Write text over the RGB image
process(Buffer, Buffer) - Method in class josx.vision.RegionEffect
 
process(Buffer, Buffer) - Method in class josx.vision.MotionDetectionEffect
Process the image, detecting motion in the regions
process(Buffer, Buffer) - Method in class josx.vision.FlipEffect
Flip the data in each line
process(Buffer, Buffer) - Method in class josx.vision.ColorEffect
 
PROPORTION_INC - Static variable in class josx.vision.ColorEffect
 

R

RCX - class josx.vision.RCX.
Remote execution of commands for vision control.
RCX() - Constructor for class josx.vision.RCX
 
Recorder - class josx.vision.Recorder.
Video recorder
Recorder(String, int) - Constructor for class josx.vision.Recorder
Create the recorder.
Region - class josx.vision.Region.
Representation of a region in the camera's field of view
Region(int, int, int, int) - Constructor for class josx.vision.Region
Create a region
RegionControl - class josx.vision.RegionControl.
Title: Lejos Vision System Description: REgion Control
RegionControl(RegionEffect) - Constructor for class josx.vision.RegionControl
Create the Region Control
RegionEffect - class josx.vision.RegionEffect.
 
RegionEffect() - Constructor for class josx.vision.RegionEffect
 
requiredProportion - Static variable in class josx.vision.ColorEffect
 
reset() - Method in class josx.vision.VisionEffect
Does nothing
run() - Method in class josx.vision.Recorder
 

S

scanLeft() - Static method in class josx.vision.RCX
Scan left until stop or another command is executed.
scanLeft(int) - Static method in class josx.vision.RCX
Scan left n units.
scanRight() - Static method in class josx.vision.RCX
Scan right until stop or another command is executed.
scanRight(int) - Static method in class josx.vision.RCX
Scan right n units.
setFrameRate(float) - Static method in class josx.vision.Vision
Set the frame rate
setImageSize(int, int) - Static method in class josx.vision.Vision
Set the size of the video viewer image
setInputFormat(Format) - Method in class josx.vision.VisionEffect
Set the input format.
setOutputFormat(Format) - Method in class josx.vision.VisionEffect
Set the output format.
setPower(byte, byte) - Static method in class josx.vision.RCX
Set the power of selected motors
show - Variable in class josx.vision.RegionEffect
 
snapshot(String) - Static method in class josx.vision.Vision
Take a snapshot
spinLeft() - Static method in class josx.vision.RCX
Spin left until stop or another command is executed.
spinLeft(int) - Static method in class josx.vision.RCX
Spin left n units.
spinRight() - Static method in class josx.vision.RCX
Spin right until stop or another command is executed.
spinRight(int) - Static method in class josx.vision.RCX
Spin right n units.
startRecorder(String, int) - Static method in class josx.vision.Vision
Start the video recorder
startViewer(String) - Static method in class josx.vision.Vision
Start the video viewer frame
stateChanged(ChangeEvent) - Method in class josx.vision.MotionDetectionControl
Set the threshold value
stateChanged(ChangeEvent) - Method in class josx.vision.ColorDetectionControl
Set the threshold value
stop() - Static method in class josx.vision.RCX
Stop all motors
stopRecording() - Static method in class josx.vision.Vision
 
stopRecording() - Static method in class josx.vision.Recorder
 
stopViewer() - Static method in class josx.vision.Vision
Close Video viewer

T

threshold - Variable in class josx.vision.MotionDetectionEffect
The threshold for determing if the pixel at a certain location has changed consideribly.
THRESHOLD_INC - Variable in class josx.vision.MotionDetectionEffect
By what value you should increment.
THRESHOLD_INIT - Variable in class josx.vision.MotionDetectionEffect
The initial threshold setting.
THRESHOLD_MAX - Variable in class josx.vision.MotionDetectionEffect
Maximum threshold setting.
tiltDown(int) - Static method in class josx.vision.RCX
Tilt the camera down n units
tiltUp(int) - Static method in class josx.vision.RCX
Tilt the camera up n units
turnLeft() - Static method in class josx.vision.RCX
Turn left until stop or another command is executed.
turnLeft(int) - Static method in class josx.vision.RCX
Turn left n units.
turnRight() - Static method in class josx.vision.RCX
Turn right until stop or another command is executed.
turnRight(int) - Static method in class josx.vision.RCX
Turn right n units.

V

validateByteArraySize(Buffer, int) - Method in class josx.vision.VisionEffect
Validate that the Buffer conforms to the expected format, and create a new byte array if not.
Vision - class josx.vision.Vision.
Java version of Vision Command.
Vision(String) - Constructor for class josx.vision.Vision
Create the viewer frame with a title.
VisionEffect - class josx.vision.VisionEffect.
Abstract Effect that specific Vision Effects inherit from
VisionEffect() - Constructor for class josx.vision.VisionEffect
Create the Effect.

W

writeImage(String, byte[], int, int) - Static method in class josx.vision.Vision
Write to fn file the data using the width, height variables.

A B C D F G I J L M O P R S T V W