Java源码示例:boofcv.gui.image.ShowImages
示例1
public WebcamSource(long pollIntervalMillis) {
this.pollIntervalMillis = pollIntervalMillis;
webcam = UtilWebcamCapture.openDefault(640, 480);
gui = new ImagePanel();
gui.setPreferredSize(webcam.getViewSize());
ShowImages.showWindow(gui, "Webcam Input", true);
}
示例2
/**
* Creates and returns image result GUI panel
*/
private static ImageClassificationPanel createPanel() {
ImageClassificationPanel panel = new ImageClassificationPanel();
ShowImages.showWindow(panel, "Results", true);
return panel;
}
示例3
public static void showBineryImage(GrayU8 image){
PixelMath.multiply(image,255,image);
BufferedImage out = ConvertBufferedImage.convertTo(image,null);
ShowImages.showWindow(out,"Output");
}
示例4
public static void showBineryImage(GrayU8 image) {
PixelMath.multiply(image, 255, image);
BufferedImage out = ConvertBufferedImage.convertTo(image, null);
ShowImages.showWindow(out, "Output");
}