Enhanced photo relighting based on machine learning models
Abstract
Apparatus and methods related to applying lighting models to images of objects are provided. An example method includes applying a geometry model to an input image to determine a surface orientation map indicative of a distribution of lighting on an object based on a surface geometry. The method further includes applying an environmental light estimation model to the input image to determine a direction of synthetic lighting to be applied to the input image. The method also includes applying, based on the surface orientation map and the direction of synthetic lighting, a light energy model to determine a quotient image indicative of an amount of light energy to be applied to each pixel of the input image. The method additionally includes enhancing, based on the quotient image, a portion of the input image. One or more neural networks can be trained to perform one or more of the aforementioned aspects.
Interactive Citation Constellation Global Citation Ranking
Interactive SVG Citation Constellation renders in Rust/WebAssembly. Prior art cited: 14 · Forward citations: 0.
Claims (8)
- Claim 1Independent Claim
A computer-implemented method, comprising: determining, by a geometry model of a computing device, a surface orientation map based on a prediction of lighting on an object in an input image based on a surface geometry of the object; determining, by an environmental light estimation model of the computing device, a direction of synthetic lighting to be applied to the input image to modify at least a portion of the input image; determining, by a light energy model of the computing device and based on the surface orientation map and the direction of synthetic lighting, a quotient image indicative of an amount of light energy to be applied to each pixel of the input image; and modifying, based on a product of the quotient image and the input image, the portion of the input image.
- Claim 2Depends on #1
The computer-implemented method of claim 1, wherein the determining of the direction of synthetic lighting comprises: detecting, by the computing device, a pose of the object in the input image, and wherein the determining of the direction of the synthetic lighting is based on the pose.
- Claim 3Depends on #1
The computer-implemented method of claim 1, further comprising: generating, by the computing device and based on the surface orientation map and the direction of synthetic lighting, a light visibility map, and wherein the determining of the quotient image is based on the light visibility map.
- Claim 4Depends on #1
The computer-implemented method of claim 1, wherein the modifying of the portion of the input image comprises: determining, by the computing device, a request to modify the portion of the input image; sending the request to request to modify the portion of the input image from the computing device to a second computing device, the second computing device comprising a trained neural network; and after sending the request, the computing device receiving, from the second computing device, an output image that applies the quotient image to modify the portion of the input image.
- Claim 5Depends on #1
The computer-implemented method of claim 1, wherein the determining of the direction of synthetic lighting comprises: receiving, by the computing device, a user preference for the direction of the synthetic lighting to be applied to the input image.
- Claim 6Depends on #1
The computer-implemented method of claim 1, wherein the object has a characteristic of diffusely reflecting light.
- Claim 7Depends on #1
The computer-implemented method of claim 1, wherein the computing device comprises a camera, and the method further comprising: generating the input image of the object using the camera; and receiving, at the computing device, the generated input image from the camera.
- Claim 8Depends on #1
The computer-implemented method of claim 1, further comprising: providing the portion of the modified input image using the computing device.
Technical Overview & Description
CROSS-REFERENCE TO RELATED APPLICATIONS/INCORPORATION BY REFERENCE This application is a national stage application under 35 U.S.C. § 371 of International Application No. PCT/US2021/032734, filed May 17, 2021, which claims priority to U.S. Provisional Patent Application No. 63/085,529, filed on Sep. 30, 2020, which are hereby incorporated by reference in their entirety. BACKGROUND Many modern computing devices, including mobile phones, personal computers, and tablets, include image capture devices, such as still and/or video cameras. The image capture devices can capture images, such as images that include people, animals, landscapes, and/or objects. Some image capture devices and/or computing devices can correct or otherwise modify captured images. For example, some image capture devices can provide “ red-eye ” correction that removes artifacts such as red-appearing eyes of people and animals that may be present in images captured using bright lights, such as flash lighting. After a captured image has been corrected, the corrected image can be saved, displayed, transmitted, printed to paper, and/or otherwise utilized. Professional photographers, such as, for example, portrait photographers, leverage attributes of light on a subject to create compelling photographs of the subject. Such photographers often use specialized equipment, such as off-camera flashes and reflectors, to position lighting and illuminate their subjects to achieve a professional look. In some instances, such activity is performed in controlled studio settings, and involves expert knowledge of the equipment, lighting, and so forth. Mobile phone users generally don't have access to such specialized portrait studio resources, or knowledge of how to use these resources. However, users may prefer to have access to the professional, high-quality results of seasoned portrait photographers. SUMMARY In one aspect, an image capture device may be configured to translate a professional photographer's unders
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 (14)
| Patent | Title | Year | Citations |
|---|
Non-Patent Literature (10)
- Agusanto et al.,
- “
- Photorealistic rendering for augmented reality using environment illumination,
- ”
- Proceedings of the Second IEEE and ACM International Symposium on Mixed and Augmented Reality, Conference Paper, IEEE, 2023, 10 pages.
- Devries et al.
- “
- Learning Confidence for Out-0f-Distribution Detection in Neural Networks,
- ”
- arXiv:1802.04865v1, Feb. 13, 2018, 12 pages.