HighGui 类


  • public final class HighGui
    extends java.lang.Object
    此类旨在用于Java应用程序中,以重现OpenCV HighGui的功能。
    • 构造函数摘要

      构造函数 
      构造函数 描述
      HighGui()  
    • 方法摘要

      所有方法 静态方法 具体方法 
      修饰符和类型 方法 描述
      static javax.swing.JFrame createJFrame​(java.lang.String title, int flag)  
      static void destroyAllWindows()  
      static void destroyWindow​(java.lang.String winname)  
      static void imshow​(java.lang.String winname, Mat img)  
      static void moveWindow​(java.lang.String winname, int x, int y)  
      static void namedWindow​(java.lang.String winname)  
      static void namedWindow​(java.lang.String winname, int flag)  
      static void resizeWindow​(java.lang.String winname, int width, int height)  
      static java.awt.Image toBufferedImage​(Mat m)  
      static void waitKey()  
      static int waitKey​(int delay)  
      • 继承自类 java.lang.Object的方法

        clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
    • 字段详情

      • WINDOW_NORMAL

        public static final int WINDOW_NORMAL
        另请参见
        常量字段值
      • WINDOW_AUTOSIZE

        public static final int WINDOW_AUTOSIZE
        另请参见
        常量字段值
      • n_closed_windows

        public static int n_closed_windows
      • pressedKey

        public static int pressedKey
      • latch

        public static java.util.concurrent.CountDownLatch latch
      • windows

        public static java.util.Map<java.lang.String,​ImageWindow> windows
    • 构造函数详情

      • HighGui

        public HighGui()
    • 方法详情

      • namedWindow

        public static void namedWindow​(java.lang.String winname)
      • namedWindow

        public static void namedWindow​(java.lang.String winname,
                                       int flag)
      • imshow

        public static void imshow​(java.lang.String winname,
                                  Mat img)
      • toBufferedImage

        public static java.awt.Image toBufferedImage​(Mat m)
      • createJFrame

        public static javax.swing.JFrame createJFrame​(java.lang.String title,
                                                      int flag)
      • waitKey

        public static void waitKey()
      • waitKey

        public static int waitKey​(int delay)
      • destroyWindow

        public static void destroyWindow​(java.lang.String winname)
      • destroyAllWindows

        public static void destroyAllWindows()
      • resizeWindow

        public static void resizeWindow​(java.lang.String winname,
                                        int width,
                                        int height)
      • moveWindow

        public static void moveWindow​(java.lang.String winname,
                                      int x,
                                      int y)