public void process( BufferedImage image ) {
		T input = ConvertBufferedImage.convertFromSingle(image, null, imageType);
		pyramid.process(input);

		DiscretePyramidPanel gui = new DiscretePyramidPanel();
		gui.setPyramid(pyramid);
		gui.render();

		ShowImages.showWindow(gui,"Image Pyramid");

		// To get an image at any of the scales simply call this get function
		T imageAtScale = pyramid.getLayer(1);

		ShowImages.showWindow(ConvertBufferedImage.convertTo(imageAtScale,null,true),"Image at layer 1");
	}
public void process ( BufferedImage image ) { T input = ConvertBufferedImage . convertFromSingle ( image , null , imageType ) ; pyramid . process ( input ) ; DiscretePyramidPanel gui = new DiscretePyramidPanel ( ) ; gui . setPyramid ( pyramid ) ; gui . render ( ) ; ShowImages . showWindow ( gui , "Image Pyramid" ) ; T imageAtScale = pyramid . getLayer ( 1 ) ; ShowImages . showWindow ( ConvertBufferedImage . convertTo ( imageAtScale , null , true ) , "Image at layer 1" ) ; }
Updates and displays the pyramid.