Class RegionBoundaries3D

java.lang.Object
inra.ijpb.measure.region3d.RegionBoundaries3D

public class RegionBoundaries3D
extends java.lang.Object
Utility functions for computing position of boundary points/corners of regions within 3D binary or label images.
Author:
dlegland
  • Method Summary

    Modifier and Type Method Description
    static java.util.Map<java.lang.Integer,​java.util.ArrayList<Point3D>> regionsCorners​(ij.ImageStack image, int[] labels)
    Returns a set of points located at the corners of a binary particle.
    static java.util.ArrayList<Point3D>[] regionsCornersArray​(ij.ImageStack image, int[] labels)
    Returns a set of points located at the corners of a binary particle.

    Methods inherited from class java.lang.Object

    equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
  • Method Details

    • regionsCorners

      public static final java.util.Map<java.lang.Integer,​java.util.ArrayList<Point3D>> regionsCorners​(ij.ImageStack image, int[] labels)
      Returns a set of points located at the corners of a binary particle. Point coordinates are integer (ImageJ locates pixels in a [0 1]^d area.
      Parameters:
      image - a binary image representing the particle
      labels - the list of labels to process
      Returns:
      a list of points that can be used for convex hull computation
    • regionsCornersArray

      public static final java.util.ArrayList<Point3D>[] regionsCornersArray​(ij.ImageStack image, int[] labels)
      Returns a set of points located at the corners of a binary particle. Point coordinates are integer (ImageJ locates pixels in a [0 1]^d area.
      Parameters:
      image - a binary image representing the particle
      labels - the list of labels to process
      Returns:
      for each label, an array of points