Class MultiplePeakFittingEllipseFinder

java.lang.Object
uk.ac.diamond.scisoft.diffraction.powder.MultiplePeakFittingEllipseFinder

public class MultiplePeakFittingEllipseFinder extends Object
  • Constructor Details

    • MultiplePeakFittingEllipseFinder

      public MultiplePeakFittingEllipseFinder()
  • Method Details

    • findEllipses

      public static List<EllipticalROI> findEllipses(org.eclipse.january.dataset.Dataset image, double[] approxCentre)
    • fitPOIsNearEllipse

      public static PolylineROI fitPOIsNearEllipse(org.eclipse.january.dataset.Dataset image, org.eclipse.january.dataset.BooleanDataset mask, EllipticalROI ellipse, double arcLength, double radialDelta, int maxPoints)
      Find a set of points of interests near given ellipse from an image.

      The ellipse is divided into sub-areas and these POIs are considered to be the locations of maximum pixel intensities found within those sub-areas.

      Parameters:
      image -
      mask - (can be null)
      ellipse -
      arcLength - step size along arc in pixels
      radialDelta - +/- value to define area to search
      maxPoints - maximum number of points to return
      mon -
      Returns:
      polyline ROI