pub struct CellRecord {Show 14 fields
pub label: i32,
pub centroid: [Real; 2],
pub area: Real,
pub perimeter: Real,
pub shape_index: Real,
pub convexity: Real,
pub elongation: Real,
pub elongation_angle: Real,
pub shape_katic: [Real; 4],
pub internal_katic: [Real; 4],
pub optimal_scale: Real,
pub nuclear_aspect_ratio: Real,
pub nuclear_angle: Real,
pub n_neighbors: usize,
}Expand description
Complete per-cell measurement record. Each field is filled progressively by different analysis stages.
Fields§
§label: i32Unique cell label from segmentation mask.
centroid: [Real; 2]Centroid position in physical coordinates (um).
area: RealCell area in um^2.
perimeter: RealCell perimeter in um.
shape_index: RealShape index p_0 = P / sqrt(A).
convexity: RealConvexity = A / A_convex_hull.
elongation: RealElongation magnitude from Minkowski W1^{1,1} tensor.
elongation_angle: RealElongation orientation angle in radians [0, pi).
shape_katic: [Real; 4]k-atic shape mode amplitudes |W1^{s,0}| / W0 for k = [1, 2, 4, 6].
internal_katic: [Real; 4]Per-cell mean internal alignment |psi_k| for k = [1, 2, 4, 6], at the optimal scale sigma*.
optimal_scale: RealOptimal structure tensor scale sigma* (pixels) where |psi_2| is maximized.
nuclear_aspect_ratio: RealNuclear aspect ratio (major_axis / minor_axis from DAPI).
nuclear_angle: RealNuclear orientation angle in radians [0, pi).
n_neighbors: usizeNumber of Delaunay neighbors.
Implementations§
Trait Implementations§
Source§impl Clone for CellRecord
impl Clone for CellRecord
Source§fn clone(&self) -> CellRecord
fn clone(&self) -> CellRecord
1.0.0 (const: unstable) · Source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
source. Read more