RSS
 

Posts Tagged ‘Berkeley’

Google and UC Berkeley researchers create AI that can remove shadows from images

25 Aug

Researchers with the University of California Berkeley and Google Research have published a new paper detailing an AI that can remove unwanted shadows from images. The algorithm focuses on two different types of shadows — ones from external objects and ones naturally resulting from facial features — and works to either remove or soften them in order to maintain a natural appearance.

Whereas professional images are often taken in a studio with proper lighting, the average snapshot of a person is taken ‘in the wild’ where lighting conditions may be harsh, causing dark shadows that obscure parts of the subject’s face while other parts are covered with excessive highlights.

The newly developed AI is designed to address this problem by targeting those unwanted shadows and highlights, removing and softening them until a clearer subject remains. The researchers say their tool works in a ‘realistic and controllable way,’ and it could prove useful for more than just images captured in casual settings.

Professionals could, for example, use a tool like this to salvage images taken in outdoor environments where it was impossible to control the lighting, such as wedding images taken outdoors under a bright noon sun. In their paper, the researchers explain:

In this work, we attempt to provide some of the control over lighting that professional photographers have in studio environments to casual photographers in unconstrained environments … Given just a single image of a human subject taken in an unknown and unconstrained environment, our complete system is able to remove unwanted foreign shadows, soften harsh facial shadows, and balance the image’s lighting ratio to produce a flattering and realistic portrait image.

This project is designed to target three specific elements in these photographs: foreign shadows from external objects, facial shadows caused by one’s natural facial features and lighting ratios between the lightest and darkest parts of the subject’s face. Two different machine learning models are used to target these elements, one to remove foreign shadows and the other to soften facial shadows alongside lighting ratio adjustments.

The team evaluated their two machine learning models using both ‘in the wild’ and synthetic image datasets. The results are compared to existing state-of-the-art technologies that perform the same functions. ‘Our complete model clearly outperforms the others,’ the researchers note in the study, highlighting their system’s ability in a selection of processed sample images.

In addition to using the technology to adjust images, the study explains that this method can be tapped as a way to ‘preprocess’ images for other image-modifying algorithms, such as portrait relighting tools. The researchers explain:

Though often effective, these portrait relighting techniques sometimes produce suboptimal renderings when presented with input images that contain foreign shadows or harsh facial shadows. Our technique can improve a portrait relighting solution: our model can be used to remove these unwanted shadowing effects, producing a rendering that can then be used as input to a portrait relighting solution, resulting in an improved final rendering.

The system isn’t without limitations, however, particularly if the foreign shadows are presented with ‘many finely-detailed structures,’ some residue of which may remain even after the images are processed. As well, and due to the way the system works, some bilaterally symmetric shadows may not be removed from subjects,

In addition, softening the facial shadows using this technique may, at times, result in a soft, diffused appearance due to excessive smoothing of some fine details that should remain, such as in the subject’s hair, as well as causing a ‘flat’ appearance by softening some facial shadows.

As well, the researchers note that their complete system looks for two types of shadows — facial and foreign — and that it may confuse the two at times. If facial shadows on the subject are ‘sufficiently harsh,’ the system may detect them as foreign shadows and remove (rather than soften) them.

Talking about this issue, the researchers explain:

This suggests that our model may benefit from a unified approach for both kinds of shadows, though this approach is somewhat at odds with the constraints provided by image formation and our datasets: a unified learning approach would require a unified source of training data, and it is not clear how existing light stage scans or in-the-wild photographs could be used to construct a large, diverse, and photorealistic dataset in which both foreign and facial shadows are present and available as ground-truth.

Regardless, the study highlights yet another potential use for artificial intelligence technologies in the photography industry, paving the way for more capable and realistic editing that takes less time to perform than manual editing. A number of studies over the past few years have highlighted potential uses for AI, including transforming still images into moving animations and, in the most extreme cases, generating entire photo-realistic images.

As for this latest project, the researchers have made their code, evaluation data, test data, supplemental materials and paper available to download through the UC Berkeley website.

Via: Reddit

Articles: Digital Photography Review (dpreview.com)

 
Comments Off on Google and UC Berkeley researchers create AI that can remove shadows from images

Posted in Uncategorized

 

UC Berkeley researchers have created a drone that shrinks to squeeze through small spaces

09 Aug

Since drones entered mainstream consciousness, people have gotten creative with developing new ideas for how they can be used. Drones can deliver food and other small items. They can even bake cakes or play instruments when configured properly. Now, a team of researchers at UC Berkeley’s High Performance Robotics Laboratory (HiPeRLab) has created a ‘Passively Morphing Quadcopter’ that can temporarily shrink down to squeeze through small spaces.

While this isn’t the first drone that can compress its shape mid-flight, it is the only one that can shift its shape without using any additional hardware components. This feature helps preserve battery life, enabling the aircraft the fly even longer. Engines enable the arms to rotate freely and constant force springs provide the momentum to change shape. When no thrust is applied, the springs pull the arms into a folded configuration.

When the drone approaches an opening smaller than it can fit, it can plot a course that allows its arms to retract as it’s flying through a small small space. The rotors shut off and after the drone passes through, it loses a bit of altitude as it powers back up. While this set up can offer up a number of useful real-world applications, like inspecting hard-to-reach areas, there is still work to be done by the HiPeRLab team for it to work in any other scenario where there isn’t a wide open area on the other side of a small space for the drone to squeeze though. Nevertheless, when perfected, it could make for an innovative filmmaking tool.

Articles: Digital Photography Review (dpreview.com)

 
Comments Off on UC Berkeley researchers have created a drone that shrinks to squeeze through small spaces

Posted in Uncategorized

 

Adobe Research and UC Berkeley create AI that can find and undo portrait manipulations

15 Jun

Researchers with Adobe Research and UC Berkeley are working together on the development of a method for identifying photo edits made using Photoshop’s Face Aware Liquify tool. The work is sponsored by DARPA’s MediFor program, which funds researchers who are working to ‘level the digital imagery playing field’ by developing tech that assesses the ‘integrity’ of an image.

Both DARPA and Adobe highlight the issue of readily available image manipulation technologies, including some tools that are offered by select Adobe software. The company says that despite being ‘proud of the impact’ these tools have had, it also recognizes ‘the ethical implications of our technology.’

Adobe said in a blog post on Friday:

Trust in what we see is increasingly important in a world where image editing has become ubiquitous – fake content is a serious and increasingly pressing issue. Adobe is firmly committed to finding the most useful and responsible ways to bring new technologies to life – continually exploring using new technologies, such as artificial intelligence (AI), to increase trust and authority in digital media.

As such, Adobe Research and UC Berkeley researchers have published a new study detailing a method for detecting image warping edits that have been applied to images of human faces. The technology involves a Convolutional Neural Network (CNN) trained on manipulated images that were created using scripts with Photoshop and its Face Aware Liquify tool.

To ensure the method can detect the types of manipulations performed by humans, the image dataset used to train the AI also included some images that were altered by a human artist. ‘This element of human creativity broadened the range of alterations and techniques used for the test set beyond those synthetically generated images,’ the study explains.

To test the deep learning method’s assessment skills, the researchers used image pairs featuring the original unedited image and the image that had been altered. Humans presented with these images could only detect which had been altered with 53% accuracy, whereas the neural network was able to pick the manipulated image with accuracy as high as 99%.

In addition, and unlike the average Photoshop user, the technology is able to pinpoint the specific areas of a face that had been warped, which methods of warping had been used, and calculate the best way to revert the image back to as close to its original state as possible.

Adobe researcher Richard Zhang explained, ‘The idea of a magic universal ‘undo’ button to revert image edits is still far from reality. But we live in a world where it’s becoming harder to trust the digital information we consume, and I look forward to further exploring this area of research.’

The research is described as still in its ‘early stages,’ and is only one part of Adobe’s body of work on image integrity and authenticity. The results come amid the growing sophistication of artificial intelligence technologies capable of generating highly realistic portraits and performing complex edits to images.

Articles: Digital Photography Review (dpreview.com)

 
Comments Off on Adobe Research and UC Berkeley create AI that can find and undo portrait manipulations

Posted in Uncategorized

 

Still Life with Smoke Bombs: Artist Live-Paints Berkeley Protest Violence

19 Apr

[ By WebUrbanist in Art & Street Art & Graffiti. ]

This past Saturday, Trump supporters and counter-protesters from the left clashed violently in liberal Berkeley, all while one intrepid street painter captured the scene live on canvas. As reporters filmed and photographed the chaos, John Paul Marcelo biked his mobile painting station into place.

The alt-right rally organizers and their opponents arrived ready for a brawl, variously equipped with shields, helmets, wooden poles, pepper spray and other weapons. “By mid-afternoon,” reports Blake Montgomery, “the dueling protesters were screaming insults at each other over a flaming pile of trash and using a dumpster as a battering ram.” In the end, dozens were arrested on both sides.

But in the midst of the mayhem (or at least: slightly off to one side) was perhaps the most unexpected sight of all — Bay Area street artist John Paul Marcelo standing his ground and calmly painting the chaotic scene as it unfolded before him.

Marcelo is a fixtures of the San Francisco community, a fifteen-year resident who can be found painting ordinary street scenes as well as timely and tragic still lifes, like: a building just after a fire, burnt out and abandoned.

His artistic gear collapses on demand, folding neatly for transportation by bike to events unfolding in around the Bay or calmer, more everyday still-life subjects (below: Morning on Broadway and Telegraph in Oakland as seen in Cafe 817).

John Paul Marcelo studied graphic design and advertising, then started painting the urban decay of Chicago streets and decided to “reject modern technological mediums” and “paint exclusively en plein air, and migrate to the majestic California coastline.” And although he reports being “very content with painting existing idyllic scenes like Big Sur and Marin, past expeditions have brought him to places like post Katrina New Orleans and Cabrini Green housing projects.” His influences “include Claude Monet, James Nachtwey, and Ai Wei Wei.” (Images via AP, SfGate & KQED)

Share on Facebook





[ By WebUrbanist in Art & Street Art & Graffiti. ]

[ WebUrbanist | Archives | Galleries | Privacy | TOS ]


WebUrbanist

 
Comments Off on Still Life with Smoke Bombs: Artist Live-Paints Berkeley Protest Violence

Posted in Creativity

 

Adobe and UC Berkeley demonstrate image editing tool powered by machine learning

01 Oct

Researchers with Adobe and the University of California-Berkeley have detailed a new AI-powered photo manipulation tool that enables sophisticated photo modification using ‘target images’ and/or crude user sketches. The end result is a realistically altered photo that has been machine-modified (or, in the case of blank images, completely machine generated) to match a target image without extensive ‘natural’ user editing.

According to a newly published study detailing the technology, this tool involves a ‘generative adversarial neural network’ that works to modify images in near-real time. As one example demonstrated in the video below, drawing a general shape over a photo of a bag causes the software to automatically adjust the bag’s size to match the sketched shape without compromising its realistic nature. The software can also generate images based on crude user ‘scribbles’ – no artistic talent required.

Articles: Digital Photography Review (dpreview.com)

 
Comments Off on Adobe and UC Berkeley demonstrate image editing tool powered by machine learning

Posted in Uncategorized