Function waterShed

  • This method allows to create a ROIMap using the water shed algorithm. By default this algorithm will fill the holes and therefore the lowest value of the image (black zones). If no points are given, the function will look for all the minimal points. If no mask is given the algorithm will completely fill the image. Please take care about the value that has be in the mask ! In order to be coherent with the expected mask, meaning that if it is a dark zone, the mask will be dark the normal behavior to fill a zone is that the mask pixel is clear (value of 0) ! If you are looking for 'maxima' the image must be inverted before applying the algorithm

    Parameters

    Returns RoiMapManager

    RoiMapManager