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)

param ksize:

blur(ksize, *args, **kwargs)

param ksize:

close(ksize, iterations)

param ksize:

dilate(ksize, iterations)

param ksize:

erode(ksize, iterations)

param ksize:

gaussian_blur(ksize, *args, **kwargs)

param ksize:

gradient(ksize, iterations)

param ksize:

identity(*args, **kwargs)

rtype:

Callable[[ndarray], ndarray]

median_blur(ksize, *args, **kwargs)

param ksize:

open_morph(ksize, iterations)

param ksize:

top_hat(ksize, iterations)

param ksize:

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]