Package boofcv.gui.image
Class ShowImages
- java.lang.Object
-
- boofcv.gui.image.ShowImages
-
public class ShowImages extends java.lang.ObjectDisplays images in a new window.
-
-
Nested Class Summary
Nested Classes Modifier and Type Class Description static classShowImages.Colorization
-
Constructor Summary
Constructors Constructor Description ShowImages()
-
Method Summary
All Methods Static Methods Concrete Methods Modifier and Type Method Description static javax.swing.JFramesetupWindow(javax.swing.JComponent component, java.lang.String title, boolean closeOnExit)Sets up the window but doesn't show it.static voidshowBlocking(boofcv.struct.image.ImageBase<?> img, java.lang.String title, long milliseconds)Show a window for a set amount of time.static voidshowDialog(java.awt.image.BufferedImage img)Creates a dialog window showing the specified image.static ImageGridPanelshowGrid(int numColumns, java.lang.String title, java.awt.image.BufferedImage... images)Shows a set of images in a grid pattern.static ImagePanelshowWindow(boofcv.struct.image.ImageBase<?> img, java.lang.String title)static ImagePanelshowWindow(boofcv.struct.image.ImageGray<?> img, ShowImages.Colorization type, java.lang.String title, boolean closeOnExit)static ImagePanelshowWindow(java.awt.image.BufferedImage img, java.lang.String title)Creates a window showing the specified image.static ImagePanelshowWindow(java.awt.image.BufferedImage img, java.lang.String title, boolean closeOnExit)Creates a window showing the specified image.static javax.swing.JFrameshowWindow(javax.swing.JComponent component, java.lang.String title)static javax.swing.JFrameshowWindow(javax.swing.JComponent component, java.lang.String title, boolean closeOnExit)
-
-
-
Method Detail
-
showDialog
public static void showDialog(java.awt.image.BufferedImage img)
Creates a dialog window showing the specified image. The function will not exit until the user clicks ok
-
showGrid
public static ImageGridPanel showGrid(int numColumns, java.lang.String title, java.awt.image.BufferedImage... images)
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
public static ImagePanel showWindow(java.awt.image.BufferedImage img, java.lang.String title)
Creates a window showing the specified image.
-
showWindow
public static ImagePanel showWindow(java.awt.image.BufferedImage img, java.lang.String title, boolean closeOnExit)
Creates a window showing the specified image.
-
showWindow
public static ImagePanel showWindow(boofcv.struct.image.ImageBase<?> img, java.lang.String title)
-
showBlocking
public static void showBlocking(boofcv.struct.image.ImageBase<?> img, java.lang.String title, long milliseconds)Show a window for a set amount of time. Blocks until that time has elapsed
-
showWindow
public static javax.swing.JFrame showWindow(javax.swing.JComponent component, java.lang.String title)
-
showWindow
public static javax.swing.JFrame showWindow(javax.swing.JComponent component, java.lang.String title, boolean closeOnExit)
-
setupWindow
public static javax.swing.JFrame setupWindow(javax.swing.JComponent component, java.lang.String title, boolean closeOnExit)Sets up the window but doesn't show it. Must be called in a GUI thread
-
showWindow
public static ImagePanel showWindow(boofcv.struct.image.ImageGray<?> img, ShowImages.Colorization type, java.lang.String title, boolean closeOnExit)
-
-