openalea.eartrack.binarisation.close

openalea.eartrack.binarisation.close(binary_image, kshape='MORPH_CROSS', ksize=3, iterations=1)[source]

Close an image

Perform morphology closing algorithm on image using opencv method :param binary_image: numpy.ndarray

2-D array
Parameters:
  • kshape – str, opt See opencv documentation
  • ksize – int, opt See opencv documentation
  • iterations – int, opt Number of iteration
Returns:

closed : numpy.ndarray 2-D image