主权项 |
1. A method for automatically segmenting an object in an input image by referencing a dataset of already-segmented example images, the method comprising:
identifying, by one or more computing devices, multiple already-segmented example images in the dataset based on the multiple already-segmented example images being similar to the input image; identifying, by the one or more computing devices, a respective patch in each of aft the multiple already-segmented example images based on the respective patch being similar to an area of the input image including a patch of the input image; comparing, by the one or more computing devices, the input image with each respective patch of the multiple already-segmented example images to identify which respective patch of e multiple already-segmented example images is most similar to the area of the input image including the patch of the input image; identifying, by the one or more computing devices, a mask of the most similar patch of the already-segmented example images, the mask representing a segmentation in the corresponding already-segmented example image; and segmenting, by the one or more computing devices, the object in the input image based on at least a portion of the mask of the most similar patch of the corresponding already-segmented example image. |