From d31b5d8948151e31dbb1ca664edf5e2ee0ca74d8 Mon Sep 17 00:00:00 2001 From: dlegland Date: Tue, 29 Oct 2024 16:56:55 +0100 Subject: [PATCH] MorphometricFeatures3D: fix concatenation of equivalent ellipsoid features --- .../inra/ijpb/measure/region3d/MorphometricFeatures3D.java | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/src/main/java/inra/ijpb/measure/region3d/MorphometricFeatures3D.java b/src/main/java/inra/ijpb/measure/region3d/MorphometricFeatures3D.java index aad135d0..5c3dd99a 100644 --- a/src/main/java/inra/ijpb/measure/region3d/MorphometricFeatures3D.java +++ b/src/main/java/inra/ijpb/measure/region3d/MorphometricFeatures3D.java @@ -459,10 +459,10 @@ private ResultsTable populateTable(Results results) Point3D center = elli.center(); table.setValue("Elli.Center.X", i, center.getX()); table.setValue("Elli.Center.Y", i, center.getY()); - table.setValue("Elli.Center.Z", i, center.getY()); + table.setValue("Elli.Center.Z", i, center.getZ()); table.setValue("Elli.Radius1", i, elli.radius1()); table.setValue("Elli.Radius2", i, elli.radius2()); - table.setValue("Elli.Radius3", i, elli.radius2()); + table.setValue("Elli.Radius3", i, elli.radius3()); table.setValue("Elli.Azim", i, elli.phi()); table.setValue("Elli.Elev", i, elli.theta()); table.setValue("Elli.Roll", i, elli.psi());