Patent ID: 9489743
Filing Date: 2016-11-08
CPC Classification: G06T

Claim Text:
1. A method for estimating measurements of a first object by determining separation between two regions in an image, the method comprising: capturing the image using a camera of a user device, wherein the image includes the first object and a reference object; identifying, using one or more processors of the user device, a foreground region corresponding to the first object in the image; identifying, using the one or more processors, a background region in the image; determining, using the one or more processors, a segmentation area in the image that includes pixels of the foreground region and pixels of the background region at or near a first boundary that separates the foreground region and the background region, wherein the segmentation area in the image is determined by analyzing the image for differences among neighboring pixels and including neighboring pixels that are different in the segmentation area, or by identifying pixels near user-selected points on the image and including the identified pixels in the segmentation area; determining, using the one or more processors, an estimate of the first boundary by (1) identifying pixels in the segmentation area, (2) determining, for each identified pixel, a first probability that the pixel is in the foreground region, and a second probability that the pixel is in the background region, and (3) determining that the identified pixel is in only one of the foreground region or the background region based on a comparison of the first probability and the second probability; refining the estimate of the first boundary by removing noise to smooth the estimate of the first boundary; and determining a first dimension of the first object using the refined estimate of the first boundary, an estimated boundary of the reference object, and a known dimension of the reference object.