Package | Class | Tree | Deprecated | Index | Help
PREV NEXT | FRAMES NO FRAMES

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.ColorDetectionControl
  Toggle debug
actionPerformed(ActionEvent) - Method in class josx.vision.FlipControl
  Toggle debug
actionPerformed(ActionEvent) - Method in class josx.vision.MotionDetectionControl
  Toggle debug
actionPerformed(ActionEvent) - Method in class josx.vision.RegionControl
  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(LightListener) - Method in class josx.vision.Region
  Add a light listener
addLightListener(int, LightListener) - Static method in class josx.vision.Vision
  Add a Light Listener for the region
addMotionListener(MotionListener) - Method in class josx.vision.Region
  Add a motion listener
addMotionListener(int, MotionListener) - Static method in class josx.vision.Vision
  Add a Motion Listener for the region
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() - Method in class josx.vision.RCX
  Move the robot backwards until stop or another command is executed.
backward(int) - 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 in josx.vision
  Title: Lejos Vision System Description: Color Detection Control
ColorDetectionControl(ColorEffect) - Constructor for class josx.vision.ColorDetectionControl
  Create the Motion Detection Control
ColorEffect - Class in josx.vision
ColorEffect() - Constructor for class josx.vision.ColorEffect
ColorListener - Interface in josx.vision
  Interface for color listeners
controllerUpdate(ControllerEvent) - Method in class josx.vision.Recorder
  Controller Listener.
controllerUpdate(ControllerEvent) - Method in class josx.vision.Vision
  Controller Listener.
controlMotors(byte, byte, byte) - 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 in josx.vision
  Title: Lejos Vision System Description: Flip Control
FlipControl(FlipEffect) - Constructor for class josx.vision.FlipControl
  Create the Motion Detection Control
FlipEffect - Class in josx.vision
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 in josx.vision
  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() - Method in class josx.vision.RCX
  Move the robot forwards until stop or another command is executed.
forward(int) - 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.ColorDetectionControl
  Return the visual component
getControlComponent() - Method in class josx.vision.FlipControl
  Return the visual component
getControlComponent() - Method in class josx.vision.MotionDetectionControl
  Return the visual component
getControlComponent() - Method in class josx.vision.RegionControl
  Return the visual component
getControls() - Method in class josx.vision.ColorEffect
  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.MotionDetectionEffect
  Getter for array on one control for adjusing motion threshold and setting debug.
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.VisionEffect
  Returns null
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.ColorEffect
getName() - Method in class josx.vision.FlipEffect
getName() - Method in class josx.vision.MotionDetectionEffect
  get the name of the effect
getName() - Method in class josx.vision.RegionEffect
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 in josx.vision
  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 in josx.vision
  Title: Lejos Vision System Description: Motion Detection Control
MotionDetectionControl(MotionDetectionEffect) - Constructor for class josx.vision.MotionDetectionControl
  Create the Motion Detection Control
MotionDetectionEffect - Class in josx.vision
  Motion detection effect.
MotionDetectionEffect() - Constructor for class josx.vision.MotionDetectionEffect
  Initialize the Motion effect plugin.
MotionListener - Interface in josx.vision
  Interface for motion listeners

## O

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.
open() - Method in class josx.vision.VisionEffect
  Does nothing
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) - 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.ColorEffect
process(Buffer, Buffer) - Method in class josx.vision.FlipEffect
  Flip the data in each line
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.RegionEffect
PROPORTION_INC - Static variable in class josx.vision.ColorEffect

## R

RCX - Class in josx.vision
  Remote execution of commands for vision control.
RCX(String) - Constructor for class josx.vision.RCX
Recorder - Class in josx.vision
  Video recorder
Recorder(String, int) - Constructor for class josx.vision.Recorder
  Create the recorder.
Region - Class in josx.vision
  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 in josx.vision
  Title: Lejos Vision System Description: REgion Control
RegionControl(RegionEffect) - Constructor for class josx.vision.RegionControl
  Create the Region Control
RegionEffect - Class in josx.vision
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() - Method in class josx.vision.RCX
  Scan left until stop or another command is executed.
scanLeft(int) - Method in class josx.vision.RCX
  Scan left n units.
scanRight() - Method in class josx.vision.RCX
  Scan right until stop or another command is executed.
scanRight(int) - 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) - 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() - Method in class josx.vision.RCX
  Spin left until stop or another command is executed.
spinLeft(int) - Method in class josx.vision.RCX
  Spin left n units.
spinRight() - Method in class josx.vision.RCX
  Spin right until stop or another command is executed.
spinRight(int) - 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.ColorDetectionControl
  Set the threshold value
stateChanged(ChangeEvent) - Method in class josx.vision.MotionDetectionControl
  Set the threshold value
stop() - Method in class josx.vision.RCX
  Stop all motors
stopRecording() - Static method in class josx.vision.Recorder
stopRecording() - Static method in class josx.vision.Vision
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) - Method in class josx.vision.RCX
  Tilt the camera down n units
tiltUp(int) - Method in class josx.vision.RCX
  Tilt the camera up n units
turnLeft() - Method in class josx.vision.RCX
  Turn left until stop or another command is executed.
turnLeft(int) - Method in class josx.vision.RCX
  Turn left n units.
turnRight() - Method in class josx.vision.RCX
  Turn right until stop or another command is executed.
turnRight(int) - 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 in josx.vision
  Java version of Vision Command.
Vision(String) - Constructor for class josx.vision.Vision
  Create the viewer frame with a title.
VisionEffect - Class in josx.vision
  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

Package | Class | Tree | Deprecated | Index | Help
PREV NEXT | FRAMES NO FRAMES