ImageProcessing.locate_subpixel_poi_in_roi¶
- ImageProcessing.locate_subpixel_poi_in_roi(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()
andrefine_locations()
and calls these two methods directly, feeding the results of the first into the second.Note that if the
denoise_flag
is set to true then this method will first pass the image through thedenoise_image()
method.- 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 as well as the illumination values, plus optionally details about the point spread function fit if
save_psf
is set to True and the blob statistics and SNR values for each blob ifreturn_stats
is set to true- Return type:
Tuple[ndarray, ndarray] | Tuple[ndarray, ndarray, ndarray] | Tuple[ndarray, ndarray, List[ndarray], List[ndarray]] | Tuple[ndarray, ndarray, ndarray, List[ndarray], List[ndarray]]