Methods and systems for extracting objects from an image
Abstract
Systems and methods are provided for object extraction from images influenced by depth of field settings. Through control circuitry, an image subjected to a prior segmentation operation is acquired. A subsequent segmentation operation is performed, modulating the depth of field setting to its extreme values, producing two distinct segmented images. From these, an in-focus object is derived, forming delineated representations. A similarity index between representations is computed. If this index exceeds a specified threshold, the in-focus object is extracted from the original image using the control circuitry.
Interactive Citation Constellation Global Citation Ranking
Interactive SVG Citation Constellation renders in Rust/WebAssembly. Prior art cited: 1 · Forward citations: 0.
Claims (20 — 2 Independent, 18 Dependent)
- Claim 1Independent Claim
A method comprising: receiving, using control circuitry, an image, the image having an associated depth of field setting due to a first segmentation operation applied to the image; applying, using control circuitry, a second segmentation operation to the image, the second segmentation operation comprising adjusting the depth of field setting to a maximum to generate a first segmented image, and adjusting the depth of field setting to a minimum to generate a second segmented image; extracting, using control circuitry, an in-focus object from each of the first segmented image and the second segmented image, resulting in delineated images of the in-focus object; determining, using control circuitry, a similarity index based on the delineated images; and in response to determining that the similarity index is above a threshold, extracting, using control circuitry, an in-focus object corresponding to the delineated images from the received image.
- Claim 2Depends on #1
The method of claim 1, further comprising: in response to determining that the similarity index is below the threshold, generating the delineated images from the first and second segmented images for presentation at a user device; receiving a feedback input to select one of the delineated images from the first segmented image or the second segmented image; and utilizing the feedback input to train a machine learning model.
- Claim 3Depends on #2
The method of claim 2, further comprising: in response to determining that the similarity index is below the threshold, providing an interface to adjust a depth of field setting to generate a third segmented image.
- Claim 4Depends on #3
The method of claim 3, further comprising; adjusting the depth of field setting of the in-focus object in real-time in response to a user input via the interface to generate the third segmented image having a depth of field setting between the maximum and the minimum depth of field settings.
- Claim 5Depends on #1
The method of claim 1, wherein determining the similarity index further comprises: determining a first similarity index between the delineated image extracted from the first segmented image and a delineated image of the in-focus object extracted from the received image; and determining a second similarity index between the delineated image extracted from the second segmented image and the delineated image of the in-focus object extracted from the received image.
- Claim 6Depends on #1
The method of claim 1, wherein determining the similarity index comprises: converting the delineated images from the first and second segmented images into corresponding grayscale pixel maps; and comparing the grayscale pixel maps.
- Claim 7Depends on #1
The method of claim 1, further comprising: determining a capturing device of the image; retrieving information relating to the capturing device from a database; and optimizing the second segmentation operation based on the retrieved information.
- Claim 8Depends on #1
The method of claim 1, further comprising: applying the second segmentation operation to the image at multiple intermediate depth of field settings between the maximum depth of field setting and the minimum depth of field setting; extracting in-focus objects from the segmented images obtained from each of the intermediate depth of field settings, resulting in multiple further delineated images of the in-focus object; and determining an average similarity index based on the multiple delineated images.
- Claim 9Depends on #1
The method of claim 1, further comprising: a) in response to determining the similarity index is below the threshold, applying additional image enhancement techniques to the received image; b) re-executing the steps of applying the second segmentation operation, extracting the in-focus object, and determining the similarity index; and c) iterating steps a) and b) until the similarity index reaches a maximum achievable value.
- Claim 10Depends on #9
The method of claim 9, further comprising: recording a number of iterations performed; and terminating the iterations if a maximum number of iterations is reached.
- Claim 11Depends on #1
The method of claim 1, further comprising: applying the second segmentation operation iteratively across different regions of the received image to identify multiple distinct in-focus objects; extracting each of the identified distinct in-focus objects from both the first segmented image and the second segmented image, resulting in multiple sets of delineated images of the individual objects; for each set of delineated images of an object, determining a similarity index based on the delineated images; and in response to determining that the similarity index for a set is above a threshold, extracting a corresponding in-focus object from the received image.
- Claim 12Independent Claim
A system comprising control circuitry configured to: receive an image, the image having an associated depth of field setting due to a first segmentation operation applied to the image; apply a second segmentation operation to the image, the second segmentation operation comprising adjusting the depth of field setting to a maximum to generate a first segmented image, and adjusting the depth of field setting to a minimum to generate a second segmented image; extract an in-focus object from each of the first segmented image and the second segmented image, resulting in delineated images of the in-focus object; determine a similarity index between the delineated images; and in response to a determination that the similarity index is above a threshold, extract an in-focus object corresponding to the delineated images from the received image.
- Claim 13Depends on #12
The system of claim 12, wherein the control circuitry is further configured to: generate, in response to determining that the similarity index is below the threshold, the delineated images from the first and second segmented images for presentation at a user device; receive a feedback input to select one of the delineated images from the first segmented image or the second segmented image; and utilize the feedback input to train a machine learning model.
- Claim 14Depends on #13
The system of claim 13, wherein the control circuitry is further configured to: in response to determining that the similarity index is below the threshold, provide an interface to adjust a depth of field setting to generate a third segmented image.
- Claim 15Depends on #14
The system of claim 14, wherein the control circuitry is further configured to: adjust the depth of field setting of the in-focus object in real-time in response to a user input via the interface to generate the third segmented image having a depth of field setting between the maximum and the minimum depth of field settings.
- Claim 16Depends on #12
The system of claim 12, wherein the control circuitry, when determining the similarity index, is further configured to: convert the delineated images from the first and second segmented images into corresponding grayscale pixel maps; and compare the grayscale pixel maps.
- Claim 17Depends on #12
The system of claim 12, wherein the control circuitry is further configured to: determine a capturing device of the image; retrieve information relating to the capturing device from a database; and optimize the second segmentation operation based on the retrieved information.
- Claim 18Depends on #12
The system of claim 12, wherein the control circuitry is further configured to: apply the second segmentation operation to the image at multiple intermediate depth of field settings between the maximum depth of field setting and the minimum depth of field setting; extract in-focus objects from the segmented images obtained from each of the intermediate depth of field settings, resulting in multiple further delineated images of the in-focus object; and determine an average similarity index between the multiple delineated images.
- Claim 19Depends on #12
The system of claim 12, wherein the control circuitry is further configured to: a) in response to determining the similarity index is below the threshold, apply additional image enhancement techniques to the received image; b) re-execute the steps of applying the second segmentation operation, extracting the in-focus object, and determining the similarity index; and c) iterate steps a) and b) until the similarity index reaches a maximum achievable value.
- Claim 20Depends on #19
The system of claim 19, wherein the control circuitry is further configured to: record a number of iterations performed; and terminate the iterations if a maximum number of iterations is reached.
Technical Overview & Description
BACKGROUND The present disclosure relates to methods and systems for improving the segmentation of objects from images, e.g., in smartphone photography. In particular, but not exclusively, the disclosure relates to methods and systems which consider both hardware and software implementations of an image taken using a portrait mode, as well as variations in depth of field settings, to refine the segmentation process. SUMMARY Portrait mode in contemporary smartphone photography, achieved through hardware, software, or a combination thereof, simulates depth of field by distinctly separating (e.g., segmenting) a foreground object from a blurred background. A subsequent development in image processing is the “ lift-the-object ” functionality, enabling users to segment or extract specific entities from their photographs. However, when extracting objects from images that utilize portrait mode's blurred background, challenges arise in ensuring segmentation precision and consistency. The primary challenge can be attributed to the varied interpretations and implementations of the portrait mode feature across different devices, brands, operating systems, and individual applications. As a result, differences in device performance, algorithmic implementations, and application choices can lead to inconsistent segmentation outcomes. In some approaches, implementing a depth of field setting to an image and lifting an object from that image presents complexities. While enhancing visual appeal, diverse depth of field settings can potentially confound a segmentation process. For instance, an image with pronounced background blur can obscure clear object boundaries, complicating the extraction process. Given the varied implementations of portrait mode and the complications of different depths of field, there exists a need for an improved segmentation solution addressing inconsistencies across devices and systems, ensuring precise and consistent extraction of objects from images with bl
Cited By — Indexed Forward Citations (0 of 0 total)
No indexed citing patents in this generation yet. Ingest USPTO/PatentsView bulk citation tables via patents-ingest to expand the local forward citation graph.
References Cited — Backward Prior Art (1)
| Patent | Title | Year | Citations |
|---|---|---|---|
| US 9,542,626 B2 | Augmenting layer-based object detection with deep convolutional neural networks | 2017 | 62 |
Non-Patent Literature (10)
- Apple Support,
- “
- Lift a subject from the photo or video background on iPhone,
- ”
- (https://support.apple.com/guide/iphone/lift-a-subject-from-the-photo-background-iphfe4809658/ios), (1 page).
- Apple Support,
- “
- Use Portrait mode on your iPhone,
- ”
- (https://support.apple.com/en-us/HT208118),(3 pages).