Package jhd.FloodFill
Class Offsets.PointDesc
java.lang.Object
jhd.FloodFill.Offsets.PointDesc
- Enclosing class:
- Offsets
public static class Offsets.PointDesc
extends java.lang.Object
Class for 2D and 3D pixel offset and value information
- Author:
- John H Dunsmuir DOB LazziIzzi
-
Field Summary
-
Constructor Summary
Constructors Constructor Description PointDesc()
Default ConstructorPointDesc(int offset1D)
1D offset ConstructorPointDesc(int offset1D, double val)
1D offset ConstructorPointDesc(int iCol, int jRow)
2D offset ConstructorPointDesc(int iCol, int jRow, double val)
2D offset ConstructorPointDesc(int iCol, int jRow, int kSlice)
3D offset ConstructorPointDesc(int iCol, int jRow, int kSlice, double val)
3D offset Constructor -
Method Summary
Methods inherited from class java.lang.Object
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
-
Field Details
-
x
public int xPixel x coordinate -
y
public int yPixel y coordinate -
z
public int zPixel z coordinate -
val
public double valPixel value
-
-
Constructor Details
-
PointDesc
public PointDesc()Default Constructor -
PointDesc
public PointDesc(int offset1D)1D offset Constructor- Parameters:
offset1D
- the absolute offset of a voxel index from 0
-
PointDesc
public PointDesc(int offset1D, double val)1D offset Constructor- Parameters:
offset1D
- the absolute offset of a voxel index from 0val
- A value associated with the pixel/voxel
-
PointDesc
public PointDesc(int iCol, int jRow)2D offset Constructor- Parameters:
iCol
- AKA Pixel x coordinatejRow
- AKA Pixel y coordinate
-
PointDesc
public PointDesc(int iCol, int jRow, double val)2D offset Constructor- Parameters:
iCol
- AKA Pixel x coordinatejRow
- AKA Pixel y coordinateval
- A value associated with the pixel
-
PointDesc
public PointDesc(int iCol, int jRow, int kSlice)3D offset Constructor- Parameters:
iCol
- AKA Pixel x coordinatejRow
- AKA Pixel y coordinatekSlice
- AKA Pixel z coordinate
-
PointDesc
public PointDesc(int iCol, int jRow, int kSlice, double val)3D offset Constructor- Parameters:
iCol
- AKA Pixel x coordinatejRow
- AKA Pixel y coordinatekSlice
- AKA Pixel z coordinateval
- A value associated with the voxel
-