|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Object waveletCompression.ImageUtil
public class ImageUtil
Initialisierungs- und Hilfsfunktionen für das Arbeiten mit Bildern.
Constructor Summary | |
---|---|
ImageUtil()
|
Method Summary | |
---|---|
int[][][] |
getArray(javax.swing.ImageIcon imageIcon)
Wandelt ein ImageIcon in ein int-Array um, mit dem die Kompression durchgeführt werden kann. |
int |
getCompressedFileSize(double[][][] compressedData)
Bestimmt Größe des komprimierten Bildes, d.h. zählt sämtliche Bildelemente mit Wert ungleich Null. |
javax.swing.ImageIcon |
getImage(int[][][] imageArray)
Wandelt ein int-Array mit Bildelementen in ein ImageIcon-Objekt um, das zur Anzeige des Bildes verwendet werden kann. |
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Constructor Detail |
---|
public ImageUtil()
Method Detail |
---|
public int[][][] getArray(javax.swing.ImageIcon imageIcon)
imageIcon
- ein ImageIcon
public javax.swing.ImageIcon getImage(int[][][] imageArray)
imageArray
- ein Bild in Form eines int-Arrays
public int getCompressedFileSize(double[][][] compressedData)
compressedData
- das komprimierte Bild
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |