lama/segmentation_plugins/secondary_seg_lateral_ventricle_e145.py
def run(image_to_segment: Path,
        initial_segmentation: Path,
        outpath: Path = None) -> np.ndarray:
    """
    Lama segmetnation plugin module has to implement a run function.
    It currently work well for the lateral ventricles in in E15.5 micro-CT images, but currently only for the main label
    region in each lateral centricle

    Parameters
    ----------
    image_to_segment
    initial_segmentation

    Returns
    -------

    """
    lat_ven_label = 17
    surrounding_labels = [3]  # Forebrain and third ventricle
    seg = segment(image_to_segment, initial_segmentation, surrounding_labels, lat_ven_label, outpath)

    return seg

    Lama segmetnation plugin module has to implement a run function.
    It currently work well for the lateral ventricles in in E15.5 micro-CT images, but currently only for the main label
    region in each lateral centricle

    Parameters
    ----------
    image_to_segment
    initial_segmentation

    Returns
    -------

    
Lama segmetnation plugin module has to implement a run function.
It currently work well for the lateral ventricles in in E15.5 micro-CT images, but currently only for the main label
region in each lateral centricle

Parameters



Returns
Lama segmetnation plugin module has to implement a run function . It currently work well for the lateral ventricles in in E15 . 5 micro - CT images but currently only for the main label region in each lateral centricle Parameters Returns
def run(image_to_segment: Path,
        initial_segmentation: Path,
        outpath: Path = None) -> np.ndarray:
    lat_ven_label = 17
    surrounding_labels = [3]  
    seg = segment(image_to_segment, initial_segmentation, surrounding_labels, lat_ven_label, outpath)
    return seg
def run ( image_to_segment : Path , initial_segmentation : Path , outpath : Path = None ) -> np . ndarray : lat_ven_label = 17 surrounding_labels = [ 3 ] seg = segment ( image_to_segment , initial_segmentation , surrounding_labels , lat_ven_label , outpath ) return seg
Lama segmetnation plugin module has to implement a run function.
Lama segmetnation plugin module has to implement a run function .
"""
    Lama segmetnation plugin module has to implement a run function.
    It currently work well for the lateral ventricles in in E15.5 micro-CT images, but currently only for the main label
    region in each lateral centricle

    Parameters
    ----------
    image_to_segment
    initial_segmentation

    Returns
    -------

    """ # Forebrain and third ventricle
image_to_segment
Path
initial_segmentation
Path
outpath
Path