Urbi SDK Remote for Java  2.7.5
urbi.ImageSampler Class Reference

The ImageSampler class displays a list of image processing operations. More...

Inheritance diagram for urbi.ImageSampler:
Collaboration diagram for urbi.ImageSampler:

List of all members.

Public Member Functions

 ImageSampler ()
 Constructor for ImageSampler.
synchronized void addImage (byte[] buffer, int width, int height)
 Adds a new image to the frame.
synchronized void addImage (byte[] buffer, int width, int height, double x, double y)
synchronized void addImage (BufferedImage buffer, int width, int height)
synchronized void addImage (BufferedImage buffer, int width, int height, double x, double y)

Detailed Description

The ImageSampler class displays a list of image processing operations.

A first frame contains the source image and a second frame contains the user controls. If we want to process operations on the source image, a third frame is created contained the last processed image.

Author:
Bastien Saltel

Definition at line 30 of file ImageSampler.java.


Constructor & Destructor Documentation

urbi.ImageSampler.ImageSampler ( )

Constructor for ImageSampler.

Displays the frame containing the user controls, registers all the image processing operators and allocates the image component associated with the source image.

Definition at line 56 of file ImageSampler.java.

References urbi.ImageUtilities.centerFrame().


Member Function Documentation

synchronized void urbi.ImageSampler.addImage ( byte[]  buffer,
int  width,
int  height 
)

Adds a new image to the frame.

Parameters:
bufferThe buffer containing the binary data of the image.
widthThe width of the image.
heightThe height of the image.

Definition at line 202 of file ImageSampler.java.

References urbi.ImageComponent.getImage(), urbi.ImageComponent.setHeight(), urbi.ImageComponent.setWidth(), and urbi.ImageUtilities.sizeContainerToComponent().


The documentation for this class was generated from the following file: