All Packages  Class Hierarchy  This Package  Previous  Next  Index

Class nstat.patch.Window

java.lang.Object
   |
   +----sep.operator.SepLinearOperator
           |
           +----nstat.patch.Window

public class Window
extends SepLinearOperator
Window implements the Truncation/Zero-Padding operator on Rsf's.
The sense of the operator is:
forward = truncation
adjoint = zero padding

Needs a common interface with other Window operations:
Window utility (iterator, dim reduction, midpoint and width).
out-of-core Rsf.

See Also:
WindowFactory, WindowTest, Patcher

Variable Index

 o anchor
 o dim
 o wallSpace
 o windSpace
 o windTent

Constructor Index

 o Window(RsfSpace, RsfSpace, int[], boolean)
You probably never want to invoke this, since the windSpace and the anchorPoint have to be in agreement.
 o Window(Space, Space, int[], boolean)
casts to constructor for RsfSpaces
 o Window(Window)
copy constructor

Method Index

 o copy()
 o equals(Object)
Compares two Objects for equality.
 o getAnchor()
 o setAnchor(int[])
Warning! anchorPoint changes modify the range ( isFwd) Truncation or domain (!isFwd) Zero-Padding
 o toString()
Returns a string representation of the object.

Variables

 o anchor
 protected int anchor[]
 o dim
 protected int dim
 o wallSpace
 protected RsfSpace wallSpace
 o windSpace
 protected RsfSpace windSpace
 o windTent
 protected Rsf windTent

Constructors

 o Window
 public Window(RsfSpace wallSpace,
               RsfSpace windSpace,
               int anchorPoint[],
               boolean isFwd)
You probably never want to invoke this, since the windSpace and the anchorPoint have to be in agreement. If they are not then the anchor succeeds. Use WindowFactory or WindowEnumeration instead.
Window of length 1 work but not thoroughly tested. Careful: a 3-D Rsf with only 1 sample in one axis is different from a 2-D Rsf.

Parameters:
wallSpace - the superspace which is (much) larger than the window
windSpace - the window space (subset of wallSpace).
anchorPoint - the lowest-index vertex of window on the data wall (e.g. the lower-left corner in Cartesian 2D coordinates)
isFwd - true is for a truncation operator
false is for a zero-padding operator
 o Window
 public Window(Space wallSpace,
               Space windSpace,
               int anchorPoint[],
               boolean isFwd)
casts to constructor for RsfSpaces

 o Window
 protected Window(Window src)
copy constructor

Methods

 o getAnchor
 public int[] getAnchor()
Returns:
a copy of this window's anchor
 o setAnchor
 public void setAnchor(int anchorPoint[])
Warning! anchorPoint changes modify the range ( isFwd) Truncation or domain (!isFwd) Zero-Padding

 o equals
 public boolean equals(Object obj2)
Compares two Objects for equality.

Overrides:
equals in class Object
 o toString
 public String toString()
Returns a string representation of the object.

Overrides:
toString in class Object
 o copy
 public JamObject copy()
Overrides:
copy in class SepLinearOperator

All Packages  Class Hierarchy  This Package  Previous  Next  Index