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
-
anchor
-
-
dim
-
-
wallSpace
-
-
windSpace
-
-
windTent
-
-
Window(RsfSpace, RsfSpace, int[], boolean)
- You probably never want to invoke this, since the windSpace and the
anchorPoint have to be in agreement.
-
Window(Space, Space, int[], boolean)
- casts to constructor for RsfSpaces
-
Window(Window)
- copy constructor
-
copy()
-
-
equals(Object)
- Compares two Objects for equality.
-
getAnchor()
-
-
setAnchor(int[])
-
Warning!
anchorPoint changes modify the range ( isFwd) Truncation
or domain (!isFwd) Zero-Padding
-
toString()
- Returns a string representation of the object.
anchor
protected int anchor[]
dim
protected int dim
wallSpace
protected RsfSpace wallSpace
windSpace
protected RsfSpace windSpace
windTent
protected Rsf windTent
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
Window
public Window(Space wallSpace,
Space windSpace,
int anchorPoint[],
boolean isFwd)
- casts to constructor for RsfSpaces
Window
protected Window(Window src)
- copy constructor
getAnchor
public int[] getAnchor()
- Returns:
- a copy of this window's anchor
setAnchor
public void setAnchor(int anchorPoint[])
- Warning!
anchorPoint changes modify the range ( isFwd) Truncation
or domain (!isFwd) Zero-Padding
equals
public boolean equals(Object obj2)
- Compares two Objects for equality.
- Overrides:
- equals in class Object
toString
public String toString()
- Returns a string representation of the object.
- Overrides:
- toString in class Object
copy
public JamObject copy()
- Overrides:
- copy in class SepLinearOperator
All Packages Class Hierarchy This Package Previous Next Index