public class Nhood
extends java.lang.Object
Modifier and Type | Field and Description |
---|---|
int |
Depth |
NhoodMapping |
Mapping |
DblMatrix |
SelectedStencil |
int[] |
Size |
protected DblMatrix |
Stencil |
DblMatrix |
StencilValues |
Subscript[] |
SubscriptMap |
java.lang.String |
Topology |
java.lang.String |
Type |
Constructor and Description |
---|
Nhood(int[] Size)
Create a neighborhood operator for a matrix of dimension Size.
|
Modifier and Type | Method and Description |
---|---|
void |
applyMappingAll()
Apply the Mapping's applyMapping method to all indices (entries) of the matrix.
|
void |
applyMappingTo(int index)
Apply the Mapping's applyMapping method to a particular index (entry) of the matrix.
|
NhoodMapping |
getMapping() |
DblMatrix |
getStencil()
Get the current stencil.
|
void |
setDepth(int N)
Set the depth of the base stencil.
|
void |
setMapping(NhoodMapping N) |
void |
setSize(int[] Size)
Set the depth of the base stencil.
|
void |
setStencil(DblMatrix Stencil)
Users can specify there own neighborhood stencil.
|
void |
setTopology(java.lang.String topo)
Set the type of stencil to be generated.
|
void |
setType(java.lang.String type)
Set the type of stencil to be generated.
|
void |
show() |
void |
show(java.lang.String msg) |
int[] |
translateTo(int newIndex)
Return translated indices relative to the input index.
|
void |
update()
Regenerate the current base stencil.
|
public int[] Size
public int Depth
protected DblMatrix Stencil
public java.lang.String Type
public java.lang.String Topology
public NhoodMapping Mapping
public Subscript[] SubscriptMap
public DblMatrix StencilValues
public DblMatrix SelectedStencil
public Nhood(int[] Size)
public void setDepth(int N)
public void setSize(int[] Size)
public void setType(java.lang.String type)
public void setTopology(java.lang.String topo)
public void setStencil(DblMatrix Stencil)
public DblMatrix getStencil()
public void update()
public int[] translateTo(int newIndex)
public void setMapping(NhoodMapping N)
public NhoodMapping getMapping()
public void applyMappingTo(int index)
public void applyMappingAll()
public void show(java.lang.String msg)
public void show()
Copyright © 2011, 2013. Daniel P. Dougherty