fovea_coordinates_algorithm
Computes the Fovea coordinates from the Fovea detection model predictions.
Not currently used in the project but may be useful in the future.
Classes
FoveaCoordinatesAlgorithm
class FoveaCoordinatesAlgorithm( datastructure: DataStructure, bscan_width_col: str = 'size_width', location_prefixes: Optional[SLOSegmentationLocationPrefix] = None, **kwargs: Any,):Computes the Fovea coordinates from the Fovea detection model predictions.
Arguments
datastructure: The data structure to use for the algorithm.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
- BaseNonModelAlgorithmFactory
- BaseAlgorithmFactory
- abc.ABC
- bitfount.federated.roles._RolesMixIn
- bitfount.types._BaseSerializableObjectMixIn
- typing.Generic
Variables
- static
fields_dict : ClassVar[T_FIELDS_DICT]
Methods
modeller
def modeller( self, *, context: ProtocolContext, **kwargs: Any,) ‑> NoResultsModellerAlgorithm:Inherited from:
BaseNonModelAlgorithmFactory.modeller :
Modeller-side of the algorithm.
worker
def worker( self, *, context: ProtocolContext, **kwargs: Any,) ‑> bitfount.federated.algorithms.ophthalmology.fovea_coordinates_algorithm._WorkerSide:Inherited from:
BaseNonModelAlgorithmFactory.worker :
Worker-side of the algorithm.