org.javaopencvbook.GUI.setupImage()方法的使用及代码示例

x33g5p2x  于2022-01-20 转载在 其他  
字(5.2k)|赞(0)|评价(0)|浏览(221)

本文整理了Java中org.javaopencvbook.GUI.setupImage()方法的一些代码示例,展示了GUI.setupImage()的具体用法。这些代码示例主要来源于Github/Stackoverflow/Maven等平台,是从一些精选项目中提取出来的代码,具有较强的参考意义,能在一定程度帮忙到你。GUI.setupImage()方法的具体详情如下:
包路径:org.javaopencvbook.GUI
类名称:GUI
方法名:setupImage

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;
}

相关文章