# From biological imaging to Sudoku solutions

March 03, 2006Cornell physicist Veit Elser has been engrossed recently in resolving a pivotal question in biological imaging. So he hasn't had much time for brainteasers and number games.

But in discovering an algorithm critical for X-ray diffraction microscopy, Elser and colleagues solved two problems. First, they gave researchers a new tool for imaging the tiniest and most delicate of biological specimens. And second, they discovered that the same algorithm also solves the internationally popular numbers puzzle Sudoku.

Not just one puzzle. All of them.

The Sudoku discovery appeals to Elser's whimsical side. But the algorithm, he notes, has potential for all kinds of other endeavors. "There are a lot of problems that you can represent in terms of this language," he says. "We're providing the technique. Whatever people use it for, it's great for us."

The so-called difference-map algorithm, which Elser says could have applications from productivity optimization to nanofabrication, tackles problems for which the solution must meet two independent constraints. In the case of Sudoku, the constraints are simple: Each of nine numbers, considered alone, appears nine times in the grid so that there is only one per row and column. And all nine numbers appear within each of the nine blocks.

In X-ray diffraction microscopy, the constraints are more complex. But the beauty of the algorithm, as Elser demonstrates, is that complexity doesn't matter. By applying the algorithm to the jumble of raw data from such an experiment, researchers can now reconstruct from it a clear, detailed image.

The result, shown in images published with a recent article in the Proceedings of the National Academy of Sciences (PNAS) with lead author David Shapiro of the State University of New York at Stony Brook and other colleagues, is a richly detailed image of a specimen as small as a single yeast cell -- taken without staining, sectioning or otherwise damaging the specimen.

Unlike optical microscopes, which use a lens to focus light on a target (and are therefore only useful for specimens larger than the wavelength of visible light), imaging methods based on X-rays and electrons take advantage of the finer wavelengths provided by these forms of illumination.

But some of these methods can damage the specimen with harmful radiation, require that a specimen be stained or otherwise altered or lack the penetrating power necessary for three-dimensional reconstructions. X-ray diffraction microscopy, which uses "soft" X-rays and measures the resulting diffraction pattern, is often the method of choice because it gives a detail-rich image and leaves the specimen relatively unscathed.

The tricky part comes in using the diffraction pattern to reconstruct an image of the specimen. Instead of directly measuring the pixel-by-pixel contrast within the specimen, researchers are left with data that represents the object broken down into its constituent waves: a vast number of them, of different frequencies and amplitudes, waiting to be added up in a process called a Fourier synthesis to reconstruct the image.

"But if it were just combining waves with a definite oscillation and adding them up, that would be a piece of cake for a computer to do," says Elser.

The challenge is in the waves' phases, which are critical in reconstructing an image from the diffraction data. Without attention to that piece of the puzzle, the resulting image is reduced to noise.

"People used to say that's an impossible problem," Elser says. "Then people got to thinking about the fact that there are going to be constraints coming from some rather mundane facts -- that in principle will make the problem of deducing the phase like the solution of a solvable puzzle."

The mundane fact, in this case, was a basic premise of the X-ray diffraction experiment: that the object in view have a clearly defined boundary (i.e., that all pixel values outside that boundary be set to zero).

"If I set up waves with known amplitudes and synthesize them, I'll find that for essentially all random combinations of phases, the thing I get is an object not confined," Elser says. "It takes a very clever combination of the phases of all those waves to add up to something in only one region; and cancel out everywhere else."

For the second constraint, the researchers required that the wave amplitudes used in the Fourier synthesis matched those measured by the experiment.

With the two constraints in place, the difference-map algorithm completes the job.

-end-

Cornell University

## Related Algorithm Articles from Brightsurf:

CCNY & partners in quantum algorithm breakthrough

Researchers led by City College of New York physicist Pouyan Ghaemi report the development of a quantum algorithm with the potential to study a class of many-electron quantums system using quantum computers.

Machine learning algorithm could provide Soldiers feedback

A new machine learning algorithm, developed with Army funding, can isolate patterns in brain signals that relate to a specific behavior and then decode it, potentially providing Soldiers with behavioral-based feedback.

New algorithm predicts likelihood of acute kidney injury

In a recent study, a new algorithm outperformed the standard method for predicting which hospitalized patients will develop acute kidney injury.

New algorithm could unleash the power of quantum computers

A new algorithm that fast forwards simulations could bring greater use ability to current and near-term quantum computers, opening the way for applications to run past strict time limits that hamper many quantum calculations.

QUT algorithm could quash Twitter abuse of women

Online abuse targeting women, including threats of harm or sexual violence, has proliferated across all social media platforms but QUT researchers have developed a sophisticated statistical model to identify misogynistic content and help drum it out of the Twittersphere.

New learning algorithm should significantly expand the possible applications of AI

The e-prop learning method developed at Graz University of Technology forms the basis for drastically more energy-efficient hardware implementations of Artificial Intelligence.

Algorithm predicts risk for PTSD after traumatic injury

With high precision, a new algorithm predicts which patients treated for traumatic injuries in the emergency department will later develop posttraumatic stress disorder.

New algorithm uses artificial intelligence to help manage type 1 diabetes

Researchers and physicians at Oregon Health & Science University have designed a method to help people with type 1 diabetes better manage their glucose levels.

A new algorithm predicts the difficulty in fighting fire

The tool completes previous studies with new variables and could improve the ability to respond to forest fires.

New algorithm predicts optimal materials among all possible compounds

Skoltech researchers have offered a solution to the problem of searching for materials with required properties among all possible combinations of chemical elements.

Read More: Algorithm News and Algorithm Current Events

Researchers led by City College of New York physicist Pouyan Ghaemi report the development of a quantum algorithm with the potential to study a class of many-electron quantums system using quantum computers.

Machine learning algorithm could provide Soldiers feedback

A new machine learning algorithm, developed with Army funding, can isolate patterns in brain signals that relate to a specific behavior and then decode it, potentially providing Soldiers with behavioral-based feedback.

New algorithm predicts likelihood of acute kidney injury

In a recent study, a new algorithm outperformed the standard method for predicting which hospitalized patients will develop acute kidney injury.

New algorithm could unleash the power of quantum computers

A new algorithm that fast forwards simulations could bring greater use ability to current and near-term quantum computers, opening the way for applications to run past strict time limits that hamper many quantum calculations.

QUT algorithm could quash Twitter abuse of women

Online abuse targeting women, including threats of harm or sexual violence, has proliferated across all social media platforms but QUT researchers have developed a sophisticated statistical model to identify misogynistic content and help drum it out of the Twittersphere.

New learning algorithm should significantly expand the possible applications of AI

The e-prop learning method developed at Graz University of Technology forms the basis for drastically more energy-efficient hardware implementations of Artificial Intelligence.

Algorithm predicts risk for PTSD after traumatic injury

With high precision, a new algorithm predicts which patients treated for traumatic injuries in the emergency department will later develop posttraumatic stress disorder.

New algorithm uses artificial intelligence to help manage type 1 diabetes

Researchers and physicians at Oregon Health & Science University have designed a method to help people with type 1 diabetes better manage their glucose levels.

A new algorithm predicts the difficulty in fighting fire

The tool completes previous studies with new variables and could improve the ability to respond to forest fires.

New algorithm predicts optimal materials among all possible compounds

Skoltech researchers have offered a solution to the problem of searching for materials with required properties among all possible combinations of chemical elements.

Read More: Algorithm News and Algorithm Current Events

Brightsurf.com is a participant in the Amazon Services LLC Associates Program, an affiliate advertising program designed to provide a means for sites to earn advertising fees by advertising and linking to Amazon.com.