public class Object3D extends Object
Modifier and Type | Field and Description |
---|---|
int[] |
bound_cube_BR
Bounding cube bottom-right corner coordinates (bound_cube_BR[0:x, 1:y, 2:z])
|
int |
bound_cube_depth
Depth of the bounding cube
|
int |
bound_cube_height
Height of the bounding cube
|
int[] |
bound_cube_TL
Bounding cube top-left corner coordinates (bound_cube_TL[0:x, 1:y, 2:z])
|
int |
bound_cube_width
Width of the bounding cube
|
float[] |
c_mass
Coordinates of the centre of mass (c_mass[0:x, 1:y, 2:z]
|
ij.measure.Calibration |
cal
Calibration of the Object3D
|
float[] |
centroid
Coordinates of the centroïd (centroid[0:x, 1:y, 2:z]
|
float |
int_dens
Integrated density / summed intensity
|
boolean[] |
isSurfVoxels
For each obj_voxels[i][j], stores true if current voxel is on surface, false otherwise
|
int |
max
Maximum intensity
|
float |
mean_dist2surf
Mean distance to the surface (distance calibrated measure)
|
float |
mean_gray
Mean intensity
|
float |
median
Median intensity
|
float |
median_dist2surf
Median distance to the surface (distance calibrated measure)
|
int |
min
Minimum intensity
|
int[][] |
obj_voxels
Stores coordinates and intensities of the current Object3D: obj_voxels[index][0:x, 1:y, 2:z, 3:intensity]
|
float |
SD
SD of the intensity
|
float |
SD_dist2surf
SD of the distance to the surface (distance calibrated measure)
|
int |
size
Object3D's size (in pixels or voxels)
|
float |
surf_cal
True calibrated surface measurement
|
int |
surf_size
Number of pixels/voxels on the surface
|
Vector<int[]> |
surf_voxelsCoord
Vector of length 3 array containing the 3D coordinates of all surface pixels
|
Constructor and Description |
---|
Object3D(int size)
Creates a new instance of Object3D
|
Object3D(int size,
ij.measure.Calibration cal)
Creates a new instance of Object3D (distances will be calibrated according to the input calibration)
|
Modifier and Type | Method and Description |
---|---|
void |
addVoxel(int x,
int y,
int z,
int val,
boolean isSurf,
float surf)
Adds a new voxel to the specified Object3D, at the next available slot in the object.
|
float |
median(float[] array)
Calculates the med value of a float array.
|
public int[][] obj_voxels
public boolean[] isSurfVoxels
public Vector<int[]> surf_voxelsCoord
public float mean_gray
public float median
public float SD
public int min
public int max
public float int_dens
public float mean_dist2surf
public float median_dist2surf
public float SD_dist2surf
public int size
public int surf_size
public float surf_cal
public float[] centroid
public float[] c_mass
public int[] bound_cube_TL
public int[] bound_cube_BR
public int bound_cube_width
public int bound_cube_height
public int bound_cube_depth
public ij.measure.Calibration cal
public Object3D(int size, ij.measure.Calibration cal)
size
- specifies the number of voxels for the new 3DObject, distances being calibrated.cal
- calibration to be used for distance/volume measurementspublic Object3D(int size)
size
- specifies the number of voxels for the new 3DObject.public void addVoxel(int x, int y, int z, int val, boolean isSurf, float surf)
x
- specifies the x coordinate of the voxel to be added.y
- specifies the y coordinate of the voxel to be added.z
- specifies the z coordinate of the voxel to be added.val
- specifies the intensity of the voxel to be added.isSurf
- specifies if the voxel to be added is on the surface of the object.public float median(float[] array)
array
- input float array.Copyright © 2015–2021 Fiji. All rights reserved.