Slashdot Mirror


Math to Crack Deep Impact Blurry Vision Problem

starexplorer writes "NASA announced that they believe they have a solution for the Deep Impact mission's blurry vision problem: math. Although the craft will still snap blurry pictures of the Tempel-1 comet, mathmetical manipulation will help scientists clear up the images once they make their way back to Earth. A special report and viewing guide are also available at SPACE.com."

50 of 167 comments (clear)

  1. OT by Anonymous Coward · · Score: 5, Funny

    using the same words, i made a much better headline.

    "blurry vision math to impact deep crack problem"

  2. i know about this by Neotrantor · · Score: 4, Informative

    it's a process called deconvolution, right? I did this as a project for sophomore year astronomy... which i believe involved asking on slashdot about it.

    1. Re:i know about this by Karzz1 · · Score: 5, Informative

      For anyone really interested in the math at work here, check out this page.

      --
      Beware of he who would deny you access to information, for in his heart he dreams himself your master.
  3. I saw a photoshop plugin that will do similar by Dancin_Santa · · Score: 2, Interesting

    I'm not sure if it was a photoshop plugin or a standalone filter, but the filter was able to derive sharp pictures from the bokeh of photographs.

    Essentially, it calculated the ring of blur and interpolated the data and was able to resolve out-of-focus areas. The sample photos were either of gorillas or pandas. I'm sure someone will have a link.

    Very space opera.

    1. Re:I saw a photoshop plugin that will do similar by onemorechip · · Score: 5, Funny
      The sample photos were either of gorillas or pandas.

      If you couldn't tell, then it must not have worked very well.

      --
      But, I wanted socialized health insurance!
    2. Re:I saw a photoshop plugin that will do similar by grammar+fascist · · Score: 3, Informative

      I'm not sure if it was a photoshop plugin or a standalone filter, but the filter was able to derive sharp pictures from the bokeh of photographs. ...and it's really not all that breakthrough-ish. Nearly anyone who's taken a signal processing class will have done this. The simplest version is an unsharp mask.

      Here's the basic idea: you assume some "spreading" of the data happened, and you assume its shape. Then you try to undo what happened - perform the inverse.

      There are two problems with this. First, the original convolution you assumed (that "spreading") is destructive to information. There exists no unique inverse mapping. You have to pick one, and hope that what it yields looks right.

      Second, without making some major assumptions (that signal processing people aren't usually keen to make) there is no way to differentiate between true signal and noise. The noise, along with the blurry edges, also get sharpened. You can mitigate this somewhat with your choice of inverse mapping. Again, you pick something that looks right.

      They do have some prior information going into this - they know the equipment that took the pictures - but pretty much nothing they do will exactly restore the information that was lost. Math isn't magical enough to do that.

      For the hardcore:

      http://mathworld.wolfram.com/Deconvolution.html

      and follow the links from there. :)

      --
      I got my Linux laptop at System76.
  4. MOD PARENT UP by kc32 · · Score: 2

    How did this get a -1 rating? It should be modded informative or at least funny.

  5. Reminds me of Early Hubble Problems by HidingMyName · · Score: 3, Informative

    The early Hubble pictures suffered from optical distortion due to a miscalculation on what the shape of the mirror would be in obit, and NASA also fixed that problem using digital image filtering techniques to reconstruct a clear image. The key was that they had a precise model of the distortion and that it was invertible.

    1. Re:Reminds me of Early Hubble Problems by Captain+Nitpick · · Score: 2, Informative
      The early Hubble pictures suffered from optical distortion due to a miscalculation on what the shape of the mirror would be in obit, and NASA also fixed that problem using digital image filtering techniques to reconstruct a clear image. The key was that they had a precise model of the distortion and that it was invertible.

      While there may have been an issue with that (which I've never heard of), the infamous Hubble mirror problem was that Perkin-Elmer built the mirror wrong due to a flawed instrument, and ignored the other instruments that were telling them it wasn't the right shape.

      --
      But then again, I could be wrong.
  6. Further information that may prove useful by Anonymous Coward · · Score: 3, Funny

    Although the craft will still snap blurry pictures of the Tempel-1 comet, mathmetical manipulation will help scientists clear up the images once they make their way back to Earth.

    Scientists will also use Photoshop to remove any zits, butt dimples, and eyebags the comet may be suffering from.

    1. Re:Further information that may prove useful by kevcol · · Score: 3, Funny

      No, this is Slashdot, you have to report they will use GIMP.

    2. Re:Further information that may prove useful by NanoGator · · Score: 2, Funny

      "No, this is Slashdot, you have to report they will use GIMP."

      And then somebody will come alnog and start a long ass flaming thread because he corrected the parent poster by using the word "attempt".

      --
      "Derp de derp."
  7. Hmm... by iamdrscience · · Score: 4, Funny

    Math in space you say? What will they think of next?!

    1. Re:Hmm... by macaulay805 · · Score: 2, Funny

      English on ice!

    2. Re:Hmm... by Rei · · Score: 2, Funny

      Chemical engineering on fire!

      --
      Sigur RÃs: I didn't know that Heaven had a rock band.
    3. Re:Hmm... by grammar+fascist · · Score: 2, Funny

      Politics on crystal meth!

      (Oh, wait...that happens all the time around here...)

      --
      I got my Linux laptop at System76.
  8. Math good. Math solve problems. by dtfinch · · Score: 2, Interesting

    Deconvolution has been around for many decades.

  9. Re:Blurry vision causes: by Karzz1 · · Score: 4, Funny

    Whiskey. Tango. Foxtrot. Dude.

    --
    Beware of he who would deny you access to information, for in his heart he dreams himself your master.
  10. Technical description of the fix: by LiquidCoooled · · Score: 4, Funny

    Tilt your head to the side and Squint a bit!

    --
    liqbase :: faster than paper
  11. Re:You're both right. by wass · · Score: 4, Informative

    No, the parent is correct. Before the COSTAR correctional optics package was launched to fix Hubble's spherical aberation problem, NASA engineers were able to digitally de-convolve the aberations out of the image. The digitally-manipulated results weren't as good as the ones COSTAR optics eventually offered, but they did help some initial observing runs.

    --

    make world, not war

  12. I can *see* the music by stevens · · Score: 2, Funny

    The solution to my blurry vision problem is to keep the number of vodka-sodas in the single digits.

    Damn I love coding loaded: Best. Comments. Ever.

  13. iEyes? by Doc+Ruby · · Score: 3, Interesting

    Why don't we have adaptive image processing "glasses"? Can't some human vision problems be corrected by preprocessing an image, to "antidistort" it? The inverse distortion from the vision defect would return the image to "normal". Such a device could be recalibrated with test targets, so a wearer wouldn't need to consume valuable optometrist time for revised prescriptions. With some work, they could become light enough that they'd rival lenses, or even surpass them in some real coke-bottle cases. And we'd have a huger market for info display goggles.

    --

    --
    make install -not war

    1. Re:iEyes? by Anonymous Coward · · Score: 2, Insightful

      Umm, they're called contact lenses and glasses. They distort an image which your eye antidistorts back to the original image.

  14. i know about this...Applets. by Anonymous Coward · · Score: 3, Informative

    http://www.cs.brown.edu/exploratories/freeSoftware /repository/edu/brown/cs/exploratories/applets/con volution/convolution_guide.html

    "The key operation we perform, both in the theoretical development and in the implementation of filtering, is convolution. This applet allows students to understand the process of convolution. First they create a signal and a filter function to convolve. Then, they place the filter function when they see the product function of the two original signals. In a final graph below, they build up the convolution, seeing the area under the product curve correspond to the value of the convolution at that point.

    This applet is useful in understanding both how convolution works and what the effects are of specific signals being convolved together."

  15. Yeppers by pocketfullofshells · · Score: 2, Informative

    Deconvolution.

    FTFA: The team will use a process, called deconvolution, to remedy the situation. Deconvolution is widely used in image processing and involves the reversal of the distortion created by the faulty lens of a camera or other optical devices, like a telescope or microscope.

  16. That's only because they're all math nerds. by lheal · · Score: 4, Funny

    If NASA were smart and hired poets, they would just look at the blurry images and say, "Interesting".

    --
    Raise your children as if you were teaching them to raise your grandchildren, because you are.
    1. Re:That's only because they're all math nerds. by JebusIsLord · · Score: 3, Interesting

      NASA does have an on-staff poet. http://www.laurieanderson.com/

      --
      Jeremy
  17. Re:You're both right. by convolvatron · · Score: 2, Informative

    yeah. but they never got a very good set of kernels. because of the nature of the flaw(s), the psfs varied across the image and didn't do so continuously. they got part of the way there, but it was never even close. if only there had been a decent test pattern set lying around in space.

    actually it wasn't just NASA engineers. they had an open call for help, and alot of people worked on the problem. which was very cool.

  18. Re:Don't believe everything NASA spews by RaySnake · · Score: 5, Informative

    All right, I know I shouldn't be replying to flamebait but here goes.

    It is in fact possible to at least partially reconstruct blurry images as long as you have some idea about what kind of distortion or motion is causing your problems. In some cases you can get useable information without even knowing exactly what your problem was! Don't take my word for it, look up "blind deconvolution" in your favorite image processing textbook or just use google.

    If you're an IEEE member there is an interesting tutorial entitled "Image Deblurring: I Can See Clearly Now" by James Nagy and Dianne O'Leary. In addition to this a real world applications in motion deblurring can be seen here http://www1.cs.columbia.edu/CAVE/research/demos/ne w/motiondeblur.html/
    The problem may not be identical to NASA's problem but the mathematical deconvolution techniques are the same.

    I realize you just want some attention but a small sense of disbelief is in order since many new developments in the sciences are pretty indistinguishable from magic at first glance.

  19. what is deconvolution? by mary_will_grow · · Score: 2

    How does this math work? All the article really tells me is that its math.

    They also claim "deconvolution" can improve the resolution of a good telescope. Why? Wheres the extra data come from?

    what the heck is this?

    --
    Why stick up for big business?
    1. Re:what is deconvolution? by onemorechip · · Score: 2, Informative
      In a nutshell:

      Imagine an out-of-focus picture of a point of light. The image will be a fuzzy circle or ring (the latter if the lens is catadioptric).

      Now take a picture of an entire scene, this time in focus. If you convolve (mathematical process related to multiplication) the first fuzzy image with this sharp image, you would get an image that looks like you had taken the picture through the original fuzzy lens. It's as if every single pixel in the good image were smudged into an pattern like the first image. The fuzzy circle from the first image is called the convolution kernel.

      The corollary of this is, if you use the inverse of the convolution process (deconvolution) on an image taken with the out-of-focus lens, and using the fuzzy circle image as the kernel for the deconvolution, you would get a sharp image.

      The trick is that you need to know the correct deconvolution kernel. But for that you only need to photograph a point source (such as a star).

      --
      But, I wanted socialized health insurance!
    2. Re:what is deconvolution? by mparar · · Score: 2, Informative

      If you can esitmate the blur, or let's say, the point spread function (PSF) of the blur, deconvolution is the application of the inverse of the said blur.
      This is not always a simple operation. Most real world blur PSFs will not be invertible, or easily so, and the inverse operation will be unstable (lead to "blowing up" of teh function). Conditioning may solve some suc problems.
      Iterative techniques are useful in many cases and there are many varied different techniques to do this.
      Wiener filters are commonly used. A bunch of adaptive techniques based on Wiener filtering concepts are very effective too.

      --
      -mp-
  20. We're all going to die. by Chris+Snook · · Score: 5, Funny

    Years ago I tried to warn people that Tempel 1 was an alien monitoring post, and that it we needed to study it to discover their origins so we could be vigilant for their return. I was locked up for years. Now that I've escaped I find that they're smashing a rocket into it! While this at least proves I wasn't crazy, it's not going to help anything. Any civilization that has the technology to maintain a link to an outpost in a remote star system without it being detected by civilian scientists probably has the ability to defend itself against what it would probably perceive as aggression. While I'd like to believe that their advances have made them peaceful and even merciful, recent events on Earth suggest that the best we can hope for is millenia of enslavement.

    --
    There's no failure quite as dissatisfying as a complete and total solution to the wrong problem.
  21. Wow that's a lot of acceleration by complete+loony · · Score: 4, Funny

    "The table-sized, 820-pound (372-kilogram) impactor is scheduled to smash into the comet's nucleus at 23,000 mph (37,000 kilometers) per hour"

    --
    09F91102 no, 455FE104 nope, F190A1E8 uh-uh, 7A5F8A09 that's not it, C87294CE no. Ah! 452F6E403CDF10714E41DFAA257D313F.
    1. Re:Wow that's a lot of acceleration by marimbaman · · Score: 2, Informative

      "The table-sized, 820-pound (372-kilogram) impactor is scheduled to smash into the comet's nucleus at 23,000 mph (37,000 kilometers) per hour"

      Actually, that comes out to be about 2.8 m/s^2, or less than one third of a gee.

  22. Enhance by AtillaTheKilla · · Score: 2, Funny

    enhance...enhance...

  23. Will they REALLY? by mnmn · · Score: 3, Funny

    "We will alter images to make them clear"

    -NASA

    My answer: no WAY! Really?

    After spending the millions and waiting for years, isnt it a LITTLE apparent that work will be done on images to make them clear? Does it require a press conference to announce the very apparent?

    --
    "Give orange me give eat orange me eat orange give me eat orange give me you." -Nim Chimpsky
  24. Just use that program they use on CSI! by Andyvan · · Score: 5, Funny

    They're always able to make blurry photographs sharp, and it only takes about 10 seconds...

    -- Andyvan

  25. This is so old hat... by Isldeur · · Score: 4, Funny


    Oh give it up. This is so OLD. I've seen this "picture enhancement" being used in the movies all the time. You know, when there's this blurry picture and then suddenly it's "enhanced" and is crystal-clear?

    Or on that Alias documentary where the CIA didn't have an audio feed so they had this program that would decipher words by lip reading at this obscene angle from a camera on the ceiling?? This stuff is so easy these days...

    You'd think NASA would have this down pat... Maybe it's the budget cuts...

  26. much better solution to blurry images by multi-flavor-geek · · Score: 2, Funny

    I found that if you take the film out of the camera after the picture is taken, and then either blow on it or flop the picture back and forth irt will make it develop far quicker and much clearer.
    Maybe we could get some of the aliens from area 51 to hitchhike onboard and take care of that for us!

    --
    Like arts? Like cheesy little Indie mags? Check out www.artwerkmag.com, and don't laugh at the bad coding please.
  27. Re:MOD PARENT UP (OT) by EdlinUser · · Score: 2, Interesting

    >>>
    How did this get a -1 rating? It should be modded informative or at least funny.
    <<<

    I once moved my mouse a bit and gave a - rather than a +. SH. The metamoderators seem to have taken care of it both times.

    Gotta be careful about that. There are metamoderators who label any negative mod as 'unfair'. I went troll bashing with my mod points a couple of times. Lost all my karma and didn't get mod points for months.

    Karma bonus=off

  28. In related news... by Lisandro · · Score: 4, Informative

    ... witty scientists have found out math can also be used to design stuff, balance your checkbook, convert inches to meters and other everyday problems unsolvable without its magic!

    PS: As others pointed out, deconvolution (which is the process used here) is not a new concept. Far from it, in fact.

    1. Re:In related news... by Dunbal · · Score: 2, Interesting

      The problem is, to use math to

      a) balance your checkbook, you sort of have to know how much was in your account to start with, and how much you spent or have left;

      b) convert inches to meters, you have to have some idea of how many inches you want to convert, as well as remember the conversion factor.

      Now when you're taking a picture of your mom, and it turns out blurry, you can use any mathematical process to alter the image to your liking, and you will stop when the image SUBJECTIVELY looks good to you - yeah, hey, that's mom alright, nice and sharp. You already know what she's supposed to look like.

      But here we are taking a "picture" of something that NO ONE has ever seen before. So who the heck gets to decide what it's "supposed" to look like when they "sharpen" the image, and why should we believe their "best guess"?

      Garbage in - garbage out, no matter how much deconvolution you want to do.

      --
      Seven puppies were harmed during the making of this post.
  29. Should they be allowed? by kiddailey · · Score: 2, Funny


    Will NASA be allowed to use a calculator to solve the math problem? ;)

  30. Re:Don't believe everything NASA spews by dbIII · · Score: 2, Informative
    It is in fact possible to at least partially reconstruct blurry images as long as you have some idea about what kind of distortion or motion is causing your problems.
    One example I saw of this was used to examine the stucture in a portion of a tooth at the atomic level. Small atoms like Calcium could not be resolved with the equipment used (and perhaps still can't). By modelling a series of possible structures and applying the distortion expected from the microscope you could try models until you got the same fuzzy image the microscope produced, and so work out the structure.
  31. Gimp plugin for doing this by Ed+Avis · · Score: 2, Informative

    You can try this at home with the Gimp: Refocus.

    --
    -- Ed Avis ed@membled.com
  32. Deconvolution by Arthur+B. · · Score: 2, Interesting

    First of all, blurring is not a fully reversible process. If you convolute two signals, the smoothness of the convolution is essentially the smoothness of the smoothest signal ( can you say that rapidly ? ). Smoothing means convoluting with a smooth kernel, for exemple a gaussian (gaussian blurring). If you deconvolute it you will sharpen the image but keep the smoothness so information IS lost.

    Now it can give good results... the most common deconvulting filter is <a href="http://en.wikipedia.org/wiki/Wiener_filter>
    Wiener filtering</a> but I suspect they can come up with some more efficient non linear filter.

    Now the question is, if deblurring can be performed with deconvolution, how can my brain not learn to do it ! After all, my eyes are just unfocused so the compensation created by my lenses could be performed by my brain...

    --
    \u262D = \u5350
  33. Try it yourself! by nmg196 · · Score: 3, Informative

    You know in films when they get a really burry satellite image, and some hero guy goes "can we enhaance thaaat?". So some geek clicks a button and it goes a lot sharper, and you're thinking, "if only that worked in real life". Well it does and you can try it yourself. Here is some free software that allows you to have a play and "enhance" all those blurry pics you have lying around.

    I've tried this myself and it works quite well. I tried it on a picture I took of the moon with a 400mm lens and it made quite an impressive difference.

  34. The disturbing part about this... by Etherwalk · · Score: 2, Funny

    Is the idea of finding math. :) I love the article summary that makes it sound like NASA just sort of lobbed the thing into space, found it had blurry vision, and started looking an old drawer in the corner of the lab: "History. Nope, not helpful. Biology? Nope, no use. Psychology? We'd better send that one to the public relations dept. Math. Hey, that might be a good idea..."

  35. Not math, but digital signal processing by shd666 · · Score: 2, Insightful

    That is not math. It is digital signal processing. Math is about proofs of theorems. Digital signal processing is what the name describes ;) I hate it when they won't give credit for the field that really researches these problems.