Class SThresholdScreen

java.lang.Object
  |
  +--java.awt.Component
        |
        +--java.awt.Container
              |
              +--java.awt.Panel
                    |
                    +--java.applet.Applet
                          |
                          +--javax.swing.JApplet
                                |
                                +--HistVisionApplet
                                      |
                                      +--SThresholdScreen

public class SThresholdScreen
extends HistVisionApplet

SThresholdScreen is the user interface to the thresholding algorithm (newjavasrc.operator.Threshold.java) It is run as an applet embedded in the file threshld.htm

Author:
Konstantinos Koryllos, Judy Robertson SELLIC OnLine, Timothy Sharman
See Also:
Serialized Form

Inner classes inherited from class HistVisionApplet
HistVisionApplet.PixelListener
 
Inner classes inherited from class javax.swing.JApplet
javax.swing.JApplet.AccessibleJApplet
 
Field Summary
 int highthresh
          The current high threshold for the threshold algorithm
 int lowthresh
          The current low threshold for the threshold algorithm
 
Fields inherited from class HistVisionApplet
bl, bm, bmc, bmlayout, br, brc, brlayout, container, d_h, d_w, dest, dest_1d, dest_canvas, hist, hist_1d, hist_canvas, histogramalgorithm, i_h, i_w, insize, load_image, mid, midc, midlayout, output, outsize, src, src_1d, src_canvas, theURL, time_msec
 
Fields inherited from class javax.swing.JApplet
accessibleContext, rootPane, rootPaneCheckingEnabled
 
Fields inherited from class java.awt.Component
BOTTOM_ALIGNMENT, CENTER_ALIGNMENT, LEFT_ALIGNMENT, RIGHT_ALIGNMENT, TOP_ALIGNMENT
 
Constructor Summary
SThresholdScreen()
           
 
Method Summary
 void add_extra()
           
 java.lang.String getAppletInfo()
          Used by the browser to find out what the applet is for
 void set_src_image(int[] input_img, int w, int h, java.lang.String name)
           
 
Methods inherited from class HistVisionApplet
apply_send_image, init, set_image, set_interface, set_src_image2
 
Methods inherited from class javax.swing.JApplet
addImpl, createRootPane, getAccessibleContext, getContentPane, getGlassPane, getJMenuBar, getLayeredPane, getRootPane, isRootPaneCheckingEnabled, paramString, processKeyEvent, setContentPane, setGlassPane, setJMenuBar, setLayeredPane, setLayout, setRootPane, setRootPaneCheckingEnabled, update
 
Methods inherited from class java.applet.Applet
destroy, getAppletContext, getAudioClip, getAudioClip, getCodeBase, getDocumentBase, getImage, getImage, getLocale, getParameter, getParameterInfo, isActive, newAudioClip, play, play, resize, resize, setStub, showStatus, start, stop
 
Methods inherited from class java.awt.Panel
addNotify
 
Methods inherited from class java.awt.Container
add, add, add, add, add, addContainerListener, countComponents, deliverEvent, doLayout, findComponentAt, findComponentAt, getAlignmentX, getAlignmentY, getComponent, getComponentAt, getComponentAt, getComponentCount, getComponents, getInsets, getLayout, getMaximumSize, getMinimumSize, getPreferredSize, insets, invalidate, isAncestorOf, layout, list, list, locate, minimumSize, paint, paintComponents, preferredSize, print, printComponents, processContainerEvent, processEvent, remove, remove, removeAll, removeContainerListener, removeNotify, setFont, validate, validateTree
 
Methods inherited from class java.awt.Component
action, add, addComponentListener, addFocusListener, addInputMethodListener, addKeyListener, addMouseListener, addMouseMotionListener, addPropertyChangeListener, addPropertyChangeListener, bounds, checkImage, checkImage, coalesceEvents, contains, contains, createImage, createImage, disable, disableEvents, dispatchEvent, enable, enable, enableEvents, enableInputMethods, firePropertyChange, getBackground, getBounds, getBounds, getColorModel, getComponentOrientation, getCursor, getDropTarget, getFont, getFontMetrics, getForeground, getGraphics, getHeight, getInputContext, getInputMethodRequests, getLocation, getLocation, getLocationOnScreen, getName, getParent, getPeer, getSize, getSize, getToolkit, getTreeLock, getWidth, getX, getY, gotFocus, handleEvent, hasFocus, hide, imageUpdate, inside, isDisplayable, isDoubleBuffered, isEnabled, isFocusTraversable, isLightweight, isOpaque, isShowing, isValid, isVisible, keyDown, keyUp, list, list, list, location, lostFocus, mouseDown, mouseDrag, mouseEnter, mouseExit, mouseMove, mouseUp, move, nextFocus, paintAll, postEvent, prepareImage, prepareImage, printAll, processComponentEvent, processFocusEvent, processInputMethodEvent, processMouseEvent, processMouseMotionEvent, remove, removeComponentListener, removeFocusListener, removeInputMethodListener, removeKeyListener, removeMouseListener, removeMouseMotionListener, removePropertyChangeListener, removePropertyChangeListener, repaint, repaint, repaint, repaint, requestFocus, reshape, setBackground, setBounds, setBounds, setComponentOrientation, setCursor, setDropTarget, setEnabled, setForeground, setLocale, setLocation, setLocation, setName, setSize, setSize, setVisible, show, show, size, toString, transferFocus
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
 

Field Detail

lowthresh

public int lowthresh
The current low threshold for the threshold algorithm

highthresh

public int highthresh
The current high threshold for the threshold algorithm
Constructor Detail

SThresholdScreen

public SThresholdScreen()
Method Detail

add_extra

public void add_extra()
Overrides:
add_extra in class HistVisionApplet

set_src_image

public void set_src_image(int[] input_img,
                          int w,
                          int h,
                          java.lang.String name)
Overrides:
set_src_image in class HistVisionApplet

getAppletInfo

public java.lang.String getAppletInfo()
Used by the browser to find out what the applet is for
Returns:
the function of the applet
Overrides:
getAppletInfo in class HistVisionApplet