Wavelet Transformation Demo:
Frame for display of the wavelet transformation (Source image, analysis, synthesis)
ANALYSIS
public static final int ANALYSIS
BLANK
private static final String BLANK
COLS
public static final String COLS
COL_ANA
public static Color COL_ANA
COL_BACK
public static Color COL_BACK
COL_ORG
public static Color COL_ORG
COL_SYN
public static Color COL_SYN
FRAME_HEIGTH
private static final int FRAME_HEIGTH
FRAME_WIDTH
private static final int FRAME_WIDTH
LOADING
private static final String LOADING
ROWS
public static final String ROWS
SPACE
public static final String SPACE
SYNTHESIS
public static final int SYNTHESIS
blankImage
private RenderedImage blankImage
loadingImage
private RenderedImage loadingImage
orgCanvas
private ImageCanvas orgCanvas
pauseThread
public boolean pauseThread
quantCount
public JTextField quantCount
quantPerc
public JTextField quantPerc
quantTotal
public JTextField quantTotal
reconBut
private JButton reconBut
reconCanvas
private ImageCanvas reconCanvas
reconLevel
public JTextField reconLevel
reconPauseBut
private JToggleButton reconPauseBut
reconSize
public JTextField reconSize
reconStatus
public JTextField reconStatus
transBut
private JButton transBut
transCanvas
private ImageCanvas transCanvas
transLevel
public JTextField transLevel
transPauseBut
private JToggleButton transPauseBut
transSize
public JTextField transSize
transStatus
public JTextField transStatus
createButs
private JPanel createButs(String header,
JButton start,
JToggleButton pause,
Color col)
Create a JPanel Start and Pause buttons
createImageWithText
private JPanel createImageWithText(String header,
ImageCanvas image,
Color col)
Create a JPanel with an ImageCanvas and a describing header text
createInfoArea
private JPanel createInfoArea(String header,
String s1,
JTextField t1,
String s2,
JTextField t2,
String s3,
JTextField t3,
Color col)
Create a JPanel with several text fields for status information output
disablePauseButton
public void disablePauseButton(int transform)
Disable the analysis/synthesis pause button
disableStartButton
public void disableStartButton(int transform)
Enable the analysis/synthesis start button
enableStartButton
public void enableStartButton(int transform)
Enable the analysis/synthesis start button
showLoadingImage
public void showLoadingImage()
Show a temorary image while loading the selected image
showNewImage
public void showNewImage()
Init the image canvases
showQuantInfo
public void showQuantInfo(int total,
int quant)
Show quantisation status info
showStatusInfo
public void showStatusInfo(int transform,
String text)
Show analysis/synthesis status info
showStatusInfo
public void showStatusInfo(int transform,
String text,
int level,
int rows,
int cols)
Show analysis/synthesis status info
showStatusInfo
public void showStatusInfo(int transform,
int level,
int rows,
int cols)
Show analysis/synthesis status info