|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Object java.awt.Component java.awt.Canvas devs.sensorpackage.cmucam.CameraImage
public class CameraImage
Nested Class Summary |
---|
Nested classes/interfaces inherited from class java.awt.Canvas |
---|
java.awt.Canvas.AccessibleAWTCanvas |
Nested classes/interfaces inherited from class java.awt.Component |
---|
java.awt.Component.AccessibleAWTComponent, java.awt.Component.BltBufferStrategy, java.awt.Component.FlipBufferStrategy |
Field Summary | |
---|---|
(package private) zoomBox |
azoomBox
|
(package private) java.awt.Label |
blue_l
|
(package private) char[][] |
bmask
|
(package private) java.awt.Frame |
channel_f
|
(package private) int |
col
|
(package private) java.awt.Panel |
colorBox
|
(package private) int |
conf
|
(package private) int |
fps
|
(package private) int |
frames
|
(package private) java.awt.Label |
green_l
|
(package private) int |
height
|
(package private) java.awt.Image |
image
|
(package private) int |
lm
|
(package private) int |
lmIndex
|
int |
mm
|
(package private) int |
mmoldx
|
(package private) int |
mmoldy
|
(package private) int |
mmx
|
(package private) int |
mmy
|
(package private) int |
mx
|
(package private) int |
my
|
(package private) camSettings |
myCamSettings
|
(package private) channelWindow |
myChannels
|
(package private) meanWindow |
myMean
|
(package private) rawWindow |
myRaw
|
(package private) serialComm |
mySerial
|
(package private) setWindow |
mySW
|
(package private) colorTrack |
myTrack
|
(package private) java.awt.Graphics |
offScreenGC
|
(package private) java.awt.Image |
offScreenImage
|
(package private) int |
oldx
|
(package private) int |
oldx2
|
(package private) int |
oldy
|
(package private) int |
oldy2
|
(package private) int |
oldz
|
(package private) outWindow |
outWin
|
(package private) java.awt.Frame |
picker_f
|
(package private) boolean |
pickerStat
|
(package private) int[] |
pixels
|
(package private) java.awt.Label |
red_l
|
(package private) int |
row
|
(package private) int |
scale
|
(package private) java.awt.image.MemoryImageSource |
source
|
(package private) int |
start
|
(package private) long |
startTime
|
(package private) int |
tc
|
(package private) long |
wdTimer
|
(package private) int |
width
|
(package private) int |
x2coord
|
(package private) int |
xcoord
|
(package private) int |
y2coord
|
(package private) int |
ycoord
|
(package private) int |
zcoord
|
Fields inherited from class java.awt.Component |
---|
BOTTOM_ALIGNMENT, CENTER_ALIGNMENT, LEFT_ALIGNMENT, RIGHT_ALIGNMENT, TOP_ALIGNMENT |
Fields inherited from interface java.awt.image.ImageObserver |
---|
ABORT, ALLBITS, ERROR, FRAMEBITS, HEIGHT, PROPERTIES, SOMEBITS, WIDTH |
Constructor Summary | |
---|---|
CameraImage(int x,
int y,
java.lang.String commPort)
|
Method Summary | |
---|---|
int |
dumpFrame()
|
void |
flushBuf()
|
int |
getMean(int mode)
|
void |
hideMean()
|
void |
hideSW()
|
void |
hideTrack()
|
boolean |
idle()
|
void |
paint(java.awt.Graphics g)
|
void |
processEvent(java.awt.AWTEvent e)
|
boolean |
sendCommand(java.lang.String command)
|
void |
setCamera()
|
void |
showMean()
|
void |
showSW()
|
void |
showTrack()
|
void |
splitChannels()
|
int |
sw()
|
int |
trackColor(int mode)
|
void |
update(java.awt.Graphics g)
|
void |
writeText(java.lang.String str)
|
Methods inherited from class java.awt.Canvas |
---|
addNotify, createBufferStrategy, createBufferStrategy, getAccessibleContext, getBufferStrategy |
Methods inherited from class java.awt.Component |
---|
action, add, addComponentListener, addFocusListener, addHierarchyBoundsListener, addHierarchyListener, addInputMethodListener, addKeyListener, addMouseListener, addMouseMotionListener, addMouseWheelListener, addPropertyChangeListener, addPropertyChangeListener, applyComponentOrientation, areFocusTraversalKeysSet, bounds, checkImage, checkImage, coalesceEvents, contains, contains, createImage, createImage, createVolatileImage, createVolatileImage, deliverEvent, disable, disableEvents, dispatchEvent, doLayout, enable, enable, enableEvents, enableInputMethods, firePropertyChange, firePropertyChange, firePropertyChange, firePropertyChange, firePropertyChange, firePropertyChange, firePropertyChange, firePropertyChange, firePropertyChange, getAlignmentX, getAlignmentY, getBackground, getBounds, getBounds, getColorModel, getComponentAt, getComponentAt, getComponentListeners, getComponentOrientation, getCursor, getDropTarget, getFocusCycleRootAncestor, getFocusListeners, getFocusTraversalKeys, getFocusTraversalKeysEnabled, getFont, getFontMetrics, getForeground, getGraphics, getGraphicsConfiguration, getHeight, getHierarchyBoundsListeners, getHierarchyListeners, getIgnoreRepaint, getInputContext, getInputMethodListeners, getInputMethodRequests, getKeyListeners, getListeners, getLocale, getLocation, getLocation, getLocationOnScreen, getMaximumSize, getMinimumSize, getMouseListeners, getMouseMotionListeners, getMousePosition, getMouseWheelListeners, getName, getParent, getPeer, getPreferredSize, getPropertyChangeListeners, getPropertyChangeListeners, getSize, getSize, getToolkit, getTreeLock, getWidth, getX, getY, gotFocus, handleEvent, hasFocus, hide, imageUpdate, inside, invalidate, isBackgroundSet, isCursorSet, isDisplayable, isDoubleBuffered, isEnabled, isFocusable, isFocusCycleRoot, isFocusOwner, isFocusTraversable, isFontSet, isForegroundSet, isLightweight, isMaximumSizeSet, isMinimumSizeSet, isOpaque, isPreferredSizeSet, isShowing, isValid, isVisible, keyDown, keyUp, layout, list, list, list, list, list, locate, location, lostFocus, minimumSize, mouseDown, mouseDrag, mouseEnter, mouseExit, mouseMove, mouseUp, move, nextFocus, paintAll, paramString, postEvent, preferredSize, prepareImage, prepareImage, print, printAll, processComponentEvent, processFocusEvent, processHierarchyBoundsEvent, processHierarchyEvent, processInputMethodEvent, processKeyEvent, processMouseEvent, processMouseMotionEvent, processMouseWheelEvent, remove, removeComponentListener, removeFocusListener, removeHierarchyBoundsListener, removeHierarchyListener, removeInputMethodListener, removeKeyListener, removeMouseListener, removeMouseMotionListener, removeMouseWheelListener, removeNotify, removePropertyChangeListener, removePropertyChangeListener, repaint, repaint, repaint, repaint, requestFocus, requestFocus, requestFocusInWindow, requestFocusInWindow, reshape, resize, resize, setBackground, setBounds, setBounds, setComponentOrientation, setCursor, setDropTarget, setEnabled, setFocusable, setFocusTraversalKeys, setFocusTraversalKeysEnabled, setFont, setForeground, setIgnoreRepaint, setLocale, setLocation, setLocation, setMaximumSize, setMinimumSize, setName, setPreferredSize, setSize, setSize, setVisible, show, show, size, toString, transferFocus, transferFocusBackward, transferFocusUpCycle, validate |
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait |
Field Detail |
---|
java.awt.Frame picker_f
boolean pickerStat
public int mm
int mmx
int mmy
int mmoldx
int mmoldy
char[][] bmask
int lm
int lmIndex
int tc
int width
int height
int[] pixels
int col
int row
int mx
int my
int xcoord
int ycoord
int zcoord
int oldz
int oldx
int oldy
int x2coord
int y2coord
int oldx2
int oldy2
int conf
java.awt.image.MemoryImageSource source
java.awt.Image image
java.awt.Image offScreenImage
java.awt.Graphics offScreenGC
zoomBox azoomBox
java.awt.Label red_l
java.awt.Label green_l
java.awt.Label blue_l
java.awt.Panel colorBox
int frames
int fps
long startTime
int start
long wdTimer
int scale
colorTrack myTrack
outWindow outWin
meanWindow myMean
rawWindow myRaw
channelWindow myChannels
setWindow mySW
camSettings myCamSettings
java.awt.Frame channel_f
serialComm mySerial
Constructor Detail |
---|
CameraImage(int x, int y, java.lang.String commPort)
Method Detail |
---|
public void hideSW()
public void showSW()
public void hideTrack()
public void showTrack()
public void hideMean()
public void showMean()
public void processEvent(java.awt.AWTEvent e)
processEvent
in class java.awt.Component
public int sw()
public int trackColor(int mode)
public void setCamera()
public void splitChannels()
public int getMean(int mode)
public void flushBuf()
public boolean idle()
public void writeText(java.lang.String str)
public boolean sendCommand(java.lang.String command)
public int dumpFrame()
public void update(java.awt.Graphics g)
update
in class java.awt.Canvas
public void paint(java.awt.Graphics g)
paint
in class java.awt.Canvas
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |