FindPPOIInROIOut

giant.image_processing.point_source_finder:

class giant.image_processing.point_source_finder.FindPPOIInROIOut(peak_location, stats, peak_snr)[source]

This named tuple represents the output of the find_poit_in_roi() method.

Create new instance of FindPPOIInROIOut(peak_location, stats, peak_snr)

Parameters:
  • peak_location (list[ndarray[tuple[Any, ...], dtype[int64]]])

  • stats (list[ndarray[tuple[Any, ...], dtype[int32]]])

  • peak_snr (list[float])

peak_location: list[ndarray[tuple[Any, ...], dtype[int64]]]

The location of the peak pixel in each detected point of interest

stats: list[ndarray[tuple[Any, ...], dtype[int32]]]

The stats of each detected point of interest blob.

Each element corresponds to the same element in .poi_peak_locations

See OpenCV connectedComponentsWithStats for details

peak_snr: list[float]

The peak signal to noise ratio of the blob containing the detected point of interest.

Each element corresponds to the same element in .poi_peak_locations

Summary of Methods

count

Return number of occurrences of value.

index

Return first index of value.