ImageOperationParams#

class astropathdb.shared.utils.image.ImageOperationParams#

dataclass for a grouped image operation.

Parameters:
  • dilate_size – the size of the image dilation

  • erode_size – the size of the image erosion (after dilation)

  • open_size – the size of the open operation (dilation/erosion same size)

  • close_size – the size of the close operation (eros/dilation same size)

  • filter_before – filter before the image operations

ImageOperationParams Attributes#

ImageOperationParams References#

Attribute Reference#

attribute min_size: int = 5#
attribute dilate_size: int = 9#
attribute erode_size: int = 9#
attribute open_size: int = None#
attribute close_size: int = None#
attribute filter_before: bool = False#