Skip to main content

fovea_coordinates_algorithm

Computes the Fovea coordinates from the Fovea detection model predictions.

Classes

FoveaCoordinatesAlgorithm

class FoveaCoordinatesAlgorithm(    bscan_width_col: str = 'size_width',    location_prefixes: Optional[SLOSegmentationLocationPrefix] = None,    **kwargs: Any,):

Computes the Fovea coordinates from the Fovea detection model predictions.

Arguments

  • bscan_width_col: The column name that contains the bscan width. Defaults to "size_width".
  • location_prefixes: A dataclass that contains the prefixes for the start and end of the images along both X and Y axis.

Ancestors

Variables

  • static fields_dict : ClassVar[T_FIELDS_DICT]

Methods


modeller

def modeller(    self, **kwargs: Any,)> NoResultsModellerAlgorithm:

Modeller-side of the algorithm.

worker

def worker(    self, **kwargs: Any,)> bitfount.federated.algorithms.ophthalmology.fovea_coordinates_algorithm._WorkerSide:

Worker-side of the algorithm.

LocationPrefixes

class LocationPrefixes(    start_x_image: str = 'loc_start_x_image_',    start_y_image: str = 'loc_start_y_image_',    end_x_image: str = 'loc_end_x_image_',    end_y_image: str = 'loc_end_y_image_',):

Dataclass for Location Prefixes for the OCT images.

Variables

  • static end_x_image : str
  • static end_y_image : str
  • static start_x_image : str
  • static start_y_image : str