Class ImageResizer

java.lang.Object
  extended by ImageResizer

public class ImageResizer
extends java.lang.Object

Class that resizes the images to be shown in the video shot window after segmentation

Version:
1.0 01.06.06
Author:
Vegard Kosmo

Constructor Summary
ImageResizer()
          Standard constructor
 
Method Summary
 java.awt.image.BufferedImage resizeImage(java.awt.Image largeImage, int imageWidth, int imageHeight)
          Method that resizes a planar image
 
Methods inherited from class java.lang.Object
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

ImageResizer

public ImageResizer()
Standard constructor

Method Detail

resizeImage

public java.awt.image.BufferedImage resizeImage(java.awt.Image largeImage,
                                                int imageWidth,
                                                int imageHeight)
Method that resizes a planar image

Parameters:
largeImage - The input image to be resized
imageWidth - The width of the image
imageHeight - The height of the image
Returns:
smallImage Returns the resized image