Package org.opencv.highgui
Class ImageWindow
java.lang.Object
org.opencv.highgui.ImageWindow
This class was designed to create and manipulate
the Windows to be used by the HighGui class.
-
Field Summary
FieldsModifier and TypeFieldDescriptionint
int
int
static final int
static final int
int
int
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionstatic Size
keepAspectRatioSize
(int original_width, int original_height, int bound_width, int bound_height) void
setFrameLabelVisible
(JFrame frame, JLabel lbl) void
void
setNewDimension
(int width, int height) void
setNewPosition
(int x, int y)
-
Field Details
-
WINDOW_NORMAL
public static final int WINDOW_NORMAL- See Also:
-
WINDOW_AUTOSIZE
public static final int WINDOW_AUTOSIZE- See Also:
-
name
-
img
-
alreadyUsed
-
imgToBeResized
-
windowToBeResized
-
positionToBeChanged
-
frame
-
lbl
-
flag
public int flag -
x
public int x -
y
public int y -
width
public int width -
height
public int height
-
-
Constructor Details
-
ImageWindow
-
ImageWindow
-
-
Method Details
-
keepAspectRatioSize
public static Size keepAspectRatioSize(int original_width, int original_height, int bound_width, int bound_height) -
setMat
-
setFrameLabelVisible
-
setNewDimension
public void setNewDimension(int width, int height) -
setNewPosition
public void setNewPosition(int x, int y)
-