edu.jhu.ece.iacl.jist.structures.image
Class MaskVolume6

java.lang.Object
  extended by edu.jhu.ece.iacl.jist.structures.image.MaskVolume6
All Implemented Interfaces:
MaskVolume

public class MaskVolume6
extends java.lang.Object
implements MaskVolume

6-way neighbors for volume Note: the C implementations sometimes use a different ordering of these neighbors.

Author:
Blake Lucas

Field Summary
static int length
          The Constant length.
 
Constructor Summary
MaskVolume6()
           
 
Method Summary
static java.lang.Number get(int i, int j, int k, int l, ImageData vol)
          Gets the.
 byte[] getNeighborsX()
          Gets the neighbors x.
 byte[] getNeighborsY()
          Gets the neighbors y.
 byte[] getNeighborsZ()
          Gets the neighbors z.
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Field Detail

length

public static final int length
The Constant length.

Constructor Detail

MaskVolume6

public MaskVolume6()
Method Detail

getNeighborsX

public byte[] getNeighborsX()
Description copied from interface: MaskVolume
Gets the neighbors x.

Specified by:
getNeighborsX in interface MaskVolume
Returns:
the neighbors x

getNeighborsY

public byte[] getNeighborsY()
Description copied from interface: MaskVolume
Gets the neighbors y.

Specified by:
getNeighborsY in interface MaskVolume
Returns:
the neighbors y

getNeighborsZ

public byte[] getNeighborsZ()
Description copied from interface: MaskVolume
Gets the neighbors z.

Specified by:
getNeighborsZ in interface MaskVolume
Returns:
the neighbors z

get

public static java.lang.Number get(int i,
                                   int j,
                                   int k,
                                   int l,
                                   ImageData vol)
Gets the.

Parameters:
i - the i
j - the j
k - the k
l - the l
vol - the vol
Returns:
the number