PointOfInterestFinder.__call__

PointOfInterestFinder.__call__(image, region=None)[source]

This method identifies the subpixel locations of points of interest in an image.

This method is simply a convenient way of combining find_poi_in_roi() and refine_locations() and calls these two methods directly, feeding the results of the first into the second.

Parameters:
  • image (ndarray) – The image to be processed

  • region (tuple[ndarray, ndarray] | None) – The region of interest to consider as 2 numpy arrays of indices into the images or None

Returns:

The subpixel centers of the points of interest (col, row), the intensity of the center of the pois, the fit PointSpreadFunction to the pois, the stats from the blobs containing the pois, and the peak SNR of the blobs containing the pois as a named tuple.

Return type:

POIFinderOut