edu.jhmi.rad.medic.utilities
Class CropParameters

java.lang.Object
  extended by edu.jhmi.rad.medic.utilities.CropParameters

public class CropParameters
extends java.lang.Object

The Class CropParameters.


Field Summary
 double background
          The background.
 int cols
          The cols.
 int components
          The components.
 int rows
          The rows.
 int slices
          The slices.
 int xmax
          The xmax.
 int xmin
          The xmin.
 int ymax
          The ymax.
 int ymin
          The ymin.
 int zmax
          The zmax.
 int zmin
          The zmin.
 
Constructor Summary
CropParameters(int rows, int cols, int slices, int components, int xmin, int xmax, int ymin, int ymax, int zmin, int zmax, double background)
          Instantiates a new crop parameters.
 
Method Summary
 int getCroppedCols()
          Gets the cropped cols.
 int getCroppedRows()
          Gets the cropped rows.
 int getCroppedSlices()
          Gets the cropped slices.
 java.lang.String toString()
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
 

Field Detail

xmin

public int xmin
The xmin.


xmax

public int xmax
The xmax.


ymin

public int ymin
The ymin.


ymax

public int ymax
The ymax.


zmin

public int zmin
The zmin.


zmax

public int zmax
The zmax.


rows

public int rows
The rows.


cols

public int cols
The cols.


slices

public int slices
The slices.


components

public int components
The components.


background

public double background
The background.

Constructor Detail

CropParameters

public CropParameters(int rows,
                      int cols,
                      int slices,
                      int components,
                      int xmin,
                      int xmax,
                      int ymin,
                      int ymax,
                      int zmin,
                      int zmax,
                      double background)
Instantiates a new crop parameters.

Parameters:
rows - the rows
cols - the cols
slices - the slices
components - the components
xmin - the xmin
xmax - the xmax
ymin - the ymin
ymax - the ymax
zmin - the zmin
zmax - the zmax
background - the background
Method Detail

toString

public java.lang.String toString()
Overrides:
toString in class java.lang.Object

getCroppedRows

public int getCroppedRows()
Gets the cropped rows.

Returns:
the cropped rows

getCroppedCols

public int getCroppedCols()
Gets the cropped cols.

Returns:
the cropped cols

getCroppedSlices

public int getCroppedSlices()
Gets the cropped slices.

Returns:
the cropped slices