deepblink.datasets.spots module¶
SpotsDataset class.
-
class
deepblink.datasets.spots.
SpotsDataset
(name: str, cell_size: int, smooth_factor: float = 1)[source]¶ Bases:
deepblink.datasets._datasets.Dataset
Class used to load all spots data.
Parameters: - cell_size – Number of pixels (from original image) constituting one cell in the prediction matrix.
- smooth_factor – Value used to weigh true cells, weighs false cells with 1-smooth_factor.
-
image_size
¶ Check if all images have the same square shape.