public final class ImageWindow
extends java.lang.Object
Modifier and Type | Field and Description |
---|---|
java.lang.Boolean |
alreadyUsed |
int |
flag |
javax.swing.JFrame |
frame |
int |
height |
Mat |
img |
java.lang.Boolean |
imgToBeResized |
javax.swing.JLabel |
lbl |
java.lang.String |
name |
java.lang.Boolean |
positionToBeChanged |
int |
width |
static int |
WINDOW_AUTOSIZE |
static int |
WINDOW_NORMAL |
java.lang.Boolean |
windowToBeResized |
int |
x |
int |
y |
Constructor and Description |
---|
ImageWindow(java.lang.String name,
int flag) |
ImageWindow(java.lang.String name,
Mat img) |
Modifier and Type | Method and Description |
---|---|
static Size |
keepAspectRatioSize(int original_width,
int original_height,
int bound_width,
int bound_height) |
void |
setFrameLabelVisible(javax.swing.JFrame frame,
javax.swing.JLabel lbl) |
void |
setMat(Mat img) |
void |
setNewDimension(int width,
int height) |
void |
setNewPosition(int x,
int y) |
public static final int WINDOW_NORMAL
public static final int WINDOW_AUTOSIZE
public java.lang.String name
public Mat img
public java.lang.Boolean alreadyUsed
public java.lang.Boolean imgToBeResized
public java.lang.Boolean windowToBeResized
public java.lang.Boolean positionToBeChanged
public javax.swing.JFrame frame
public javax.swing.JLabel lbl
public int flag
public int x
public int y
public int width
public int height
public ImageWindow(java.lang.String name, Mat img)
public ImageWindow(java.lang.String name, int flag)
public static Size keepAspectRatioSize(int original_width, int original_height, int bound_width, int bound_height)
public void setMat(Mat img)
public void setFrameLabelVisible(javax.swing.JFrame frame, javax.swing.JLabel lbl)
public void setNewDimension(int width, int height)
public void setNewPosition(int x, int y)
Generated on Wed Jul 4 2018 14:01:58 UTC / OpenCV 3.4.2