Main Page | Class Hierarchy | Class List | File List | Class Members | Related Pages

org.nees.rbnb.JPEGThumbnailer Class Reference

This class will take in a RBNB channel name containing JPEG image data and outputs a scaled image (at a sub-sampled rate) on the specified channel. More...

Inheritance diagram for org.nees.rbnb.JPEGThumbnailer:

org.nees.rbnb.RBNBBase List of all members.

Public Member Functions

void printUsage ()
void startThread ()
void stopThread ()
boolean isRunning ()
 Return the state of the runnning code.

void setVariablesFromParameters ()
 Use the parameter table to set the actual variables for this RBNB application.

String[] getParameterNameArray ()
String[] getParameterTypeArray ()
Object[] getParameterDefaultArray ()
boolean start ()
 Start this instance.

boolean stop ()
 Stop this instance.


Static Public Member Functions

void main (String[] args)

Protected Member Functions

boolean setInstanceArgs (String[] args) throws IllegalArgumentException
void setParamterArrays ()

Static Package Functions

 [static initializer]

Package Attributes

Sink sink
Source source
ChannelMap getmap
ChannelMap reqmap
ChannelMap cmap
int outputChannelIndex
int inputChannelIndex
Thread theThread
boolean runit = false

Detailed Description

This class will take in a RBNB channel name containing JPEG image data and outputs a scaled image (at a sub-sampled rate) on the specified channel.

This class assumes that the frame rate of the input source is higher then the sample reate of of the output. The JPEG image will be scaled by 0.5 in both width and height.

Usage for JPEGThumbnailer... -v RBNB Sink path for input video (required) [-r RBNB Server Name *localhost] [-p RBNB Server Port *3333] [-s RBNB Source (output) Name *TSource] [-c RBNB Source (output) Channel *thumbnail.jpg] [-f desired output frame rate (in seconds)*1.0]

default value are noted by the *

Author:
Jason P. Hanley

Definition at line 47 of file rbnb/JPEGThumbnailer.java.


Member Function Documentation

Object [] org.nees.rbnb.JPEGThumbnailer.getParameterDefaultArray  )  [virtual]
 

Returns:
the array of default valeus for this type of object

Implements org.nees.rbnb.RBNBBase.

Definition at line 463 of file rbnb/JPEGThumbnailer.java.

String [] org.nees.rbnb.JPEGThumbnailer.getParameterNameArray  )  [virtual]
 

Returns:
the array of parameter names for this type of object

Implements org.nees.rbnb.RBNBBase.

Definition at line 449 of file rbnb/JPEGThumbnailer.java.

String [] org.nees.rbnb.JPEGThumbnailer.getParameterTypeArray  )  [virtual]
 

Returns:
the array of parameter types for this type of object

Implements org.nees.rbnb.RBNBBase.

Definition at line 456 of file rbnb/JPEGThumbnailer.java.

boolean org.nees.rbnb.JPEGThumbnailer.isRunning  )  [virtual]
 

Return the state of the runnning code.

Returns:
true if any of the threads in this code are running

Implements org.nees.rbnb.RBNBBase.

Definition at line 348 of file rbnb/JPEGThumbnailer.java.

Referenced by org.nees.rbnb.JPEGThumbnailer.start(), and org.nees.rbnb.JPEGThumbnailer.stop().

void org.nees.rbnb.JPEGThumbnailer.setVariablesFromParameters  )  [virtual]
 

Use the parameter table to set the actual variables for this RBNB application.

Implements org.nees.rbnb.RBNBBase.

Definition at line 403 of file rbnb/JPEGThumbnailer.java.

Referenced by org.nees.rbnb.JPEGThumbnailer.start().

boolean org.nees.rbnb.JPEGThumbnailer.start  )  [virtual]
 

Start this instance.

Returns:
true if start was sucessful

Implements org.nees.rbnb.RBNBBase.

Definition at line 470 of file rbnb/JPEGThumbnailer.java.

References org.nees.rbnb.JPEGThumbnailer.isRunning(), and org.nees.rbnb.JPEGThumbnailer.setVariablesFromParameters().

boolean org.nees.rbnb.JPEGThumbnailer.stop  )  [virtual]
 

Stop this instance.

Returns:
true if stop was sucessful

Implements org.nees.rbnb.RBNBBase.

Definition at line 483 of file rbnb/JPEGThumbnailer.java.

References org.nees.rbnb.JPEGThumbnailer.isRunning().


The documentation for this class was generated from the following file:
Generated on Tue Aug 24 11:12:29 2004 for Data turbine for NEESGrid by doxygen 1.3.7