Class MultiplePeakFittingEllipseFinder
java.lang.Object
uk.ac.diamond.scisoft.diffraction.powder.MultiplePeakFittingEllipseFinder
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionstatic List<EllipticalROI> findEllipses(org.eclipse.january.dataset.Dataset image, double[] approxCentre) static PolylineROIfitPOIsNearEllipse(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.
-
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 pixelsradialDelta- +/- value to define area to searchmaxPoints- maximum number of points to returnmon-- Returns:
- polyline ROI
-