All Packages Class Hierarchy This Package Previous Next Index
Class nstat.patch.Patcher
java.lang.Object
|
+----nstat.patch.Patcher
- public class Patcher
- extends Object
- implements Enumeration
The Patcher enumerates all patches given a quilt vector, the patch size,
and the desired overlap. The Patcher object is best created with the
PatcherFactory that computes the precise overlap values and number of
patches to fit the patches into the quilt space. The Patcher encapsulates
a Window operator.
- See Also:
- PatcherFactory, PatcherTest, Window, PatchPushOp
-
nPatches
-
-
overlap
- The actual overlap which is distinct from the desired overlap
-
patchSize
-
-
quiltSpace
-
-
getNPatches()
-
-
getNPatches(int)
-
-
getWindow(int[])
- Better name might be getWindowOp().
-
hasMoreElements()
-
-
hasMorePatches()
-
-
nextElement()
-
convenient when the non-stationary operation has identical domain and
range.
-
nextPatch(Rsf)
-
Assumes that quilt is in quiltSpace.
-
toString()
- Returns a string representation of the object.
quiltSpace
protected RsfSpace quiltSpace
patchSize
protected int patchSize[]
nPatches
protected int nPatches[]
overlap
protected float overlap[]
- The actual overlap which is distinct from the desired overlap
getNPatches
public int getNPatches()
- Returns:
- the total number of patches in the quilt
getNPatches
public int getNPatches(int dim)
- Returns:
- the number of patches in a particular dimension
getWindow
public hasAdjoint getWindow(int patchIndex[])
- Better name might be getWindowOp().
hasMoreElements
public boolean hasMoreElements()
hasMorePatches
public boolean hasMorePatches()
nextElement
public Object nextElement()
- convenient when the non-stationary operation has identical domain and
range.
- Returns:
- cohy.window.Window operator
nextPatch
public Rsf nextPatch(Rsf quilt)
- Assumes that quilt is in quiltSpace.
- Returns:
- The current patch extracted from the quilt.
toString
public String toString()
- Returns a string representation of the object.
- Overrides:
- toString in class Object
All Packages Class Hierarchy This Package Previous Next Index