Package fr.esrf.tangoatk.widget.image
package fr.esrf.tangoatk.widget.image
This package contains a simple image viewing facility. It is
represented by certain interfaces, and some of these are implemented
to treat the simplest of cases.
There are three concepts to this package:
- the viewer represented by the interface IImageViewer
- the raster-controller, represented by the interface IRasterControl
- the image-manipulator, represented by the interface IImageManipulator (and its subinterface IImageManipulatorPanel)
The image viewer
The concept of the imageviewer is to be the one that distributes information. Basically it's given an image produced by someone, normally a IRasterControl, through itsimage property.
This image is passed along to all
its IImageManipulator's which can treat this image in any
way they want before it's drawn in the viewer.
The raster conversion
The IRasterConverter interface is provided so that an IImageViewer can
take a raster, basically an double [][], and make it
into an BufferedImage. convertRaster(double [][]
raster) in IRasterConverter is called each time the
image-viewers setRaster(double [][]) is called.
The image manipulators
The IImageManipulator interface is
provided so that an image that is to be drawn by an IImageViewer can
be manipulated. IImageManipulator's can be added to
the IImageViewer via
the addImageManipulator(IImageManipulator) call. One can
have image-manipulators which take input from a user, for this, the
interface IImageManipulatorPanel is used. When an object implementing
this interface is passed to
an IImageViewers addImageManipulator method,
it is expected that the object implementing IImageViewer
adds it to its control-panel, if such functionality is supported.
Erik Assum
-
ClassDescriptionAn abstract class for image format (Used by the RawImageViewer).
IImageManipulatoris an interface which specifies the behaviour of objects used to manipulateBufferedImages.IImagePanelis an interface to specify a graphical object which is to appear in an image-viewers control-panel.IRasterConverteris an interface which specifies the methods to be used to convert adouble [][]to aBufferedImage.Color 24bits image format (JPEG)Monochrome 8bits image format (JPEG)A class to decode jpeg image Author: JL PonsA Class to display a line profileMonochrome 16bits image formatMonochrome 8bits image format24 Bit RGB image format