Package boofcv.gui.image
Class ShowImages
java.lang.Object
boofcv.gui.image.ShowImages
Displays images in a new window.
-
Nested Class Summary
-
Constructor Summary
-
Method Summary
Modifier and TypeMethodDescriptionstatic JFrame
setupWindow
(JComponent component, String title, boolean closeOnExit) Sets up the window but doesn't show it.static void
showBlocking
(ImageBase<?> img, String title, long milliseconds) Show a window for a set amount of time.static void
showBlocking
(ImageBase<?> img, String title, long milliseconds, boolean closeOnExit) static void
showBlocking
(JComponent component, String title, long milliseconds) static void
showDialog
(BufferedImage img) Creates a dialog window showing the specified image.static ImageGridPanel
showGrid
(int numColumns, String title, BufferedImage... images) Shows a set of images in a grid pattern.static ImagePanel
showWindow
(ImageBase<?> img, String title) static ImagePanel
showWindow
(ImageGray<?> img, ShowImages.Colorization type, String title, boolean closeOnExit) static ImagePanel
showWindow
(BufferedImage img, String title) Creates a window showing the specified image.static ImagePanel
showWindow
(BufferedImage img, String title, boolean closeOnExit) Creates a window showing the specified image.static JFrame
showWindow
(JComponent component, String title) static JFrame
showWindow
(JComponent component, String title, boolean closeOnExit)
-
Constructor Details
-
ShowImages
public ShowImages()
-
-
Method Details
-
showDialog
Creates a dialog window showing the specified image. The function will not exit until the user clicks ok -
showGrid
Shows a set of images in a grid pattern.- Parameters:
numColumns
- How many columns are in the gridtitle
- Number of the windowimages
- List of images to show- Returns:
- Display panel
-
showWindow
Creates a window showing the specified image. -
showWindow
Creates a window showing the specified image. -
showWindow
-
showBlocking
Show a window for a set amount of time. Blocks until that time has elapsed -
showBlocking
-
showBlocking
-
showWindow
-
showWindow
-
setupWindow
Sets up the window but doesn't show it. Must be called in a GUI thread -
showWindow
public static ImagePanel showWindow(ImageGray<?> img, ShowImages.Colorization type, String title, boolean closeOnExit)
-