Class ResizedImageObject

java.lang.Object
  extended by ResizedImageObject

public class ResizedImageObject
extends java.lang.Object

Class that creates an object consisting of an image, an id and a frame number

Version:
1.0 01.06.06
Author:
Vegard Kosmo

Constructor Summary
ResizedImageObject(java.awt.image.BufferedImage bufferedImage, int id, int frameNumber)
          Standard constructor
 
Method Summary
 java.awt.image.BufferedImage getBufferedImage()
          Method that returns the image from the ResizedImageObject
 int getFrameNumber()
          Method that returns the frame number from the ResizedImageObject
 int getId()
          Method that returns the id from the ResizedImageObject
 
Methods inherited from class java.lang.Object
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

ResizedImageObject

public ResizedImageObject(java.awt.image.BufferedImage bufferedImage,
                          int id,
                          int frameNumber)
Standard constructor

Parameters:
bufferedImage - The input image
id - The id of the object
frameNumber - The frame number in the given video file
Method Detail

getBufferedImage

public java.awt.image.BufferedImage getBufferedImage()
Method that returns the image from the ResizedImageObject

Returns:
bufferedImage Returns the image of the object

getId

public int getId()
Method that returns the id from the ResizedImageObject

Returns:
id Returns the id of the obect

getFrameNumber

public int getFrameNumber()
Method that returns the frame number from the ResizedImageObject

Returns:
frameNumber Returns the frame number of the object