|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Object de.desy.acop.video.displayer.timage.TImageConverter
TImageConverter
instead
public class TImageConverter
TINE Image <-> Java BufferedImage Converter.
Note: Draft implementation
Constructor Summary | |
---|---|
TImageConverter()
Deprecated. Default constructor |
Method Summary | |
---|---|
static de.desy.tine.types.IMAGE |
parseBufferedImage(java.awt.image.BufferedImage src)
Deprecated. TODO: |
static de.desy.tine.types.IMAGE |
parseBufferedImage(java.awt.image.BufferedImage bi,
de.desy.tine.types.IMAGE.FrameHeader frameHeader,
de.desy.tine.types.IMAGE.SourceHeader sourceHeader)
Deprecated. TODO: - resets aoi parameters - only for TYPE_INT_RGB/TYPE_INT_GRAY java images - fraHeader and srcHeader are in/out parameters; application developer will preset them and some fields may be changed inside method according to bufferedImage characteristics - bufferedImage should be "easily" converted to IMAGE, e.g. |
java.awt.image.BufferedImage |
parseTineImage(de.desy.tine.types.IMAGE timage,
boolean aoiExpansion)
Deprecated. Creates Java Image from TINE IMAGE |
java.awt.image.BufferedImage |
parseTineImage(de.desy.tine.types.IMAGE timage,
boolean aoiExpansion,
ColorMap colorMap)
Deprecated. Creates Java Image from TINE IMAGE |
java.awt.image.BufferedImage |
parseTineImageNoClone(de.desy.tine.types.IMAGE timage,
boolean aoiExpansion)
Deprecated. Creates Java Image from TINE IMAGE. |
java.awt.image.BufferedImage |
parseTineImageNoClone(de.desy.tine.types.IMAGE timage,
boolean aoiExpansion,
ColorMap colorMap)
Deprecated. Creates Java Image from TINE IMAGE without cloning the original image. |
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Constructor Detail |
---|
public TImageConverter()
Method Detail |
---|
public java.awt.image.BufferedImage parseTineImage(de.desy.tine.types.IMAGE timage, boolean aoiExpansion)
timage
- - a TINE IMAGEaoiExpansion
- - if true
the AOI Image should be surrounded by
black pixels, otherwise not
public java.awt.image.BufferedImage parseTineImage(de.desy.tine.types.IMAGE timage, boolean aoiExpansion, ColorMap colorMap)
timage
- - a TINE IMAGEaoiExpansion
- - if true
the AOI Image should be surrounded by
black pixels, otherwise notcolorMap
- - colorMap to be used for conversion
public java.awt.image.BufferedImage parseTineImageNoClone(de.desy.tine.types.IMAGE timage, boolean aoiExpansion)
timage
- - a TINE IMAGEaoiExpansion
- - if true
the AOI Image should be surrounded by
black pixels, otherwise not
parseTineImageNoClone(IMAGE, boolean, ColorMap)
public java.awt.image.BufferedImage parseTineImageNoClone(de.desy.tine.types.IMAGE timage, boolean aoiExpansion, ColorMap colorMap)
parseTineImage(IMAGE, boolean, ColorMap)
, but be careful about
thread safe opeartion: if the given image changes during the execution of
this method, that could cause troubles.
timage
- - a TINE IMAGEaoiExpansion
- - if true
the AOI Image should be surrounded by
black pixels, otherwise notcolorMap
- - colorMap to be used for conversion
public static de.desy.tine.types.IMAGE parseBufferedImage(java.awt.image.BufferedImage src)
src
-
public static de.desy.tine.types.IMAGE parseBufferedImage(java.awt.image.BufferedImage bi, de.desy.tine.types.IMAGE.FrameHeader frameHeader, de.desy.tine.types.IMAGE.SourceHeader sourceHeader)
bi
- - input buffered imageframeHeader
- - in/out TINE frame headersourceHeader
- - in/out TINE source header
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |