public class Frames extends Canvas
Canvas.AccessibleAWTCanvasComponent.AccessibleAWTComponent, Component.BaselineResizeBehavior, Component.BltBufferStrategy, Component.FlipBufferStrategy| Modifier and Type | Field and Description |
|---|---|
protected boolean |
aspect_ratio |
protected int |
color_idx |
protected int |
curr_grab_frame |
protected String |
error |
protected int[] |
frames_pixel_array |
protected Rectangle |
frames_pixel_roi |
protected float[] |
frames_value_array |
protected float[] |
ft |
protected boolean |
horizontal_flip |
protected int |
img_height |
protected int |
img_width |
protected int[] |
pixel_array |
protected Point |
sel_point |
protected float[] |
values_array |
protected boolean |
vertical_flip |
protected int |
x_measure_pixel |
protected int |
y_measure_pixel |
accessibleContext, BOTTOM_ALIGNMENT, CENTER_ALIGNMENT, LEFT_ALIGNMENT, RIGHT_ALIGNMENT, TOP_ALIGNMENTABORT, ALLBITS, ERROR, FRAMEBITS, HEIGHT, PROPERTIES, SOMEBITS, WIDTH| Constructor and Description |
|---|
Frames() |
| Modifier and Type | Method and Description |
|---|---|
void |
applyColorModel(ColorMap colorMap) |
boolean |
contain(Point p,
Dimension d) |
static int |
DecodeImageType(byte[] buf) |
void |
FlipFrame(byte[] buf,
Dimension d,
int num_byte_pixel) |
void |
flipFrames(byte[] buf) |
boolean |
getAspectRatio() |
int |
GetColorIdx() |
ColorMap |
getColorMap() |
Image |
GetFrame(int idx) |
Image |
GetFrame(int idx,
Dimension d) |
protected Dimension |
GetFrameDim(int idx) |
int |
GetFrameIdx() |
int |
GetFrameIdxAtTime(float t) |
Point |
getFramePoint(Dimension d) |
Point |
getFramePoint(Point p,
Dimension d) |
Dimension |
getFrameSize(int idx,
Dimension d) |
float[] |
getFramesTime() |
float |
GetFrameTime() |
int |
getFrameType() |
boolean |
getHorizontalFlip() |
Point |
getImagePoint(Point p,
Dimension d) |
int |
getLastFrameIdx() |
Point |
getMeasurePoint(Dimension d) |
int |
getNextFrameIdx() |
int |
getNumFrame() |
int |
getPixel(int idx,
int x,
int y) |
protected int[] |
getPixelArray(int idx,
int x,
int y,
int img_w,
int img_h) |
int[] |
getPixelsLine(int st_x,
int st_y,
int end_x,
int end_y) |
int[] |
getPixelsSignal(int x,
int y) |
int[] |
getPixelsX(int y) |
int[] |
getPixelsY(int x) |
float |
getPointValue(int idx,
int x,
int y) |
int |
getStartPixelX() |
int |
getStartPixelY() |
float |
GetTime(int frame_idx) |
protected float[] |
getValueArray(int idx,
int x,
int y,
int img_w,
int img_h) |
float[] |
getValuesLine(int st_x,
int st_y,
int end_x,
int end_y) |
float[] |
getValuesSignal(int x,
int y) |
float[] |
getValuesX(int y) |
float[] |
getValuesY(int x) |
boolean |
getVerticalFlip() |
Rectangle |
GetZoomRect() |
protected void |
grabFrame() |
boolean |
isInImage(int idx,
int x,
int y) |
void |
Resize() |
void |
setAspectRatio(boolean aspect_ratio) |
void |
SetColorIdx(int color_idx) |
void |
setColorMap(ColorMap colorMap) |
void |
SetFrameData(FrameData fd) |
void |
setFramePoint(Point sel_point,
Dimension d) |
void |
setHorizontalFlip(boolean horizontal_flip) |
void |
setMeasurePoint(int x_pixel,
int y_pixel,
Dimension d) |
void |
setMinMax(float min,
float max) |
void |
setVerticalFlip(boolean vertical_flip) |
void |
SetViewRect(int start_x,
int start_y,
int end_x,
int end_y) |
void |
SetZoomRegion(int idx,
Dimension d,
Rectangle r) |
void |
shiftImagePixel(int bitShift,
boolean bitClip) |
addNotify, createBufferStrategy, createBufferStrategy, getAccessibleContext, getBufferStrategy, paint, updateaction, 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, getBaseline, getBaselineResizeBehavior, 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, processEvent, 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, revalidate, 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, validateprotected boolean aspect_ratio
protected int curr_grab_frame
protected int[] pixel_array
protected float[] values_array
protected int img_width
protected int img_height
protected int[] frames_pixel_array
protected float[] frames_value_array
protected Rectangle frames_pixel_roi
protected int x_measure_pixel
protected int y_measure_pixel
protected float[] ft
protected Point sel_point
protected boolean horizontal_flip
protected boolean vertical_flip
protected int color_idx
protected String error
public static int DecodeImageType(byte[] buf)
public void applyColorModel(ColorMap colorMap)
public void FlipFrame(byte[] buf,
Dimension d,
int num_byte_pixel)
public void flipFrames(byte[] buf)
public boolean getAspectRatio()
public int GetColorIdx()
public ColorMap getColorMap()
public Image GetFrame(int idx)
protected Dimension GetFrameDim(int idx)
public int GetFrameIdx()
public int GetFrameIdxAtTime(float t)
public float[] getFramesTime()
public float GetFrameTime()
public int getFrameType()
public boolean getHorizontalFlip()
public int getLastFrameIdx()
public int getNextFrameIdx()
public int getNumFrame()
public int getPixel(int idx,
int x,
int y)
protected int[] getPixelArray(int idx,
int x,
int y,
int img_w,
int img_h)
public int[] getPixelsLine(int st_x,
int st_y,
int end_x,
int end_y)
public int[] getPixelsSignal(int x,
int y)
public int[] getPixelsX(int y)
public int[] getPixelsY(int x)
public float getPointValue(int idx,
int x,
int y)
public int getStartPixelX()
public int getStartPixelY()
public float GetTime(int frame_idx)
protected float[] getValueArray(int idx,
int x,
int y,
int img_w,
int img_h)
public float[] getValuesLine(int st_x,
int st_y,
int end_x,
int end_y)
public float[] getValuesSignal(int x,
int y)
public float[] getValuesX(int y)
public float[] getValuesY(int x)
public boolean getVerticalFlip()
public Rectangle GetZoomRect()
protected void grabFrame()
public boolean isInImage(int idx,
int x,
int y)
public void Resize()
public void setAspectRatio(boolean aspect_ratio)
public void SetColorIdx(int color_idx)
public void setColorMap(ColorMap colorMap)
public void setHorizontalFlip(boolean horizontal_flip)
public void setMeasurePoint(int x_pixel,
int y_pixel,
Dimension d)
public void setMinMax(float min,
float max)
public void setVerticalFlip(boolean vertical_flip)
public void SetViewRect(int start_x,
int start_y,
int end_x,
int end_y)
public void shiftImagePixel(int bitShift,
boolean bitClip)
Copyright © 2020. All rights reserved.