Package fr.esrf.tangoatk.widget.image

This package contains a simple image viewing facility.

See:
          Description

Interface Summary
IImageManipulator IImageManipulator is an interface which specifies the behaviour of objects used to manipulate BufferedImages.
IImagePanel IImagePanel is an interface to specify a graphical object which is to appear in an image-viewers control-panel.
IImageViewer  
IRasterConverter IRasterConverter is an interface which specifies the methods to be used to convert a double [][] to a BufferedImage.
 

Class Summary
BWRaster  
ConvolveFilter  
GrayscaleColorConverter  
IImageFormat An abstract class for image format (Used by the RawImageViewer).
ImageController  
ImageViewer  
Jpeg24ImageFormat Color 24bits image format (JPEG)
Jpeg8ImageFormat Monochrome 8bits image format (JPEG)
JpegDecoder A class to decode jpeg image Author: JL Pons
LineProfilerPanel  
LineProfilerViewer A Class to display a line profile
Mono16ImageFormat Monochrome 16bits image format
Mono8ImageFormat Monochrome 8bits image format
RGB24ImageFormat 24 Bit RGB image format
RoiControlPanel  
 

Package fr.esrf.tangoatk.widget.image Description

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:

  1. the viewer represented by the interface IImageViewer
  2. the raster-controller, represented by the interface IRasterControl
  3. 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 its image 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