本文整理了Java中org.javaopencvbook.GUI.setupImage()
方法的一些代码示例,展示了GUI.setupImage()
的具体用法。这些代码示例主要来源于Github
/Stackoverflow
/Maven
等平台,是从一些精选项目中提取出来的代码,具有较强的参考意义,能在一定程度帮忙到你。GUI.setupImage()
方法的具体详情如下:
包路径:org.javaopencvbook.GUI
类名称:GUI
方法名:setupImage
暂无
代码示例来源:origin: JavaOpenCVBook/code
private JFrame createJFrame(String windowName) {
JFrame frame = new JFrame(windowName);
frame.setLayout(new GridBagLayout());
setupImage(frame);
frame.setDefaultCloseOperation(WindowConstants.EXIT_ON_CLOSE);
return frame;
}
代码示例来源:origin: JavaOpenCVBook/code
private JFrame createJFrame(String windowName) {
JFrame frame = new JFrame(windowName);
frame.setLayout(new GridBagLayout());
setupImage(frame);
frame.setDefaultCloseOperation(WindowConstants.EXIT_ON_CLOSE);
return frame;
}
代码示例来源:origin: JavaOpenCVBook/code
private JFrame createJFrame(String windowName) {
JFrame frame = new JFrame(windowName);
frame.setLayout(new GridBagLayout());
setupImage(frame);
frame.setDefaultCloseOperation(WindowConstants.EXIT_ON_CLOSE);
return frame;
}
代码示例来源:origin: JavaOpenCVBook/code
private JFrame createJFrame(String windowName) {
JFrame frame = new JFrame(windowName);
frame.setLayout(new BoxLayout(frame.getContentPane(), BoxLayout.PAGE_AXIS));
setupButton(frame);
setupImage(frame);
frame.setDefaultCloseOperation(WindowConstants.EXIT_ON_CLOSE);
return frame;
}
代码示例来源:origin: JavaOpenCVBook/code
private JFrame createJFrame(String windowName) {
JFrame frame = new JFrame(windowName);
frame.setLayout(new GridBagLayout());
setupTypeRadio(frame);
setupImage(frame);
frame.setDefaultCloseOperation(WindowConstants.EXIT_ON_CLOSE);
return frame;
}
代码示例来源:origin: JavaOpenCVBook/code
private JFrame createJFrame(String windowName) {
JFrame frame = new JFrame(windowName);
frame.setLayout(new BoxLayout(frame.getContentPane(), BoxLayout.PAGE_AXIS));
setupSlider(frame);
setupImage(frame);
setupButton(frame);
frame.setDefaultCloseOperation(WindowConstants.EXIT_ON_CLOSE);
return frame;
}
代码示例来源:origin: JavaOpenCVBook/code
private JFrame createJFrame(String windowName) {
JFrame frame = new JFrame(windowName);
frame.setLayout(new BoxLayout(frame.getContentPane(), BoxLayout.PAGE_AXIS));
setupSlider(frame);
setupRadio(frame);
setupImage(frame);
frame.setDefaultCloseOperation(WindowConstants.EXIT_ON_CLOSE);
return frame;
}
代码示例来源:origin: JavaOpenCVBook/code
private JFrame createJFrame(String windowName) {
JFrame frame = new JFrame(windowName);
frame.setLayout(new GridBagLayout());
setupFilterRadio(frame);
setupButtons(frame);
setupImage(frame);
frame.setDefaultCloseOperation(WindowConstants.EXIT_ON_CLOSE);
return frame;
}
代码示例来源:origin: JavaOpenCVBook/code
private JFrame createJFrame(String windowName) {
JFrame frame = new JFrame(windowName);
frame.setLayout(new GridBagLayout());
setupOperationRadioButtons(frame);
setupSizeSlider(frame);
setupShapeRadioButtons(frame);
setupImage(frame);
frame.setDefaultCloseOperation(WindowConstants.EXIT_ON_CLOSE);
return frame;
}
代码示例来源:origin: JavaOpenCVBook/code
private JFrame createJFrame(String windowName) {
JFrame frame = new JFrame(windowName);
frame.setLayout(new GridBagLayout());
setupFillRadio(frame);
setupShapeRadio(frame);
setupLowerSlider(frame);
setupUpperSlider(frame);
setupResetButton(frame);
setupImage(frame);
frame.setDefaultCloseOperation(WindowConstants.EXIT_ON_CLOSE);
return frame;
}
代码示例来源:origin: JavaOpenCVBook/code
private JFrame createJFrame(String windowName) {
JFrame frame = new JFrame(windowName);
frame.setLayout(new GridBagLayout());
setupTypeRadio(frame);
setupThresholdSlider(frame);
setupMaxSlider(frame);
setupBlockSlider(frame);
setupCSlider(frame);
setupImage(frame);
enableDisableSliders();
frame.setDefaultCloseOperation(WindowConstants.EXIT_ON_CLOSE);
return frame;
}
代码示例来源:origin: JavaOpenCVBook/code
private JFrame createJFrame(String windowName) {
JFrame frame = new JFrame(windowName);
frame.setLayout(new GridBagLayout());
setupColorRadio(frame);
setupMaskRadio(frame);
setupRangeRadio(frame);
setupConnectivityRadio(frame);
setupLowerSlider(frame);
setupUpperSlider(frame);
setupResetButton(frame);
setupImage(frame);
frame.setDefaultCloseOperation(WindowConstants.EXIT_ON_CLOSE);
return frame;
}
代码示例来源:origin: JavaOpenCVBook/code
private JFrame createJFrame(String windowName) {
JFrame frame = new JFrame(windowName);
frame.setLayout(new GridBagLayout());
setupTypeRadio(frame);
setupApertureSlider(frame);
setupXOrderSlider(frame);
setupYOrderSlider(frame);
setupLowThresholdSlider(frame);
setupHighThresholdSlider(frame);
setupImage(frame);
enableDisableSliders();
frame.setDefaultCloseOperation(WindowConstants.EXIT_ON_CLOSE);
return frame;
}
代码示例来源:origin: JavaOpenCVBook/code
private JFrame createJFrame(String windowName) {
JFrame frame = new JFrame(windowName);
frame.setLayout(new GridBagLayout());
setupColorRadio(frame);
setupMaskRadio(frame);
setupRangeRadio(frame);
setupConnectivityRadio(frame);
setupLowerSlider(frame);
setupUpperSlider(frame);
setupResetButton(frame);
setupImage(frame);
frame.setDefaultCloseOperation(WindowConstants.EXIT_ON_CLOSE);
return frame;
}
代码示例来源:origin: JavaOpenCVBook/code
private JFrame createJFrame(String windowName) {
JFrame frame = new JFrame(windowName);
frame.setLayout(new GridBagLayout());
setupTypeRadio(frame);
setupApertureSlider(frame);
setupXOrderSlider(frame);
setupYOrderSlider(frame);
setupLowThresholdSlider(frame);
setupHighThresholdSlider(frame);
setupImage(frame);
enableDisableSliders();
frame.setDefaultCloseOperation(WindowConstants.EXIT_ON_CLOSE);
return frame;
}
内容来源于网络,如有侵权,请联系作者删除!