net.sourceforge.openstego.util.dwt
Class Image

java.lang.Object
  extended by net.sourceforge.openstego.util.dwt.Image

public class Image
extends java.lang.Object

Object to store Image data


Constructor Summary
Image(int width, int height)
          Default constructor
 
Method Summary
 double[] getData()
          Get method for data
 int getHeight()
          Get method for height
 int getWidth()
          Get method for width
 void setData(double[] data)
          Set method for data
 void setHeight(int height)
          Set method for height
 void setWidth(int width)
          Set method for width
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

Image

public Image(int width,
             int height)
Default constructor

Parameters:
width - Width of the image
height - Height of the image
Method Detail

getData

public double[] getData()
Get method for data

Returns:
data

setData

public void setData(double[] data)
Set method for data

Parameters:
data -

getWidth

public int getWidth()
Get method for width

Returns:
width

setWidth

public void setWidth(int width)
Set method for width

Parameters:
width -

getHeight

public int getHeight()
Get method for height

Returns:
height

setHeight

public void setHeight(int height)
Set method for height

Parameters:
height -


Copyright © 2007-2009 Samir Vaidya. All Rights Reserved.