openalea.phenomenal.image.close

openalea.phenomenal.image.close(binary_image, kernel_shape=(7, 7), mask=None)[source]

Applied a morphology close on binary_image on mask ROI.

Parameters:
  • binary_image (numpy.ndarray) – 2-D array
  • kernel_shape ((N, M) of integers) – kernel shape of morphology close applied to binary_image
  • mask (numpy.ndarray, optional) – Array of same shape as image. Only points at which mask == True will be processed.
Returns:

out – Binary Image

Return type:

numpy.ndarray