|
Urbi SDK Remote for Java
2.7.5
|
The ImageSampler class displays a list of image processing operations. More...


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) |
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.
Definition at line 30 of file ImageSampler.java.
| 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().
| synchronized void urbi.ImageSampler.addImage | ( | byte[] | buffer, |
| int | width, | ||
| int | height | ||
| ) |
Adds a new image to the frame.
| buffer | The buffer containing the binary data of the image. |
| width | The width of the image. |
| height | The 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().