예제 #1
0
파일: workflow.py 프로젝트: LouisK130/oii
def segment_coral(rgb_in, y_out):
    """rgb_in should be the path to an input image. Must be 8 bit.
    y_out is a path to the result blob tag image"""
    img_in = Image.open(rgb_in)
    img_out = segment(img_in)
    imsave(y_out, img_out)