(Press-News.org) A good painter uses simple strokes of a brush to bring texture, contrast and depth to a blank canvas. In comparison, computer programs can have difficulty reproducing the complex and varied forms of brushstrokes, and often require painstaking effort to mimic a brief sweep of paint.
Now, a team of researchers including scientists at Princeton University has developed a program that allows graphic artists to quickly and easily produce realistic brushstrokes on their computers. Called RealBrush, the program combines graphics algorithms with "Big Data" storage and retrieval techniques to allow computer artists to create, bend and shape a wide array of brushstrokes. Besides creating the strokes, the program allows for effects including smudging, smearing and merging of different types of media.
"Our goal is to have it look like a photograph of a real stroke but to have it follow whatever path you happen to be drawing," said Adam Finkelstein, a computer science professor and the senior researcher on the project. "The challenge is if you have a photo of a paint stroke, how do you make it fit a different path?"
As a first step, a RealBrush user creates a few sample strokes using any desired medium, from oil paint to nail polish or even toothpaste. The user then photographs the strokes and enters them into RealBrush's library (the program also has a variety of pre-installed strokes in different media.) The program uses the sample brushstrokes as baselines indicating fundamental characteristics of the strokes — for instance, the program looks at the center line, or spine, of a segment to help determine a basic shape. The program can use those samples to warp and blend the original strokes into any curves or forms the user desires.
"We use feature matching — it is a machine-learning approach," said Jingwan "Cynthia" Lu, a graduate student in computer science who was the lead author of a paper the researchers presented at the SIGGRAPH computer graphics conference in Anaheim, Cal., in August. "Based on the shape of the spine, we want to find segments of the exemplar that have a similar spine and use the segments to make similar shapes."
In this video, Lu discusses her research and how it allows her to bring her interests in various art forms to her work.
RealBrush uses a comparable approach to simulate other graphic effects: "shape," the silhouette and texture of a single stroke; "smear," a new stroke applied across wet paint, which causes a mingling of colors; and "smudge," the effect of a dry brush or finger rubbed across a brushstroke. The researchers left one more feature for future work — "composite," which is the glazing or reflective effect of translucent paints layered on top of each other.
"For each style, we need about 20 to 30 strokes," Lu said. "If you are a casual user, you can use pre-captured strokes. Or you can paint your own strokes and record those in our system. You can share those with your friends."
Lu worked out the basics of RealBrush during an internship working with a senior researcher, Stephen DiVerdi, at Adobe Systems in San Francisco. As part of the project, she collaborated with Finkelstein; Connelly Barnes, a Princeton 2011 Ph.D. recipient now transitioning from a postdoc at Adobe to a faculty position in computer science at the University of Virginia; and DiVerdi, who is now at Google, to create the paper that was presented at SIGGRAPH. Although RealBrush is a working prototype, Finkelstein said it is a research project, and he noted that it would take additional effort before it could be available for widespread use.
Finkelstein said the RealBrush approach is an example of a change in programming that has the potential for huge impact in many fields, including graphic design.
"In the old days, people wrote clever algorithms to simulate what they were trying to achieve," he said. "What algorithm can I use that will look like a brush on canvas? It was hard, and it met with limited success."
Now, he said, graphics programming is "entering the world of Big Data."
Big Data — a term for the paradigm shift in which the ability to capture, store and analyze huge quantities of digital information allows scientists to leverage this data in addressing new challenges — is fundamentally changing many fields of computing.
A Big Data approach allows programmers to use that data to answer questions, or create simulations, through examples rather than pure mathematics. To do that, scientists need to use statistical and machine-learning approaches to draw the answers from the vast amounts of data available.
"How do you draw the fundamental characteristics of paint from many examples of paint? How do you extrapolate traffic patterns from what traffic was like today, or last week, or last month?" Finkelstein said. "We are entering a realm where you don't have to apply a clever algorithm to simulate the world; you can say, 'this is how the world really is.'"
Princeton University, Engineering School
Sprawdź aktualny ranking najlepszych kredytów mieszkaniowych w Polsce - atrakcyjne kredytowanie nieruchomości.
Beautiful brushstrokes drawn from data
ELSE PRESS RELEASES FROM THIS DATE:
In the age of social media, people's inner lives are increasingly recorded through the language they use online. With this in mind, an interdisciplinary group of University of Pennsylvania researchers is interested in whether a computational analysis of this language can provide as much, or more, insight into their personalities as traditional methods used by psychologists, such as self-reported surveys and questionnaires. In a recent study, published in the journal PLOS ONE, 75,000 people voluntarily completed a common personality questionnaire through a Facebook application ...
Typhoon Pabuk weakened and the core of the storm was changing from a warm core tropical system to a cold core low pressure system as it continued paralleling the coast of Japan on Sept. 26. NASA's Aqua satellite provided a visible image of the transforming storm that had lost its eye. On Sept. 26, 2013 at 03:55 UTC/Sept. 25 at 11:55 p.m. EDT, the Moderate Resolution Imaging Spectroradiometer or MODIS instrument aboard NASA's Aqua satellite captured a visible image of Tropical Storm Pabuk skirting eastern Japan. MODIS imagery also showed a steady influx of cold air stratocumulus ...
The continued accumulation of sand within the iconic ring-shaped reefs inside Maldivian atolls could provide a foundation for future island development new research suggests. Islands like the Maldives are considered likely to be the first to feel the effects of climate change induced sea level rise, with future island growth essential to counter the threat of rising sea levels. The study published in the journal Geology, and carried out by researchers from the University of Exeter in collaboration with the University of Auckland, James Cook University, the National Institute ...
LA JOLLA, CA -- September 26, 2013 -- Scientists at The Scripps Research Institute (TSRI) have discovered an important process by which special immune cells in the skin help heal wounds. They found that these skin-resident immune cells function as "first responders" to skin injuries in part by producing the molecule known as interleukin-17A (IL-17A), which wards off infection and promotes wound healing. "This appears to be a critical and unique component of mammals' defense against skin wounds, and we hope that it will point the way towards better therapies for people ...
Invasive species are among the world's greatest threats to native species and biodiversity. Once invasive plants become established, they can alter soil chemistry and shift nutrient cycling in an ecosystem. This can have important impacts not only on plant composition, diversity, and succession within a community, but also in the cycling of critical elements like carbon and nitrogen on a larger, potentially even global, scale. Clearly, both native and exotic plants form intimate relationships with bacteria in the soil that facilitate the extraction and conversion of elements ...
Since the publication in 2000 of a report titled "To Err is Human" by the Institute of Medicine which called for a reduction in preventable medical errors, there has been an increasing demand for making improvements in the quality and measurement of health care outcomes. Although many measures have been developed, they tend to be complex, labor intensive, have an unclear relationship with improved outcomes, and concentrate on processes of care rather than clinical outcomes. In a new paper published online by the Annals of Surgery, physician-researchers at University Hospitals ...
For the first time a long temperature reconstruction on the basis of stable carbon isotopes in tree rings has been achieved for the eastern Mediterranean. An exactly dated time series of almost 900 year length was established, exhibiting the medieval warm period, the little ice age between the 16th and 19th century as well as the transition into the modern warm phase. Moreover, Ingo Heinrich from the GFZ German Research Centre for Geosciences and colleagues revealed that the modern warming trend cannot be found in the new chronology. "A comparison with seasonal meteorological ...
MINNEAPOLIS – Contrary to earlier studies, new research suggests that omega-3 fatty acids may not benefit thinking skills. The study is published in the September 25, 2013, online issue of Neurology®, the medical journal of the American Academy of Neurology. Omega-3s are found in fatty fish such as salmon and in nuts. "There has been a lot of interest in omega-3s as a way to prevent or delay cognitive decline, but unfortunately our study did not find a protective effect in older women. In addition, most randomized trials of omega-3 supplements have not found an effect," ...
The skin fungus, Batrachochytrium dendrobatidis (Bd), also known as amphibian chytrid, first made its presence felt in 1993 when dead and dying frogs began turning up in Queensland, Australia. Since then it has sickened and killed frogs, toads, salamanders and other amphibians worldwide, driving hundreds of species to extinction. As a postdoctoral researcher Kevin Smith studied Bd in South Africa, home to the African clawed frog, a suspected vector for the fungus. When he took a position at Washington University in St. Louis, where he is now interim director of the Tyson ...
Torrent frogs use their toes, belly, and thighs to attach to rough, wet, and steep surfaces, according to results published September 25 in the open access journal PLOS ONE by Thomas Endlein from the Centre for Cell Engineering at the University of Glasgow and colleagues from other institutions. In a multipart study, the researchers compared the attachment abilities of two species: torrent frogs (Staurois guttatus) and tree frogs (Rhacophorus pardalis). They found that the torrent frog is better able to attach to extremely wet, steep, and rough surfaces due to its superior ...