|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Object de.desy.acop.video.timageio.TBufferedImage
public class TBufferedImage
The TBufferedImage
comprised of a TImageMetadata
of
image metadata and a BufferedImage
of image data.
Constructor Summary | |
---|---|
TBufferedImage(java.awt.image.BufferedImage bufferedImage,
TImageMetadata tiMetadata)
Constructs a TBufferedImage from BufferedImage
and TImageMetadata . |
|
TBufferedImage(de.desy.tine.types.IMAGE ti)
Creates TBufferedImage instance from Tine IMAGE (in
'archival' mode). |
|
TBufferedImage(de.desy.tine.types.IMAGE ti,
ColorMap colorMap,
boolean normalize,
boolean aoiExpansion)
Creates TBufferedImage instance from Tine IMAGE (in
'archival' mode). |
Method Summary | |
---|---|
static boolean |
containsAOI(de.desy.tine.types.IMAGE ti)
Returns true if TINE image contains AOI, otherwise false. |
java.awt.image.BufferedImage |
getBufferedImage()
Returns Java BufferedImage with an accessible buffer of image data |
TImageMetadata |
getMetadata()
Returns image metadata (non-image data) associated with TINE images. |
static java.util.Hashtable<java.lang.String,java.lang.Object> |
getProperties(java.awt.image.BufferedImage bi)
Deprecated. |
static boolean |
isSupported(int format)
Returns true if TINE image format is supported. |
void |
setBufferedImage(java.awt.image.BufferedImage image)
|
void |
setMetadata(TImageMetadata metadata)
Sets the TINE image metadata |
static java.awt.image.BufferedImage |
toBufferedImage(de.desy.tine.types.IMAGE ti)
Creates BufferedImage from Tine IMAGE in 'archival' mode. |
static java.awt.image.BufferedImage |
toBufferedImage(de.desy.tine.types.IMAGE ti,
ColorMap colorMap,
boolean normalize,
boolean aoiExpansion)
Creates BufferedImage from Tine IMAGE in 'archival'/'export'
mode. |
static java.awt.image.BufferedImage |
toBufferedImage(de.desy.tine.types.IMAGE ti,
ColorMap colorMap,
boolean normalize,
int min,
int max,
boolean aoiExpansion)
|
de.desy.tine.types.IMAGE |
toIMAGE()
Represents TBufferedImage as TINE image |
de.desy.tine.types.IMAGE |
toIMAGE(boolean rejectNonArchival)
Represents TBufferedImage as TINE image |
static de.desy.tine.types.IMAGE |
toIMAGE(java.awt.image.BufferedImage bi)
Converts Java BufferedImage to TINE image |
static de.desy.tine.types.IMAGE |
toIMAGE(java.awt.image.BufferedImage bi,
boolean rejectNonArchival)
Converts Java BufferedImage to TINE image |
static java.awt.image.BufferedImage |
toImageRGB(java.awt.image.BufferedImage src)
|
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Constructor Detail |
---|
public TBufferedImage(java.awt.image.BufferedImage bufferedImage, TImageMetadata tiMetadata)
TBufferedImage
from BufferedImage
and TImageMetadata
.
bufferedImage
- - Java BufferedImage
tiMetadata
- - TImageMetadata
TImageMetadata
public TBufferedImage(de.desy.tine.types.IMAGE ti)
TBufferedImage
instance from Tine IMAGE (in
'archival' mode).
ti
- - TINE Imagepublic TBufferedImage(de.desy.tine.types.IMAGE ti, ColorMap colorMap, boolean normalize, boolean aoiExpansion)
TBufferedImage
instance from Tine IMAGE (in
'archival' mode).
ti
- - TINE ImageMethod Detail |
---|
public java.awt.image.BufferedImage getBufferedImage()
public void setBufferedImage(java.awt.image.BufferedImage image)
public TImageMetadata getMetadata()
public void setMetadata(TImageMetadata metadata)
metadata
- - TINE image metadatapublic static java.awt.image.BufferedImage toBufferedImage(de.desy.tine.types.IMAGE ti)
BufferedImage
from Tine IMAGE in 'archival' mode.
ti
- - input Tine IMAGE
public static java.awt.image.BufferedImage toBufferedImage(de.desy.tine.types.IMAGE ti, ColorMap colorMap, boolean normalize, boolean aoiExpansion)
BufferedImage
from Tine IMAGE in 'archival'/'export'
mode.
ti
- - input Tine IMAGEcolorMap
- - apply color mapnormalize
- - apply the histogram equalization will be appliedaoiExpansion
- - apply the AOI expansion
public static java.awt.image.BufferedImage toBufferedImage(de.desy.tine.types.IMAGE ti, ColorMap colorMap, boolean normalize, int min, int max, boolean aoiExpansion)
public static de.desy.tine.types.IMAGE toIMAGE(java.awt.image.BufferedImage bi)
BufferedImage
to TINE image
bi
- - Java BufferedImage with/without TINE image metadata
public static de.desy.tine.types.IMAGE toIMAGE(java.awt.image.BufferedImage bi, boolean rejectNonArchival)
BufferedImage
to TINE image
bi
- - Java BufferedImage with/without TINE image metadatarejectNonArchival
- - if true
and bi
does not contain
TINE image metadata throws
IllegalArgumentException
public de.desy.tine.types.IMAGE toIMAGE()
TBufferedImage
as TINE image
public de.desy.tine.types.IMAGE toIMAGE(boolean rejectNonArchival)
TBufferedImage
as TINE image
rejectNonArchival
- - if true
and TBufferedImage
does
not contain TINE image metadata throws
IllegalArgumentException
public static boolean isSupported(int format)
format
- - an Image Format
java.lang.IllegalArgumentException
- if format is invalidpublic static boolean containsAOI(de.desy.tine.types.IMAGE ti)
ti
- - TINE image
public static java.util.Hashtable<java.lang.String,java.lang.Object> getProperties(java.awt.image.BufferedImage bi)
bi
- - BufferedImage
null
(!!!) while
BufferedImage#getPropertyNames()
returns always
null
BufferedImage#getPropertyNames()
public static java.awt.image.BufferedImage toImageRGB(java.awt.image.BufferedImage src)
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |