SubArray
SubArray( useGUI );
boolean useGUI True to launch the SubArray window; false to run without using a windowed interface.
javax.swing.JFrame (useGUI=true) or SubArray Object (useGUI=false)

METHOD DESCRIPTION
void setSubImageWidth( int width ) Pixel width of sub-area.
void setSubImageHeight( int height ) Pixel height of sub-area.
void setSubImageCenterRow( int row ) Center row pixel of sub-area on image.
void setSubImageCenterCol( int col ) Center column pixel of sub-area on image.
void setSubImageRowOffset( int offset ) Offset in row direction, in pixels, from left edge of the image.
void setSubImageColOffset( int offset ) Offset in column direction, in pixels, from bottom edge of the image.
void setBiasWidth( int bias ) Width, in pixels, of bias region.
void setBiasPosition( int position ) Offset, in pixels, of the image width plus the bias offset.
void setBiasOffset( int offset ) Offset, in pixels, of the bias region from the right edge of the image.

Allows sub-array parameters to be set on the controller. Can be run with or without a graphical user interface.

To run with a graphical user interface:
	SubArray( true ).run();

	or

	s = SubArray( true );
	s.run();

To run without a user interface:
	s = SubArray( false );
	s.setSubImageWidth( width );
	s.setSubImageHeight( height );
	s.setSubImageCenterRow( row );
	s.setSubImageCenterCol( col );
	s.setSubImageRowOffset( offset );
	s.setSubImageColOffset( offset );
	s.setBiasWidth( bias );
	s.setBiasPosition( position );
	s.setBiasOffset( offset );