dodal.devices.oav.pin_image_recognition.utils#

Classes

MxSampleDetect

Configures sample detection parameters.

SampleLocation

Holder type for results from sample detection.

ScanDirections

Functions

black_hat(ksize, iterations)

blur(ksize, *args, **kwargs)

close(ksize, iterations)

dilate(ksize, iterations)

erode(ksize, iterations)

gaussian_blur(ksize, *args, **kwargs)

gradient(ksize, iterations)

identity(*args, **kwargs)

median_blur(ksize, *args, **kwargs)

open_morph(ksize, iterations)

top_hat(ksize, iterations)

dodal.devices.oav.pin_image_recognition.utils.identity(*args, **kwargs) Callable[[ndarray], ndarray][source]#
Return type:

Callable[[ndarray], ndarray]

dodal.devices.oav.pin_image_recognition.utils.erode(ksize: int, iterations: int) Callable[[ndarray], ndarray][source]#
Parameters:
  • ksize (int)

  • iterations (int)

Return type:

Callable[[ndarray], ndarray]

dodal.devices.oav.pin_image_recognition.utils.dilate(ksize: int, iterations: int) Callable[[ndarray], ndarray][source]#
Parameters:
  • ksize (int)

  • iterations (int)

Return type:

Callable[[ndarray], ndarray]

dodal.devices.oav.pin_image_recognition.utils.open_morph(ksize: int, iterations: int) Callable[[ndarray], ndarray][source]#
Parameters:
  • ksize (int)

  • iterations (int)

Return type:

Callable[[ndarray], ndarray]

dodal.devices.oav.pin_image_recognition.utils.close(ksize: int, iterations: int) Callable[[ndarray], ndarray][source]#
Parameters:
  • ksize (int)

  • iterations (int)

Return type:

Callable[[ndarray], ndarray]

dodal.devices.oav.pin_image_recognition.utils.gradient(ksize: int, iterations: int) Callable[[ndarray], ndarray][source]#
Parameters:
  • ksize (int)

  • iterations (int)

Return type:

Callable[[ndarray], ndarray]

dodal.devices.oav.pin_image_recognition.utils.top_hat(ksize: int, iterations: int) Callable[[ndarray], ndarray][source]#
Parameters:
  • ksize (int)

  • iterations (int)

Return type:

Callable[[ndarray], ndarray]

dodal.devices.oav.pin_image_recognition.utils.black_hat(ksize: int, iterations: int) Callable[[ndarray], ndarray][source]#
Parameters:
  • ksize (int)

  • iterations (int)

Return type:

Callable[[ndarray], ndarray]

dodal.devices.oav.pin_image_recognition.utils.blur(ksize: int, *args, **kwargs) Callable[[ndarray], ndarray][source]#
Parameters:

ksize (int)

Return type:

Callable[[ndarray], ndarray]

dodal.devices.oav.pin_image_recognition.utils.gaussian_blur(ksize: int, *args, **kwargs) Callable[[ndarray], ndarray][source]#
Parameters:

ksize (int)

Return type:

Callable[[ndarray], ndarray]

dodal.devices.oav.pin_image_recognition.utils.median_blur(ksize: int, *args, **kwargs) Callable[[ndarray], ndarray][source]#
Parameters:

ksize (int)

Return type:

Callable[[ndarray], ndarray]