Slashdot Mirror


Recovering Data From Noise

An anonymous reader tips an account up at Wired of a hot new field of mathematics and applied algorithm research called "compressed sensing" that takes advantage of the mathematical concept of sparsity to recreate images or other datasets from noisy, incomplete inputs. "[The inventor of CS, Emmanuel] Candès can envision a long list of applications based on what he and his colleagues have accomplished. He sees, for example, a future in which the technique is used in more than MRI machines. Digital cameras, he explains, gather huge amounts of information and then compress the images. But compression, at least if CS is available, is a gigantic waste. If your camera is going to record a vast amount of data only to throw away 90 percent of it when you compress, why not just save battery power and memory and record 90 percent less data in the first place? ... The ability to gather meaningful data from tiny samples of information is also enticing to the military."

206 comments

  1. CSI by fuzzyfuzzyfungus · · Score: 5, Funny

    Enhance!

    1. Re:CSI by El_Muerte_TDS · · Score: 2

      Enhance!

    2. Re:CSI by ceoyoyo · · Score: 1

      Seriously, watching a CS reconstruction is actually visually more impressive than what they do on CS. I coded up a demo and everyone calls it the magic algorithm.

    3. Re:CSI by Anonymous Coward · · Score: 0

      Rotate!

    4. Re:CSI by Anonymous Coward · · Score: 0

      Pics or it didn't happen!

    5. Re:CSI by halcyon1234 · · Score: 1

      [geek mode]

      It actually reminds me more of that ST:TNG episode with Yuta. They're able to take a picture with someone's face half-blocked out by scenery and other people. They're able to reconstruct the rest of the face based on the patterns that are there.

    6. Re:CSI by Anonymous Coward · · Score: 0

      Which keyboard button did you choose for the Kill Switch?

    7. Re:CSI by ceoyoyo · · Score: 2, Interesting

      Your AC wish is my command.

    8. Re:CSI by IgorC · · Score: 1

      I just wrote a post why compressed sensing is not CSI technology (yet!) http://nuit-blanche.blogspot.com/2010/03/why-compressed-sensing-is-not-csi.html

    9. Re:CSI by Anonymous Coward · · Score: 0

      "Filter to UV!" [pointing at 5 meters-high ceiling]

      clickety-click [square-meter stain appears]

        "Look! There's sperm there!"

    10. Re:CSI by Proteus+Child · · Score: 1

      Or extrapolating the shapes of buildings behind a character to figure out where a video was shot in one of the Tekwar movies.

      --

      Proteus' Child

      Doko ni datte; hito wa, tsunagette iru.

    11. Re:CSI by Anonymous Coward · · Score: 0

      Red Dwarf has CSI beat.

    12. Re:CSI by Anonymous Coward · · Score: 0

      While some of the things they do on that show are hilariously stupid, it isn't that far from the truth.

      Take a grid of pixels, say, a cube with an outline, and a diagonal split to form 2 internal triangles.
      You can zoom to infinity on that image while keeping it as an outline simple by converting everything to vectors and doing a smart smooth on everything.
      Edge Detection algorithms have become pretty impressive over the years.
      In fact, even Windows XP comes with a pretty decent zoom, especially considering the age of it. That is just average in comparison to the really good ones.
      The only problem is the really really good ones require a lot of resources.

      In most images, there is a lot of hidden data "between" pixels that do bounce back and fourth due to scatter and noise.
      With several frames, you have more of a chance of detecting the noise between pixels.
      Of course, since a lot of data storage these days is lossy, this isn't going to matter anyway... lossy CCTV, AMAZING IDEA.

      In fact, i am pretty sure there was some sort of "search engine" thing that allows you to draw a simple shape of things, describe each polygon and it will search for images to fill in those blanks.
      Forgot the name of it though. Pretty sure it was posted on here.

    13. Re:CSI by Anonymous Coward · · Score: 0

      Those look photoshopped. I can tell by the pixels and I have seen many 'shops in my day.

    14. Re:CSI by im_thatoneguy · · Score: 1

      Zoom in!

    15. Re:CSI by anss123 · · Score: 1

      FYI Internet Explorer renders your site just fine. It may not be pixel perfect but only one person in this world actually cares.

      Nice images.

      Cheers.

    16. Re:CSI by ceoyoyo · · Score: 1

      Thanks. I think that was back with an older version of IE and it would mess up the floating divs a bit. Nothing horrible. Good to hear they've fixed that.

    17. Re:CSI by Annymouse+Cowherd · · Score: 1

      Has anyone actually written a practical implementation of this in something other than MatLab?

    18. Re:CSI by ceoyoyo · · Score: 1

      Not that I know of. A quick google (on my iPhone, so I could easily have missed something) didn't turn anything up. I've got a simple version written in Python and C. I'm working on something more sophisticated that will be usable as a noise filter as well.

      If you're interested keep an eye on that page I posted and I'll try to put up some usable code as soon as I get around to it. Note that post docs sometimes take a while to get around to side projects though.

    19. Re:CSI by Nazlfrag · · Score: 1

      MacGuyver was doing it before anyone.

    20. Re:CSI by w0mprat · · Score: 1

      Enhance!

      It's not as simple as that. You also need a flashy fake UI on the computer that makes bleepy noises all the time, especially when characters arrive on the screen one by one.

      --
      After logging in slashdot still does not take you back to the page you were on. It's been that way for 20 years.
  2. Why not... by jbb999 · · Score: 4, Insightful

    If your camera is going to record a vast amount of data only to throw away 90 percent of it when you compress, why not just save battery power and memory and record 90 percent less data in the first place? ..

    Because it's hard to know what is needed and what isn't to produce a photograph that still looks good to a human, and pushing that computing power down to the camera sensors where power is more limited than a computer is unlikely to save either time or power.

    1. Re:Why not... by Anonymous Coward · · Score: 0

      Whoosh.

      (a) JPEG doesn't know either, as you can tell from JPEG images
      (b) RTFA

    2. Re:Why not... by Chrisq · · Score: 4, Insightful

      I think you are missing the point, throwing away 90% of the image was a demonstration of the capabilities of this algorithm. You would use it where you have only managed to capture a small amount of data, not capture the lot and throw away 90%.

    3. Re:Why not... by eldavojohn · · Score: 4, Interesting

      If your camera is going to record a vast amount of data only to throw away 90 percent of it when you compress, why not just save battery power and memory and record 90 percent less data in the first place? ..

      Because it's hard to know what is needed and what isn't to produce a photograph that still looks good to a human, and pushing that computing power down to the camera sensors where power is more limited than a computer is unlikely to save either time or power.

      If you read the article, the rest of that quote makes a lot more sense. Here it is in context:

      If your camera is going to record a vast amount of data only to throw away 90 percent of it when you compress, why not just save battery power and memory and record 90 percent less data in the first place? For digital snapshots of your kids, battery waste may not matter much; you just plug in and recharge. “But when the battery is orbiting Jupiter,” Candès says, “it’s a different story.” Ditto if you want your camera to snap a photo with a trillion pixels instead of a few million.

      So, while this strategy might not be implemented in my Canon Powershot anytime soon, it sounds like a really great idea for exploration or just limited resources in general. I was thinking more along the lines of making really crappy resolution low power cameras that are very cheap but distributing them with this software that takes the images on your computer and processes them to make them highly defined images.

      --
      My work here is dung.
    4. Re:Why not... by hitmark · · Score: 1

      so in other words, real life "zoom in and enhance"?

      or could it get as far as a esper like system?

      --
      comment first, facts later. http://chem.tufts.edu/AnswersInScience/RelativityofWrong.htm
    5. Re:Why not... by Idbar · · Score: 4, Interesting

      In fact, it's expected to be used to increase the aperture of cameras. The advantage of this, is that using random patterns you could be able to determine the kernel of the convolving pattern in the picture, therefore, you would be able to re-focus the image after it was taken. In regular photography that kernel is normally Gaussian and very hard to de-blur. But using certain patterns when taking the picture (probably implemented as micro-mirrors), you could, easily do this in post processing.

    6. Re:Why not... by petermgreen · · Score: 3, Informative

      (a) JPEG doesn't know either
      JPEG is built on the assumption that the higher frequency components are less important, so it spends less bits on representing those components than it does on the lower frequency ones.

      It's a pretty crude model (not least because of the block based architecture that makes it simple to implement but introduces artifacts at block boundries) but it still does a lot better than just throwing away pixels and/or reducing the bits per pixel in the original image.

      --
      note: i'm known as plugwash most places but i screwd up registering that here somehow in the past and now can't register
    7. Re:Why not... by Bakkster · · Score: 2, Interesting

      Kind-of.

      This technique is taking the noisy or incomplete data, and inferring the details already captured but only on a few pixels. So, if there's a line or square on the image but you only catch a few pixels on it, this technique can infer the shape from those few pixels. So, it will enhance the detail on forms you can almost see, but not create the detail from scratch.

      Rather than 'enhancing' the image, a better term would be 'upsampling'. The example used in the article was of a musical performance. This technique could take a 44.1kHz sample of a musical instrument at 8-bit resolution and upsample it to 96kHz and 32-bit resolution. Since instruments create predictable frequencies (aside from percussion, the same frequency is usually present for many times the wavelength) the algorithm can determine which frequencies are present, at which times, and at which amplitude and phase. That information can then be used to 'fill in the gaps' more accurately than normal upsampling (usually done with a Sinc filter). However, it can't recreate information that wasn't recorded in the first place, so if the audio was recorded at 20kHz you would only get output of audio below 10kHz (the Nyquist frequency in this case), although it's conceivable that even more advanced algorithms could infer these frequencies as most instruments have a predictable distribution of harmonics.

      It also seems that most compression algorithms (JPG for example) would destroy these bits of detail that the algorithm would use, so raw data is likely to be needed in most cases. I'm just going off of my knowledge of DSP, I don't know any particulars of this technique beyond this article, but it looks legitimate and very useful as long as you aren't expecting CSI-level miracles.

      --
      Write your representatives! Repeal the 2nd Law of Thermodynamics!
    8. Re:Why not... by Chrisq · · Score: 0, Troll

      You would use it where you have only managed to capture a small amount of data, not capture the lot and throw away 90%.

      Well, I guess that rules out its usefulness for Creation Scientists.

      They have the opposite problem. They want to take a lot of real data and process it in such a way that the result bears no resemblance to reality.

    9. Re:Why not... by Anonymous Coward · · Score: 1, Informative

      You have to understand that the digital camera example is a toy example, i.e., the theory works beautifully but it has little use in practice (in this particular configuration). The other example that is mentioned in the article (MRI) better showcases the advantages of CS. When it takes about 200s to take a full acquisition of the image, you can take much fewer measurements in ~40s and then reconstruct the image using a CS algorithm. There are other examples where using CS brings similar advantages in practice; mostly when acquiring a single measurement is either expensive or takes a long time.

    10. Re:Why not... by gravis777 · · Score: 2, Interesting

      Truthfully, I was thinking along the lines of taking a high resolution camera and making it better, rather than taking a low resolution camera and making it high. My aging Nikon is a 7.1 megapixel, with only a 3x optical zoom. There have been times I wanted to take a picture of something quick, so do not necessaraly have time to zoom or move closer to the object. After cropping, I may end up with a 1-2 megapixel image (sometimes much lower). For the longest, I thought I just needed more megapixels, and a faster and higher powered optical zoom. However, looking at the pictures I have, I am like, if someone could just come up with something to make this look better... There is usually plenty of detail there for my eye, if something would come in and soften jaggie edges, sharpen the overall picture, and understand textures (such as clothing)...

      Truthfully, with what I just talked about, I am looking for them to implement this in Photoshop so I can clean up some existing crappy photography of mine.

    11. Re:Why not... by Matje · · Score: 2, Interesting

      RTFA that's the point of the algorithm: the camera sensors don't need to calculate what is interesting about the picture, they just need to sample a randomly distributed set of pixels. The algorithm calculates the highres image from that sample.

      The idea behind the algorithm is really very elegant. To parafrase their approach: imagine a 1000x1000 pixel image with 24 bit color. There are 24 ^ 1000000 unique pixel configurations to fill that image. The vast majority of those configuration will look like noise. In real life you generally take pictures of non-noise things, like portraits etc. You might define a non-noise image as one where knowing the actual value of a given pixel allows a probability of predicting the value of a neighboring pixel that is greater than chance. A noisy image is one where knowing a given pixel value gives you no information about neighboring pixels at all.

      The algorithm provides a way to distinguish between image configurations that depict random noise and those that depict something non-random. Since, apparently, the ratio of non-random image configurations is so small compared to the noisy image configurations, you need only a couple of hints to figure out which of the non-random image configurations you need. What the algoritm does is take a random sample of a non-random image (10% of the original pixels), and calculates a non-random image configuration that fits the given sample. Even though in theory you might end up with Madonna from a picture of E-T, in practice you don't (and I believe they claim they can prove that the chance of accidentally ending up with Madonna is extremely small).

      It's all about entropy really.

    12. Re:Why not... by girlintraining · · Score: 3, Interesting

      In fact, it's expected to be used to increase the aperture of cameras. The advantage of this, is that using random patterns you could be able to determine the kernel of the convolving pattern in the picture, therefore, you would be able to re-focus the image after it was taken. In regular photography that kernel is normally Gaussian and very hard to de-blur. But using certain patterns when taking the picture (probably implemented as micro-mirrors), you could, easily do this in post processing.

      You people think in such limited terms. The military uses rapid frequency shifting and spread spectrum communications to avoid jamming. Such technology could be used to more rapidly identify the keys and encoding of such transmissions, as well as decreasing the amount of energy required to create an effective jamming signal by several orders of magnitude across the spectrum used if any pattern could be identified. Currently, massive antenna arrays are required to provide the resolution necessary to conduct such an attack. This makes the jamming equipment more mobile, and more effective at the same time. A successful attack on that vector could effectively kill most low-power communications capabilities of a mobile force, or at least increase the error rate (hello Shannon's Law) to the point where the signal becomes unusable. The Air Force is particularily dependent on realtime communications that rely on low-power signal sources.

      If nothing else, getting a signal lock would at least tell you what's in the air. Stealth be damned -- you get a signal lock on the comms, which are on most of the time these days, and you don't need radar. Just shoot in the general direction of Signal X and *bang*. Anything that reduces the noise floor generates a greater exposure area for these classes of sigint attacks. Cryptologists need not apply.

      --
      #fuckbeta #iamslashdot #dicemustdie
    13. Re:Why not... by wfolta · · Score: 2, Interesting

      Actually, you don't process and throw away information. You are not Sensing and then Compressing, you are Compressed Sensing, so you take in less data in the first place.

      A canonical example is a 1-pixel camera that uses a grid of micro-mirrors, each of which can be set to reflect onto the pixel or not. By setting the grid randomly, you are essentially doing a Random Projection of the data before it's recorded, so you are Compressed Sensing. With a sufficient number of these 1-pixel images, each with a different random mirror setup you can reproduce the original image to some level of accuracy, using fewer bits than a JPEG/etc of similar quality. Unlike JPEG, you are not taking in a full set of data, then compressing, so it takes LESS processing power, not more.

      So you save in image transmission bandwidth if the sensor is, say, orbiting Jupiter. And you save energy expended in compressing the image. And you could perhaps afford to make a VERY expensive single pixel imager that has an incredibly wide frequency range, which might be prohibitively expensive, or even impossible to fabricate in a larger array.

      Personally, I think there's a lot of hype to CS, but it's definitely not the same as JPEG/Wavelet/etc compression after taking a full-resolution image.

    14. Re:Why not... by yodleboy · · Score: 1

      "Even though in theory you might end up with Madonna from a picture of E-T"

      and how would anyone be able to tell the difference?

      i do hope something like this makes it into a photoshop plugin.

    15. Re:Why not... by idontgno · · Score: 1

      Ok. The gross simplification makes this sound like pixel homeopathy. Or the Total Perspective Vortex. "We can reliably infer almost anything from almost nothing" lies down that road.

      I remain unconvinced.

      --
      Welcome to the Panopticon. Used to be a prison, now it's your home.
    16. Re:Why not... by SQLGuru · · Score: 1

      And in fact, were that camera orbiting Jupiter, it would only have to send the 10% data back to Earth where the reconstruction could take place. It turns into "real-time" compression.

    17. Re:Why not... by Anonymous Coward · · Score: 0

      Yes, true, most people here think not in terms of applications for killing people.

    18. Re:Why not... by Idbar · · Score: 1

      You people think in such limited terms.

      I talk about what I know and I work on. I am not in the military, and couldn't care less about such kind of applications. Of course there are tons of applications, including several of dimensionality reduction for faster intrusion detection mechanisms, but I find photography more appealing.

    19. Re:Why not... by Anonymous Coward · · Score: 1, Insightful

      what's wrong with killing people? There are too many here anyway, you and me included...

    20. Re:Why not... by shabtai87 · · Score: 3, Interesting

      Amusingly enough, the idea of compressed sensing (I will rephrase for clarity) that a minimal sampling is needed for working with high dimensional data that can be described in a much smaller subspace at any given time has been used to describe neural processes in the visual cortex (V1). [See Redwood Center for Theoretical Neuroscience, https://redwood.berkeley.edu/%5D. The lingo used is a bit different than the CS community, but the math is essentially the same. The point being that compressed sensing could lead to answers a lot more natural for human perception than simply canceling out high frequencies.

      Also the point is that CS leads to [near] perfect reconstruction for signals of a certain nature rather than the fuzzyness that comes from some other algorithms that do not take the inherent sparsity of the signal into account.

      --
      @humanity: *facepalm*
    21. Re:Why not... by Bakkster · · Score: 1

      Absolutely nowhere do they claim they can pull details that don't exist out of nothing. This is simply a better version of interpolation. Currently, when we're missing data we usually just look at the adjacent pixels to determine what should go in between. This algorithm looks for the patterns (particularly blocks) in the pixels for what should go in-between (see here for examples).

      The assumption is that for most pictures (or other datasets of interest) your data is not random, it has some form of pattern. In fact, completely contrary to pixel homeopathy, the original image must have at least 1 pixel of the detail in question to be reconstructed in the final image, otherwise the reconstruction 'paints' over it with the surrounding details (pattern). The example given is pretty good as far as an image: taking a full resolution image and compressing (with JPG, for example) to 20% original size will yield a picture with similar detail by taking only 20% the pixels originally and using this algorithm. Look at heavily compressed images, and tell me if you think this is a miracle cure.

      If you read TFA it explains the process pretty well (just ignore the 'simulation image'). It's just the /. headline that makes the bogus claim "Recovering Data From Noise".

      --
      Write your representatives! Repeal the 2nd Law of Thermodynamics!
    22. Re:Why not... by ceoyoyo · · Score: 1

      I might have misunderstood you but I don't think you can properly compare what you're talking about to changing the aperture of a camera and if you could it would be decreasing the aperture (more things in focus), not increasing it. I think you're also talking about other techniques, such as acquiring the whole lightfield, that might well be made more practical by CS but aren't really the same thing.

    23. Re:Why not... by radtea · · Score: 1

      You people think in such limited terms.

      Thinking in commercial terms is hardly limited. Thinking in terms of the deadweight loss industry is vastly more limiting, in every respect.

      I really don't understand why people get so excited about the deadweight loss industry. Anyone who understands anything about economics knows how utterly irrational it is. I guess the world will always be full of emotionally-driven, unstable, irrational people who think that deadweight loss spending is a good idea. Fortunately some of us are more rational than that, and capable of focussing on things that are actually productive, useful and life-enhancing.

      --
      Blasphemy is a human right. Blasphemophobia kills.
    24. Re:Why not... by Big_Breaker · · Score: 1

      This technique is not about detection but about "filling in the blanks" for signals that are highly ordered but for which you have limited samples.

      Encrypted military communications are not "sparse" as they have very high entropy. Said another way... it is too random for any "filling in the blanks" - so this technique doesn't work well for them - spread spectrum or otherwise. There is a big difference between reconstructing f(t)=t^2 + 4t + 7 from two samples (always perfect) and rand(t) which never works. Encrypted signals look as much like rand(t) as possible of course. In fact the set of signals you seem to think will be easily detected is in fact the precise sort that it cannot easily untangle. It would convert encrypted jibberish into mangled, encrypted jibberish.

    25. Re:Why not... by Anonymous Coward · · Score: 0

      then go radio silence and trust your pilots
      this is the only thing that works without somehow figuring out quantum entanglement

    26. Re:Why not... by ImprovOmega · · Score: 1

      That's why I find wavelet based techniques much more elegant (such as the JPEG-2000 algorithms). You conserve the low frequency information across the entire image rather than just at certain block boundaries. It's a little more computationally intensive, but the improvements in both PSNR (objective) and human viewpoint (subjective) for the same bitrate make it well worthwhile. Plus with an encoder you only have to encode with some basic profile (leaving out much of the tiling and precinct logic) so overall it should be simple enough to get onto a chip in a camera. The other bonus is the JPEG-2000 spec has a provision for lossless encoding. Then you could just transcode it to whatever you want with minimal data loss and artifacts. I honestly don't know why it isn't used more often...

    27. Re:Why not... by Anonymous Coward · · Score: 0

      No. See my point (b).

      CG is not throwing away pixels. In a nutshell, CG performs FFT on the image, then throws away random FFT coefficients. But every pixel contributes to those random coefficients. Then, under certain assumptions, reconstruction is *exact*.

      JPEG is not "a lot better than" exact.

      Many people's comments on this come from a knee-jerk reaction based on what they know about the theory of regular sampling (Nyquist, Shannon, etc.). This is an entirely new sampling paradigm so none of that stuff applies.

      (OTOH your comment is technically correct. JPEG does better than throwing away pixels and/or reducing the bpp. But that's not relevant to this discussion since it's not at all what's being proposed.)

    28. Re:Why not... by Bigjeff5 · · Score: 1, Insightful

      I just want to point out that everything tied to the government is dead weight. The military is one of the only truly necessary endeavors the government pursues that actually helps the economy. It doesn't do this by adding to the economy, far from it, it is still quite a drain on the economy. However, without a stable government and a strong military to protect against outside forces, the economy would not be able to exist in any stable way. Look at countries like Haiti that are in constant uprising to see what I mean. Earthquake notwithstanding, their economy could never gain a foothold because the government and military are unstable.

      The majority of the rest of what the government does, however, just drains our economy and adds little to nothing of benefit (or at least the gain is far overshadowed by the cost).

      --
      Security is mostly a superstition... Avoiding danger is no safer in the long run than outright exposure. - Helen Keller
    29. Re:Why not... by ceoyoyo · · Score: 1

      What you really need is a better (bigger, heavier) lens. In most cameras post-megapixel race the maximum angular resolution is usually limited by the lens, not the sensor resolution. CS and/or sensor upgrades can't correct for that because the information doesn't actually make it through the glass to be recorded.

      If you just want to make those pictures look better, you can probably get some good results with some of Photoshop's edge enhancing and sharpening filters. CS also makes a wicked noise filter (noise is not sparse and so is suppressed by CS) so it might be able to help you there.

    30. Re:Why not... by Idbar · · Score: 1

      My bad, I should have put modify the aperture (probably exposure better suits here) after the image is taken. You are right in the sense that it may be used to make everything in focus, but you could also use it for focusing one particular thing. Thanks for pointing that out.

    31. Re:Why not... by kramulous · · Score: 1

      Wow ... Troll. I would've gone insightful on that one.

      --
      .
    32. Re:Why not... by complete+loony · · Score: 1

      And of course this plugin would work best if it knew the raw file format and exact colour pixel layout of the CCD in your camera. You should then be able to use the different RGB sub-pixel values, and their positions to build a far more detailed image.

      --
      09F91102 no, 455FE104 nope, F190A1E8 uh-uh, 7A5F8A09 that's not it, C87294CE no. Ah! 452F6E403CDF10714E41DFAA257D313F.
    33. Re:Why not... by miggyb · · Score: 1

      ...imagine a 1000x1000 pixel image with 24 bit color. There are 24 ^ 1000000 unique pixel configurations to fill that image....

      My brain had a buffer overflow. Can I imagine a smaller image, say 10x10 pixels, 256 colors?

      --
      This signature serves no purpose other than to help you see which posts were made by me.
    34. Re:Why not... by girlintraining · · Score: 1

      In fact the set of signals you seem to think will be easily detected is in fact the precise sort that it cannot easily untangle. It would convert encrypted jibberish into mangled, encrypted jibberish.

      Not if you can lower the noise floor by using predictive algorithms. GPS works on just such a principle -- just think a little bigger. Current methods only work because they're so hard to distinguish between random "static". Less random "static" means more signal gain. More signal gain means faster lock-on time and better signal recovery.

      --
      #fuckbeta #iamslashdot #dicemustdie
    35. Re:Why not... by pugugly · · Score: 1

      That is based on the assumption that no money spent by the government results in a net gain for the economy.

      Why exactly a certain segment of the populace operates on this long disproven assumption I honestly don't know, it seems to have the same relationship to economics as intelligent design has to biology (And however much a logical fallacy it is to make decisions on this basis, a consider overlap among the subscribers to each view).

      Defense spending on the other hand, while entirely justifiable up to a point, is a net loss. When our military budget is on a scale in which the question is whether the entire rest of the world, all together, matches our budget, one suspects the point of diminishing returns is well over the horizon behind us.

      Pug

      --
      An Invisible Entity of Vast Power whose existence must be taken on faith alone: Liberal Media
    36. Re:Why not... by daver00 · · Score: 1

      However, it can't recreate information that wasn't recorded in the first place, so if the audio was recorded at 20kHz you would only get output of audio below 10kHz (the Nyquist frequency [wikipedia.org] in this case), although it's conceivable that even more advanced algorithms could infer these frequencies as most instruments have a predictable distribution of harmonics.

      It also seems that most compression algorithms (JPG for example) would destroy these bits of detail that the algorithm would use, so raw data is likely to be needed in most cases. I'm just going off of my knowledge of DSP, I don't know any particulars of this technique beyond this article, but it looks legitimate and very useful as long as you aren't expecting CSI-level miracles.

      From what I understand, neither of these statements are in fact the case. Firstly, Compressed sensing is capable of reconstructing data at significantly sub-Nyquist sampling rates, the Nyquist criterion does not apply at all in this case. Secondly, as far as I'm aware, JPG data will work fine, although I think it is possible that some noise may be interpreted as structure, but that is not to say it won't work. In fact that basis in which you construct the data is some sort of fourier, cosine or wavelet basis, which is pretty much what JPG does.

      CS works by the assumption that your data is sparse on some basis, that completely rules out the idea that you can simply sample pixel data at random and reconstruct the image. What you have to do is sample data from a sparse basis, essentially you need to take random bits of information from something like the fourier transform or wavelet transform of the image, and what you can reconstruct is the complete set of information about this transformed data set. There is no magic tricky algorithm, just a very very sophisticated proof, in fact the algorithm for compressed sensing (there are many) is any linear programming algorithm (simplex, interior point, etc). Compressed sensing says that if you randomly sample data points from a sparse data set, then the true data set is the most sparse reconstruction you can make that agrees with your sample. This is done by minimising the l1 norm of your data set, given that your reconstruction remains consistent with your sample set. Or more precisely, given an unknown data set x, random sampling matrix A and the resultant sample, b, x can be recovered by the following:

      min ||x||_1 such that Ax = b

      The logic behind it is completely abstract from any notion that you need to know something about the image to reconstruct it (other than the assumption that it is sparse), you are not so much inferring details of the image from the sampled data as you are saying this: assuming that your data set is sparse, a random selection of that data set contains all the information about its sparsity.

    37. Re:Why not... by daver00 · · Score: 1

      CS has actually been used in the seismic community since the 70s, seismologists have simply been assuming they could do this because thats all the data they had to work with.

      In 2006, Terry Tao and Emmanuel Candes proved that this is true, and described the framework under which it is true.

    38. Re:Why not... by shabtai87 · · Score: 1

      Interesting. Were they learning kernels or using random ones?

      --
      @humanity: *facepalm*
    39. Re:Why not... by Virtual_Raider · · Score: 1

      Absolutely nowhere do they claim they can pull details that don't exist out of nothing. This is simply a better version of interpolation.

      This sounds like an amazing technique to incorporate in upscaling algos. You could blow up cellphone rez video up to full HD without it looking like a Van Gogh. But what I would really like to see is what happens if you take something that's already HD and run it through this. Other than an obscenely large file, would it look more lifelike? Would it look better than those full spectrum pics or whatever they are called?....

      --
      +Raider of the lost BBS
    40. Re:Why not... by daver00 · · Score: 1

      I honestly don't know. Tao gave a talk at my university on the topic and made mention of it, so thats all I know.

      What is even more interesting is Candes happened across this by sheer accident. Apparently he was trying to clean up some MRI images using l1 minimisation or something and instead of a slightly de-noised picture (what he expected) he ended up with a pixel for pixel reconstruction.

    41. Re:Why not... by shabtai87 · · Score: 1

      That's pretty interesting because pure compressed sensing uses an L0 constrained minimization (min |a|_0 such that ||x-D*a||_2^2 epsilon). The L1 minimization is a not quite so trivial equivalent problem (min |a|_1 such that ||x-D*a||_2^2 epsilon) given that a is sparse enough. Although I do think that they knew it was equivalent before the rigorous proof was established.

      --
      @humanity: *facepalm*
    42. Re:Why not... by Bakkster · · Score: 1

      From what I understand, neither of these statements are in fact the case. Firstly, Compressed sensing is capable of reconstructing data at significantly sub-Nyquist sampling rates, the Nyquist criterion does not apply at all in this case.

      If the sampling rate is constant, the Nyquist frequency will still apply. Consider: at 20kHz constant sampling, a 21kHz wave's sparsest representation would be at 1kHz. This could be solved while still taking fewer samples by 'chirping' the sample rate. As you pointed out, this technique works best for random data points.

      Secondly, as far as I'm aware, JPG data will work fine, although I think it is possible that some noise may be interpreted as structure, but that is not to say it won't work. In fact that basis in which you construct the data is some sort of fourier, cosine or wavelet basis, which is pretty much what JPG does.

      Yes, my thought is that any noise on highly-compressed JPG would be viewed as structure. More importantly, the CS would be trying to work backwards from what the JPG filtered out in a similar fashion. I see no way for a JPG compressed to 20% then run through CS would be better (or maybe even equal) quality as the original. I think the better method would be to just take 20% of the samples randomly, where the CS is not hindered by a 'haze' from the JPG artifacts.

      --
      Write your representatives! Repeal the 2nd Law of Thermodynamics!
    43. Re:Why not... by gravis777 · · Score: 1

      Yeah, I know bigger lense is better. Working on upgrading to a true dslr now. Problem is, I got ten years (and counting) of images taken with various Nikon, Fuji and Canon Point and Shoot cameras (and, shudder, many taken with friends' Kodaks).

      The Photoshop edge enhancing and smart sharpening actually do do a great job, and doing some color correction really helps. CS4 has additional tools that really help me on badly lit photos (usually taken by my friends, I thankfully learned pretty early about lighting).

      Basically, I am looking for something that will allow me to enlarge without getting pixelated into oblivian and enhancing JPEG compression noise (yes, I know about JPEGS, and if my camera had a RAW or TIFF setting, I would use it - for now I am settling with the least amount of compression). Its not like I am trying to add frekles to someone's face in the background of a picture when it isn't visable in the original, I simply want some plugin with an algorithm that will detect colors, create a smooth blend (taking out, i guess you could call it macroblocking), detect edges with those colors (IE can tell the difference between, say, a person's shirt and their arm), detect where said color ends and begins and determine whether to replace jagged edges with a line or a curve, and then the shape of the curve. If the algorithm is good enough, might also be able to detect textures too (differences in color shade) and enhance that a bit too. I mean, unless you just zoom the crap out of a picture, there is usually enough information there that you should be able to do SOMETHING with it.

    44. Re:Why not... by Big_Breaker · · Score: 1

      I am not an expert on how GPS works but real world RF noise and encrypted frequency hopping military comms both look like noise. They are not sparse and no "filling in the blanks" will change that especially with the one buried in the other. Even the sequence of frequency hopping is intended to be pseudo random.

      The "key" for following the frequency hopping and picking out the signal is itself a pseudo random key. Then the comm itself commonly has encryption.

      This technique is about filling in data that is in some ways redundant and therefore compressible. The algorithm tries to figure out the lowest "entropy" uncompressed "plaintext" that would have sub samples consistent witht eh observed signal. Encrypted data and noise is devoid of redundancy and is incompressible by definition. No filtering or gap filling or anything is going to change that. It's not the black box from "Sneakers".

      My voice is my passport, verify.

    45. Re:Why not... by daver00 · · Score: 1

      Absolutely you will not get data back that was lost in the jpeg compression, and CS WILL treat jpeg artifacts as structure.

      What I mean when I say you do not have to sample at the Nyquist rate is that you do not have to take the required number of samples specified to get the higher frequencies (n > 2f where f is your highest freq), however you do have to capture these frequencies in your random sample. This is a guarantee if you sample randomly. The point of compressed sensing is that the Nyquist rate *does not apply* to sparse signals. CS specifies sampling rates significantly lower than the Nyquist rate, and can recover data accurately in this setting. This is very new mathematics, and challenges very old and very strong paradigms, but it is true.

    46. Re:Why not... by Bakkster · · Score: 1

      Right, that's what I meant. I think we're on the same page, just talking about two different things.

      So basically, this technique can only gain limited information from our current constant sampling-frequency methods. However, once we start taking samples randomly, all bets are off, old rules don't apply, and we end up with better information.

      --
      Write your representatives! Repeal the 2nd Law of Thermodynamics!
    47. Re:Why not... by slashdotjunker · · Score: 1

      Are you sure that JPEG is built on the assumption that the higher frequency components are less important? I doubt that any image processing expert would make a statement like that.

      IMHO, JPEG was successful because of two important properties: (a) throwing away the hard to compress data and (b) using a compression algorithm that specifically targets the easy to compress data. It sounds so obvious when I state it like that but the difficult part is figuring out how to implement it. In the domain of natural pictures, (a) and (b) translated into high frequency components and a smooth block interpolation. JPEG chose to employ an expensive DCT transform. This was worth the extra cost because it could discard the high frequency components while simultaneously generating the interpolated low frequency data. It's got both (a) and (b) wrapped up into one tight little package.

      I might be going senile, but I don't recall anybody saying that it was a good idea to throw away the high frequency components. Rather, JPEG was promoted exclusively for images that did not originally contain high frequency components. However, the juicy compression ratio was too hard to pass up and JPEG became widely used for compressing everything, much to the chagrin of those that understood the technology.

  3. Wouldn't it be easier... by bsDaemon · · Score: 1

    to just subscribe to Cinemax instead of going through all this trouble to de-scramble the pr0n?

    1. Re:Wouldn't it be easier... by Anonymous Coward · · Score: 0

      A true geek never pays for pr0n!

  4. Come again? by Errol+backfiring · · Score: 1

    If your camera is going to record a vast amount of data only to throw away 90 percent of it when you compress, why not just save battery power and memory and record 90 percent less data in the first place? ..

    That's what a digital camera is about, isn't it?

    --
    Nae king! Nae laird! Nae yurrupiean pressedent! We willna be fooled again!
    1. Re:Come again? by Anonymous Coward · · Score: 0

      I don't know what he's on about. I shoot RAW.

    2. Re:Come again? by rnturn · · Score: 1

      If your camera is going to record a vast amount of data only to throw away 90 percent of it when you compress, why not just save battery power and memory and record 90 percent less data in the first place? ..

      That's what a digital camera is about, isn't it?

      Perhaps if you're using some low-end digital camera but not if your camera allows you to save images in RAW format. Sort of like it was in the days you might have spent in the darkroom: if it ain't on the negative you're not going to get it back in the darkroom. Why throw information away before even viewing it? The only reason to compress images (IMHO) is if you're going to put them up on a web site or transmit them via email. Yeah, compressed images allow you to save more on the memory card but memory card prices are such that you can throw a much bigger card than the one that shipped with the camera and shoot all day long. (I have an older camera that only takes up to 4GB cards and I still haven't been able to fill it up in less than a day.)

      I guess I don't see the advantage to throwing away imagery information and praying that a mathematical algorithm might be able to get it back.

      --
      CUR ALLOC 20195.....5804M
  5. I am a bit worried about the "fill in the shapes" by Chrisq · · Score: 3, Insightful
    From TFA

    The algorithm then begins to modify the picture in stages by laying colored shapes over the randomly selected image. The goal is to seek what’s called sparsity, a measure of image simplicity.

    The thing is in a medical image couldn't that actually remove a small growth or lesion? I know the article says:

    That image isn’t absolutely guaranteed to be the sparsest one or the exact image you were trying to reconstruct, but Candès and Tao have shown mathematically that the chance of its being wrong is infinitesimally small.

    but how often do analysis like this make assumptions about the data, like you are unlikely to get a small disruption in a regular shape and if you do it is not significant.

    on the bright side, when Moore's law allows real-time processing we can look forward to night vision cameras which really are "as good as daylight", and for this sort of application the odd distortion really won't matter so much.

  6. Compressed message by Anonymous Coward · · Score: 0

    fgr ts ot no bch!

    1. Re:Compressed message by theIsovist · · Score: 1

      In all seriousness, the AC has a point. given 10% of anythingand extrapolating the other 90% is a difficult task at best. This is assuming that the 10% are the most important parts. As with all low res images, any subtleties will be lost.

    2. Re:Compressed message by ceoyoyo · · Score: 1

      No. For typically levels of undersampling CS reconstructs the image perfectly. Yes, it's not exactly intuitive, but it does work.

    3. Re:Compressed message by Anonymous Coward · · Score: 0

      You can't make up information. You have randomly not observed parts of your system, so you don't know what those parts look like. Anything any algorithm can do beyond that is guess about the parts that were not observed, one way is to smooth, and one way is to apply shapes, and this algorithm appears to do, and both can be as wrong as a poop sandwich.

    4. Re:Compressed message by ceoyoyo · · Score: 1

      You're missing the key feature: the image is sparse. That means it contains redundant information. What CS does is sample enough to acquire all the necessary information, but avoids sampling some of the redundant bits, so there's no need to make up information.

      The description of the algorithm in the article is terrible - don't base your opinion on it. Check out the rest of the comments - some people (including me) have posted better descriptions.

  7. Military applications by rcb1974 · · Score: 3, Interesting

    The military probably wants the ability to send/receive without revealing the data or the location of its source to the enemy. For example, its nuclear subs need to surface in order to communicate, and they don't want the enemy to be able to use triangulation to pinpoint the location of the subs. So, they make the data they're transmitting appear as noise. That way if the enemy happens to be listening on that frequency, they don't detect anything.

    1. Re:Military applications by cxx · · Score: 0

      Although this might be one application, it's more likely that the military would want to use it for intelligence gathering: imagine how much information is out there, if only we could separate it out from the noise?

      Reading the article, however, I'm not sure that this by itself would serve much purpose even then, though, given digital communications. Someone feel free to correct me if I'm wrong on that point.

    2. Re:Military applications by Kanel · · Score: 1

      No. Encryption creates "noiselike" data already while the spread-spectrum method of radio transmissions spread the data in different frequencies. But it could still be detected as a source emitting electromagnetic radiation.

    3. Re:Military applications by icegreentea · · Score: 1

      When subs (at least US subs) surface to talk, they use highly directional satellite links. You pretty much have to position yourself between the sub and the satellite to pick up the transmission. They also like to use burst transmission for as much stuff as they can. Being short in time makes it pretty tough to pick out too.

  8. applications by Anonymous Coward · · Score: 0

    Digital photography - compensate for noisy sensors.

    Code breaking

    Code making

    telecommunications

    video compression

    I see some really interesting products coming down the line.

    1. Re:applications by maxwell+demon · · Score: 1

      This should be the perfect upscaling algorithm. Get perfect HD material from your old VHS cam!

      --
      The Tao of math: The numbers you can count are not the real numbers.
  9. Demo image by ChienAndalu · · Score: 3, Insightful

    I seriously doubt that the Obama demo image is real. There is no way that the teeth and the little badge on his jacket are produced, and that no visual artifacts were created.

    1. Re:Demo image by sammyF70 · · Score: 4, Informative

      indeed. check the caption :
      "Photos: Obama: Corbis; Image Simulation: Jarvis Haupt/Robert Nowak" (emphasis added by me)

      --
      "DRM is like the Ford Pinto: it's a smooth ride, right up the point at which it explodes and ruins your day."-C.Doctorow
    2. Re:Demo image by Anonymous Coward · · Score: 0

      Like CSI they started at image 5, and worked backwards..

    3. Re:Demo image by Anonymous Coward · · Score: 1, Insightful

      It absolutely could be, just read the article: "Eventually it creates an image that will almost certainly be a near-perfect facsimile of a hi-res one."!

    4. Re:Demo image by ceoyoyo · · Score: 2, Informative

      "Image Simulation" likely means that they simulated the acquisition. The recovery of the "after" image from the "before" image is probably as shown, it's just that the "before" image was not acquired from an actual camera. Those results don't look particularly amazing for compressed sensing. See this for example.

    5. Re:Demo image by l00sr · · Score: 1

      For real images created using compressed sensing, check out Rice's one-pixel camera.

    6. Re:Demo image by sammyF70 · · Score: 1

      hmm .. call me blind, maybe it's the low resolution, but I don't see much difference between D and F.

      --
      "DRM is like the Ford Pinto: it's a smooth ride, right up the point at which it explodes and ruins your day."-C.Doctorow
    7. Re:Demo image by ceoyoyo · · Score: 1

      Yes, that's the idea. D is the original, E is the undersampled and F is the CS reconstructed image. F is visually identical to D, meaning the reconstruction worked very well.

      Incidentally, that's not really low resolution. A typical MR image is about 256x256. I think I made that image 1024 pixels across and there are three images across with a bit of space between, so the individual images are pretty close to actual size.

    8. Re:Demo image by sammyF70 · · Score: 1

      ah. sorry. I misunderstood what I was seeing. I thought D was the scanned image, E was D being processed, and F the result. Then yes, you are indeed right, it is impressive!

      --
      "DRM is like the Ford Pinto: it's a smooth ride, right up the point at which it explodes and ruins your day."-C.Doctorow
    9. Re:Demo image by xtracto · · Score: 1

      I checked several of the

      bibliography references

      . Unfortunately (for me I guess) it seems state of the current work is highly theoretical and the only available applications are in MatLab.

      It would be interesting to get a concrete implementation for audio or picture processing. I tried playing with SLEP but the MatLab examples do not process concrete pictures (only pseudo randomly generated data).

      Let's hope we get some more concrete software in a short time

      --
      Ubuntu is an African word meaning 'I can't configure Debian'
    10. Re:Demo image by xtracto · · Score: 1

      whoops... that should have been Bibliography references

      --
      Ubuntu is an African word meaning 'I can't configure Debian'
    11. Re:Demo image by ceoyoyo · · Score: 1

      I'll try to post some Python/C code on the page I liked to in the GP. It might take a while - I'll have to modify the C bindings so they'll work on non-macs.

  10. Re:I am a bit worried about the "fill in the shape by Yvanhoe · · Score: 4, Insightful

    Exactly. This algorithm doesn't create absent data nor does it infer it, it just makes the uncertainties it has "nicer" than the usual smoothing.

    --
    The Wise adapts himself to the world. The Fool adapts the world to himself. Therefore, all progress depends on the Fool.
  11. forgot to mention... it works both ways by rcb1974 · · Score: 1

    If the enemy uses this same technology against us, then the military wants to be able to recover as much information as they can.

    1. Re:forgot to mention... it works both ways by silverglade00 · · Score: 1

      So then they are sending out noise and we are sending out noise. They are turning it back into the complete message and so are we. Back to square one, but at least we spent enough money to justify the budget.

    2. Re:forgot to mention... it works both ways by rcb1974 · · Score: 1

      Exactly... Its all just a technology race and often a big waste of money since a large portion of the work people do developing military technology doesn't directly benefit society.

      Everyone is bound by the laws of universe. Just because one country has a particular technology, doesn't prevent another country from independantly developing it (remember how China blasted that satellite to smitherines?).

      If we don't want our enemies (or "frenemies") to be able to independantly develop military capabilties, then we need to reduce the amount of money they have to spend on R&D. Example: If we don't want Iran to become nuclear, then why aren't we drastically reducing our dependance on oil and encouraging (via incentives) our allies to do the same thing? We could be going green and cutting off Iran's purse strings at the same time.

  12. Where's the plug-in? by voodoo+cheesecake · · Score: 1

    It would be nice to have a GIMP plug-in for this.

  13. Questions... by mcgrew · · Score: 0, Redundant

    Does this only apply to image data, or will we be able to use this to clean up other databases? Will it work with sampled sounds? Names and addresses and inventory?

    More importantly, HOW does it work?

    Sorry of TFA answers these questions, but I've never known Wired to get into any kind of detail on stuff like this.

    1. Re:Questions... by Idbar · · Score: 1

      It works at the moment of acquiring the signal. Let's say for example that when you use Fourier you project your signal into the frequency domain using sinusoidals as orthogonal bases. In this case, you project into another domain using random orthogonal projections.

      Thus, "compressing" signals requires of a knowledge of the sparsity of the signal acquired, that helps to design those "random" bases. Using those random bases to acquire the signal ensure that it will be recoverable.

    2. Re:Questions... by azaris · · Score: 2, Insightful

      Does this only apply to image data, or will we be able to use this to clean up other databases? Will it work with sampled sounds? Names and addresses and inventory?

      Of course not. It's not magic. There are certain assumptions that can be made about most real-life images, mainly that they have small total variance. That means they have large areas of near-constant intensity/color distribution separated by interfaces with large jumps (like a cartoon image would have).

      Though this method uses the l_1 norm and not total variation.

      More importantly, HOW does it work?

      See here.

    3. Re:Questions... by Bakkster · · Score: 1

      More importantly, HOW does it work?

      Sorry of TFA answers these questions, but I've never known Wired to get into any kind of detail on stuff like this.

      From TFA:

      The key to finding the single correct representation is a notion called sparsity, a mathematical way of describing an image’s complexity, or lack thereof. A picture made up of a few simple, understandable elements — like solid blocks of color or wiggly lines — is sparse; a screenful of random, chaotic dots is not. It turns out that out of all the bazillion possible reconstructions, the simplest, or sparsest, image is almost always the right one or very close to it.

      So any dataset that is likely to be smooth can be improved with this technique. They give the example in TFA of piano music (except for percussion, the frequencies present are consistent for a significant period of time). Names, addresses, and inventory are for all intents and purposes here random. You can't determine the address of someone in a database by looking at the adjacent entries.

      --
      Write your representatives! Repeal the 2nd Law of Thermodynamics!
    4. Re:Questions... by ceoyoyo · · Score: 1

      The L1 norm is generally computed on the wavelet transform of the image, not the image itself. Total variation is usually minimized in tandem because it tends to produce better reconstructions.

  14. What if you feed it noise? by Anonymous Coward · · Score: 0

    So, if I feed this algorithm an image that actually IS noise, what do I get?

    Pictures of angels?

    1. Re:What if you feed it noise? by maxwell+demon · · Score: 1

      So finally we can do a Rorschach test on computers?

      --
      The Tao of math: The numbers you can count are not the real numbers.
    2. Re:What if you feed it noise? by NeoSkandranon · · Score: 1

      the face of yaweh. Careful...

      --
      If you can't see the value in jet powered ants you should turn in your nerd card. - Dunbal (464142)
    3. Re:What if you feed it noise? by kramulous · · Score: 1

      If we get goatse (or whatever) I'm gonna be pretty pissed at nature.

      --
      .
  15. Useful but don't overdo it by davidwr · · Score: 1

    When it comes to art photography, I for one would rather have a RAW image than a compressed one.

    Why? What the camera takes is not my final output. I want to be able to choose what to manipulate and remove.

    Now, for everyday snapshots, there might be something here. But as others pointed out, it might be less efficient to do the compression in the sensor than the way it's being done today.

    As for other applications, time will tell.

    --
    Knowledge is how to play a game, intelligence is how to win, wisdom is knowing what game to play.
    1. Re:Useful but don't overdo it by John+Hasler · · Score: 1

      > But as others pointed out, it might be less efficient to do the compression
      > in the sensor than the way it's being done today.

      Compression is done in the camera today. The proposal is to have the camera simply throw away a random subset of the pixels instead of compressing and then use this algorithm later on a computer to "restore" the image.

      --
      Warning: this article may contain humor, sarcasm, parody, and perhaps even irony. Read at your own risk.
    2. Re:Useful but don't overdo it by BetterSense · · Score: 0

      When it comes to art photography, I for one would rather have an original film copy that I can choose to scan or optically print rather than only a digital image, raw or otherwise.

    3. Re:Useful but don't overdo it by Emb3rz · · Score: 1

      The proposal as I read it was to take a small, random subset to begin with. Why sense 10MP and discard 8MP when you can sense 2MP and get a full, almost perfect 10MP shot afterwards?

  16. Re:I am a bit worried about the "fill in the shape by Anonymous Coward · · Score: 0

    It is clear that in order for this to work it needs a "model" of the real world. In his simple case the model is "everything has smooth colours" which matches his test image really well. Trying to find an unexpected detail in a large image would be impossible with this model.

    However if you have a good model of what you expect then it will probably find it. Much like voice compression is very efficient because we know what to expect, if you have a good model of what you expect it will reconstruct it from limited data.

    From a legal point of view it is creating what you expect to find from nothing so it may have a tendency to find what you are expecting! So not much use in court where it just proves your assumptions.

  17. Re:I am a bit worried about the "fill in the shape by Anonymous Coward · · Score: 0

    The Medical Imaging has enough "artefacts" in the image as it is.

  18. I could do this in PhotoShop. by jellomizer · · Score: 3, Funny

    After applying the Noise filter to mess up my image I hit Undo and my image is back to normal.

    --
    If something is so important that you feel the need to post it on the internet... It probably isn't that important.
  19. Holy Bad Acronym Batman by damn_registrars · · Score: 3, Insightful

    Did we really need to refer to it as CS in the summary? A quick glance of the summary could lead one to think that this guy is the inventor of Computer Science, rather than the correct Compressed Sensing... In the summary of an article that is concerned (in part) with maintaining information after compression, we lost quite a bit of information in abbreviating the name of his algorithm.

    --
    Damn_registrars has no butt-hole. Damn_registrars has no use for a butt-hole.
    1. Re:Holy Bad Acronym Batman by Anonymous Coward · · Score: 0

      Actually, I'm in an EECS department and to me CS means Compressive Sensing.. I guess it depends on which side you are ;-)

    2. Re:Holy Bad Acronym Batman by Dunbal · · Score: 1

      Aft first I thought he was referring to Credit Suisse. Then I thought no, this is an article about Counter Strike. Then perhaps I thought it meant CS gas. Then perhaps, having been betrayed by an uncooperative context, I thought like you it meant Computer Science. But no - lo and behold "CS" stands for "Compressed Sensing", a new algorithm called "CS" by 1) those working on it and 2) those who have absolutely no idea what it is or how it works, but want to sound cool anyway because hey, what's cooler than using an acronym that ABSOLUTELY NO ONE has ever heard of? Forget the fact that this whole language thing is about "communication" and if you start inserting RA into your MF then NWFU!

      (RA = Random Acronyms, MF = Message Format, NWFU = No-one Will Fucking Understand)

      --
      Seven puppies were harmed during the making of this post.
    3. Re:Holy Bad Acronym Batman by unitron · · Score: 1

      Yes, but a quick application of the Compressed Sensing Algorithm to the lettters CS will shortly reveal that it stands for Compressed Sensing.

      If it stood for Computer Science instead, the algorithm would have been able to sense that, in a compressed sort of way.

      --

      I see even classic Slashdot is now pretty much unusable on dial up anymore.

    4. Re:Holy Bad Acronym Batman by Bakkster · · Score: 1

      As long as the acronym is explicitly defined, it doesn't matter how obscure it is. That's proper writing style.

      That was the beginning of compressed sensing, or CS

      And there it is in the article, what are you complaining about again? Oh right, TFA and slashdot editors. Carry on, then.

      --
      Write your representatives! Repeal the 2nd Law of Thermodynamics!
    5. Re:Holy Bad Acronym Batman by natehoy · · Score: 1

      I'd like you all to know I'm feeling very compressed.

        - Marvin.

      --
      "This post contains words, known to the State of California to cause thought. Wash brain thoroughly after reading."
    6. Re:Holy Bad Acronym Batman by damn_registrars · · Score: 1

      And there it is in the article, what are you complaining about again? Oh right, TFA and slashdot editors. Carry on, then.

      Precisely. Because while it was defined in the article, it was not defined in the summary. The summary jumped immediately from the name of the algorithm to using the shorthand, without ever saying that the shorthand would be used in place of the full name. And being as there are other uses of the CS acronym - especially in the slashdot community - the slashdot editors failed miserably by not stating that they were going to reuse a commonly used acronym.

      --
      Damn_registrars has no butt-hole. Damn_registrars has no use for a butt-hole.
    7. Re:Holy Bad Acronym Batman by Anonymous Coward · · Score: 0

      I thought it stood for Child Staker. I was excited for a moment.

    8. Re:Holy Bad Acronym Batman by ergean · · Score: 1

      CS - The inventor of Counter-Strike!!!

  20. Typical science fraud by Futurepower(R) · · Score: 3, Interesting

    MOD PARENT UP for this: "This algorithm doesn't create absent data nor does it infer it, it just makes the uncertainties it has "nicer" than the usual smoothing."

    Fraud alert: The title, "Fill in the Blanks: Using Math to Turn Lo-Res Datasets Into Hi-Res Samples" should have been "A better smoothing algorithm".

    1. Re:Typical science fraud by Anonymous Coward · · Score: 0

      Yeah, because as the typical Slashdotter, you're such an expert.

    2. Re:Typical science fraud by timeOday · · Score: 3, Interesting

      No, not just "nicer." It fills in the data with what was most likely to have been there in the first place, given the prior probabilities on the data. The axiom of being unable to regain information that was lost or never captured is, as commonly applied, mostly wrong. The fact is, almost all of our data collection is on samples that we already know a LOT about what they look like. Does this let you recapture a license plate from a 4 pixel image, no, but given a photo of Barack Obama's face with half of it blacked out, you can estimate with great accuracy what was in the other half.

    3. Re:Typical science fraud by Anonymous Coward · · Score: 0

      It's not fraud, it's just some editor being as sensationalist with the article's title as you are with this post. This should have been obvious the second you saw the word "Wired" anyway.

    4. Re:Typical science fraud by Anonymous Coward · · Score: 0

      It reconstructs a basis with high probability. The extent to which the smoothing is "nicer" is so significant that you do, in fact, get the original data with much less input.
      Take a look at the 20% reconstructed MRIs, they're basically indistinguishable from the full images.

  21. Deckard by Anonymous Coward · · Score: 1, Funny

    Enhance 34 to 36. Pan right and pull back. Stop. Enhance 34 to 46. Give me a hard copy right there.

  22. Rather like most climate science by DeathToBill · · Score: 1

    It doesn't add information, it just fills in what you already expected to see.

    --
    Slashdot - News for Nerds, Stuff that Matters, in ISO-8859-1 Has just realised that beta makes this signature redundant
    1. Re:Rather like most climate science by Anonymous Coward · · Score: 0

      Get back under your bridge, there's a good troll.

  23. Re:I am a bit worried about the "fill in the shape by ceoyoyo · · Score: 2, Insightful

    The description of the algorithm in the article is quite poor. To reconstruct an MR image you effectively model it with wavelet basis functions, subject to someconstraints: a) the wavelet domain should be as sparse as possible, b) the Fourier coefficients you actually acquired (MR is acquired in the Fourier domain, not the image domain) have to match and usually c) the image should be real. You often also require that the total variation of the image should be as low as possible as well.

    Since the image is acquired in the Fourier domain, every measurement you make contains information about all the pixels in the image. For reasonable* under acquisitions CS can produce a perfectly reconstructed image.

    * the exact limits of "reasonable" are still under investigation, but typically you only need to acquire about a quarter of the data to be pretty much guaranteed you'll be able to get a perfect reconstruction.

  24. Wrong. by Hurricane78 · · Score: 1

    These are fancy words, for what is nothing else that automated educated guessing. (And re-vectorization.)

    Yes, you can guess that a round shape is round, even when a couple of pixels are missing. But you can not guess that one of these missing pixels actually was a dent. So this mechanism here would still make that dent vanish. Just in a less-obvious way. (Which can be very bad, if that dent was critical.)

    Essentially if you have a lossy process, you are always going to have a lack of details, and that’s not going to change.
    Just that this process does to images when compared to e.g JPEG, what MP3 does to music when compared to analog recordings.

    In analog recordings, loss is audible noise. In MP3 it’s the opposite. Usually mostly not audible, but still missing.
    In JPEG, loss is visible artifacts. In this method it’s the opposite. Usually mostly not visible, but still missing.

    --
    Any sufficiently advanced intelligence is indistinguishable from stupidity.
    1. Re:Wrong. by ceoyoyo · · Score: 1

      You've missed the point, which is not surprising considering the way the article is written.

      Compressed sensing exploits the observation that almost every useful image is actually sparse - it contains much less information than the pixels that make it up can store. Furthermore, if you undersample that image in the right way, the original data is recoverable.

      For a reasonable level of undersampling (and a sparse image) CS will give you a perfect reconstruction, just like gzip, for example. The important difference with CS is that you don't need to acquire all the data in order to figure out which parts are redundant (as with gzip) - you can just acquire the important bits to start with.

    2. Re:Wrong. by Anonymous Coward · · Score: 0

      I don't think this comment is justified.

      The application noted in the Wired article is that these guys didn't have time to do a full MRI of a young boy when they wanted a high-res image of a very very small part of his body.

      My doing a faster MRI and using this algorithm they were able to resolve this tiny detail.

      So, no, it doesn't seem that the dents do vanish.

      If you read some of the background papers on www.l1-magic.org you can see that the technique works if the original image is compressible using some transform method. A circle with a dent in is naturally highly compressible as it contains only two features.

      However, note that we're not talking about missing pixels. We're talking about calculating various integrals over the entire image. No pixel is missing; there are just a limited number of integrals.

      So the entire sampling paradigm is totally different to what we're used to. The consequences therefore cannot easily be derived from your classical regular-sampling Nyquist theorem stuff.

    3. Re:Wrong. by Anonymous Coward · · Score: 0

      Ooo, look at me. I've posted on Slahdot. I'm so smart. I'm even smarter than the scientist doing actual work. And I do it all from my mommy's basement.

    4. Re:Wrong. by RadioElectric · · Score: 1

      My kingdom for a mod point!

  25. Re:I am a bit worried about the "fill in the shape by John+Hasler · · Score: 1

    Perhaps we want cameras that produce Fourier coefficients instead of images?

    --
    Warning: this article may contain humor, sarcasm, parody, and perhaps even irony. Read at your own risk.
  26. Possibly fraud by junglebeast · · Score: 1

    I could not find any examples showing similar image reconstructions on Jarvis Haupt or Robert Nowak's websites/publication histories -- the researchers credited with the Obama restoration photo.

    Therefore, I am skeptical that this wired article is not to be trusted.

  27. Other applications by zmaragdus · · Score: 1

    I wonder if this can somehow be extended to other forms of data scrubbing besides two-dimensional color images. I've got a waveform capture of a really small, and really noisy, electric motor current that I want scrubbed without losing the shape I think I'm supposed to get out of it.

    --
    (((dB)))
  28. Overview of Algorithm by Chapter80 · · Score: 3, Funny

    Here's how Compressed Sensing works with standard JPGs.

    First the program takes the target JPG (which you want to be very large), and treats it as random noise. Simply a field of random zeros and ones. Then, within that vast field, the program selects a pattern or frequency to look for variations in the noise pattern.

    The variations in the noise pattern act as a beacon - sort of a signal that the payload is coming. Common variations include mathematical pulses at predictable intervals - say something that would easily be recognizable by a 5th-grader, like say a pattern of prime numbers.

    Then it searches for a second layer, nested within the main signal. Some bits are bits to tell how to interpret the other bits. Use a gray scale with standard interpolation. Rotate the second layer 90 degrees. Make sure there's a string break every 60 characters, and search for an auxiliary sideband channel. Make sure that the second layer is zoomed out sufficiently, and using a less popular protocol language; otherwise it won't be easily recognizable upon first glance.

    Here's the magical part: It then finds a third layer. Sort of like in ancient times when parchment was in short supply people would write over old writing... it was called a palimpsest. Here you can uncompress over 10,000 "frames" of data, which can enhance a simple noise pattern to be a recognizable political figure.

    Further details on this method can be found here.

    --
    Recycle when possible!

  29. Re:I am a bit worried about the "fill in the shape by ZeroSumHappiness · · Score: 1

    Why in the world would you use this in a medical image? That seems like quite the straw man.

  30. You Pr0n addicts by Chrisq · · Score: 1

    You pr0n addicts should really get a grip on yourselves

    ..... oh wait!

  31. Re:I am a bit worried about the "fill in the shape by Chrisq · · Score: 1

    RTFA!

  32. yes, but... by Anonymous Coward · · Score: 0

    "If it sees four adjacent green pixels, it may add a green rectangle there."

    Which is brilliant...unless the tumor you were looking for is a white dot in the middle of those 4 pixels. Now it's all just a smooth green field.

  33. Fill in the blanks by wurp · · Score: 1

    It started off with pixels missing; when done the pixels are filled. How is that not creating absent data by inferring it?

    Any algorithm that generates more data than was sent in is inferring. That's not to say it isn't useful, but if, for example, all of the pixels of the bile duct blockage (FTFA) were missing, the picture would have to have been reconstituted with no blockage. If the only three pixels in an area were discolored, then that whole area (or some significant portion of it) would be discolored.

    The algorithm is very impressive, but when you fill in the blanks, that's pretty much the definition of creating absent data. (Barring examples like e.g. knowing three values of a degree 2 polynomial and inferring the whole polynomial, but in cases like those the data you have really is a complete description.)

    1. Re:Fill in the blanks by Yvanhoe · · Score: 1

      The difference between inference and guessing is that in inference you use clues in the data you have in order to rebuild a data that is not measured. It is like using the movement in a video in order to infer the parameters of the lens used : the data is here, but you have to extract it from the other data it is mixed with.

      1 bit in, 10 bits out does not mean that you have created 9 bits of correct data. Look at Obama's teeth in the example. The algorithm understands it is better to put white pixels instead of black one when it doesn't know the color, but the separation between the teeth is smoothed out. If he had a missing tooth it would be replaced. The idea that we could use this algorithm for medical diagnosis is just nonsense.

      --
      The Wise adapts himself to the world. The Fool adapts the world to himself. Therefore, all progress depends on the Fool.
    2. Re:Fill in the blanks by wurp · · Score: 1

      I completely misread your response before your reply. We're arguing the same position :-)

      Although I disagree regarding inference - it is inferring the absent data (my my definition of inference), and in some cases that will be useful. However, I suspect if used for medical images it would give confidence to a wrong answer more often than it would give enough information to get the right answer.

    3. Re:Fill in the blanks by Anonymous Coward · · Score: 0

      "Any algorithm that generates more data than was sent in is inferring."

      I hadn't realized this whole time that data compression doesn't work. It's a fraud, you've convinced me.

    4. Re:Fill in the blanks by wurp · · Score: 1

      That's what I get for assuming none of the readers were too stupid to get the point.

      I have written huffman compression algorithms that were (and still are, for all I know) used in production systems. I recently wrote a Rabin compression system. I know how compression works.

      Data is not measured in bytes. Files are measured in bytes.

      Lossless compression does not create more data than was in the original dataset, any more than a program that writes out an infinite series of 1s contains an infinite amount of data. It simply represents the input data in a different (more useful) way, that happens to take up more space.

    5. Re:Fill in the blanks by Anonymous Coward · · Score: 0

      The Obama example is called image inpainting, which is tangentially related to Compressed Sensing, but fundamentally different. Bad article! As you say, you can't create details that you have no information about. If you take random samples in the Fourier Space, then that would be compressed sensing. Random Fourier samples somehow contain information about the entire image and with enough of them you can reconstruct the image if it's relatively simple (piecewise constant is ideal.)

    6. Re:Fill in the blanks by aXis100 · · Score: 1

      What I've read so far is that it doesnt apply to sampling individual pixels from an existing digital image. That is the part everyone is getting stuck on.

      You have to take samples that have been biased/affected by all of the surrounding data - like taking an image through a very blurry lens. Because every sample includes redundant overlapping data (that would otherwise be treated as artifacts or noise), you can back-calculate those intervening spaces with very good confidence.

  34. This is an important tool! by natehoy · · Score: 1

    I can finally stop reading the articles and the summaries, and apply this algorithm to the first post to understand the article instead. What a time saver!

    --
    "This post contains words, known to the State of California to cause thought. Wash brain thoroughly after reading."
  35. Portal by Anonymous Coward · · Score: 0

    Just in time to help decipher Valve's latest update...

    http://www.rockpapershotgun.com/2010/03/02/portal-theres-something-going-on/

  36. Magic (BS) by Ractive · · Score: 1

    I've been working with digital images for a long time and I can tell you this: this is too good to be true
    You can't get professional results even when trying to interpolate 5% extra data, and even though I guess this is not oriented to professional quality images, it will just make crappy images good enough to recognize the points of interest, it will be acceptable to that point but then there's the Obama sample, I have seen the printed image (in the dead tree version of the mag) and it certanly looks faked, there's some detail that couldn't have beeen retrieved, not with the current algorithms, actually as some have pointed out, the lapel pin data is not present at all so how could you recreate that, sounds to me like something more from the realm of magic than math, hence fake!

    1. Re:Magic (BS) by iris-n · · Score: 1

      TFA does a terrible job of explaining the technique. No interpolation is involved. You should read this fine article by Terence Tao: http://terrytao.wordpress.com/2007/04/13/compressed-sensing-and-single-pixel-cameras/

      It explains quite well the heart of the technique. I will, nevertheless, try to explain it quickly. I assume you are familiar with the jpeg compression algorithm. It throws away way more than 5% of the data, and still gives you a nice picture. How? It converts the picture to the wavelet basis, and throws away the high-frequency components. That is, noise and fine-grained details. Depending on the quality of your lens, just noise. Well, this technique makes the measurement directly in the wavelet basis, and never records nor process the components that would be thrown away.

      Of course, it is a little more complicated than that, because you have to choose which projectors of the basis you're measuring (answer: a random sample. They recover all the important information with high probability), and you have to make sparsity assumptions (which are true for most images that humans would think of as pictures).

      --
      entropy happens
  37. Re:I am a bit worried about the "fill in the shape by ortholattice · · Score: 1

    The thing is in a medical image couldn't that actually remove a small growth or lesion?

    While I'm certainly no expect on this, it seems almost everyone here is being mislead by the word "noise". From what I gather, this is not cleaning up noise, it is filling in missing pieces in data whose samples are assumed to be noise-free. This is drastically different from "smoothing" that is intended to filter out noise.

    So, in the case of a small growth or lesion, as long as there is at least one sample of it that is different from the surrounding area, the "sparsity" (this is my guess based on a quick reading of the article and some related ones) would result in an identifiable spot of some kind. This would be due to the fact that that the one pixel sample of the lesion is different from its closest available neighbors. This difference would be assumed by the algorithm to be an accurate representation of that pixel, not a random speck of noise. So, something would show up, say a small blob, that would be obviously different in the reconstructed image. Now the less pixels you have of this lesion, the less accurate the shape and size of that blob will be, but nonetheless it is something that would stand out and warrant further investigation.

  38. Re:I am a bit worried about the "fill in the shape by rickyars · · Score: 1

    i agree, the description of the algorithm is too vague to really understand what is going on.

    30 seconds of googling turned up this brief lecture on compressed sensing. written for undergrads, "the prerequisites for understanding this lecture note material are linear algebra, basic optimization, and basic probability."
    http://dsp.rice.edu/sites/dsp.rice.edu/files/cs/baraniukCSlecture07.pdf

    side note: rich baraniuk was one of the best professors i had in undergrad

  39. Caution: don't mis-apply this idea! by MessyBlob · · Score: 1

    From the referenced reports, it looks like people might get the wrong idea about the possible applications. This algorithm starts with discrete data points with gaps in-between, and works out the remaining arbitrary data points in a pleasing way, as if it were a continuous field (represented as a fourier transform, for example).

    In other words, it works with data where the signal is already separated from the noise. My last sentence is crucial for an understanding of the possible applications: it will not infer elements that are absent in the measured signal, but will instead repeat elements that are already present. I expect this story will be mis-reported in future, by reporters who do not understand how it really works (and I might count myself in that, as I've only glanced at a couple of the arxiv papers).

  40. Re:I am a bit worried about the "fill in the shape by ceoyoyo · · Score: 1

    Some of the designs for CS cameras basically do just that. You can do CS just as well with images acquired in the image domain though, the intuitive reasoning for why it works just gets a little... less intuitive.

    I'm not sure CS is going to quickly catch on in your common camera because it doesn't really solve a pressing problem but it will certainly find lots of applications.

  41. You can't create something from nothing - can you? by YourExperiment · · Score: 1

    As soon as I read the article, it seemed fishy to me. How can you create data where it doesn't already exist? If you take a scan of a patient, a tumour will either show up or not show up in the data. If it shows up, there's no need for enhancement. If it doesn't show up, no amount of enhancement can cause it to do so.

    Then I came across this blog post by Terence Tao, one of the researchers mentioned in the Wired article.

    It has some very interesting explanations of how this is supposed to work. I'm still not sure that I'm convinced though. Common sense is still screaming at me "this cannot possibly work" - but then that happens with quantum mechanics too.

  42. Re:I am a bit worried about the "fill in the shape by ascari · · Score: 1

    In the old movie "The Conversation" Gene Hackman walks right into that trap when he infers away all the nuances inside the spotty data of a surveillance recording. Two lessons: 1 - Same dangers, different application. 2 - Same fundamental method, different decade, nothing really new here.

  43. Quantum state tomography by iris-n · · Score: 1

    Relevant information: I'm a physicist, and my research group is actively researching quantum state tomography via compressed sensing.

    This technique is quite useful also in quantum state tomography. Consider a qubyte. We represent it by an 2^8 x 2^8 matrix of complex numbers. Now we want to measure it. We have to make 2^16 measurements (keep in mind that a quantum measurement is a nontrivial task), and use this data to reconstruct the original matrix, which again is a very intensive task, if done right (there are quick-and-dirty algorithms to do it, but they don't work very well). It is just plain impossible to process so much data, in a day-by-day basis.

    But here comes compressed sensing! Normally, we are interested in states that are pure, or quasi-pure. That is, are represented by a sparse matrix, in the correct basis. So, using this technique, we only need to do a quantity of measurements that scale linearly with the dimension of the state (as opposed to the quadratic growth that a full measurement requires), and the amount of processing that we need is also proportional to the amount of measurements.

    So, we can shift the limiar of impossibility. Before we needed O(2^(2d)) measurements, now only O(2^d). Still unpleasant, but makes the problem tractable today.

    --
    entropy happens
  44. Not smoothing by nten · · Score: 4, Insightful

    The article was a bit poor. The data sets aren't really incomplete in most cases. They only seem that way from a traditional standpoint. The missing samples often contain absolutely no information, in which case the original image/signal can be reconstructed perfectly. In brief, nyquist is a rule about sampling non-sparse data, so if you rotate your sparse data into a basis in which it is non-sparse, and you satisfy the nyquist rule in that basis (though not in the original one), you are still fine.

    I like this link better l1 magic

    --
    refactor the law, its bloated, confusing and unmaintainable.
    1. Re:Not smoothing by ColdWetDog · · Score: 1

      You lost me at 'affine subspace', but thanks for trying...

      --
      Faster! Faster! Faster would be better!
    2. Re:Not smoothing by radtea · · Score: 1

      The article was a bit poor.

      The article was dreadful. The link you provide actually makes sense. Thanks.

      --
      Blasphemy is a human right. Blasphemophobia kills.
  45. I wonder... by tech_fixer · · Score: 0

    Could this be applied to radiotelescope data sets? SETI Anyone?

    Nobody thought of this? Is this still /.?

  46. Uncrop! by Anonymous Coward · · Score: 0

    Great, now we only need the "uncrop" algorithm to be on-par with TV shows!

  47. Re:I am a bit worried about the "fill in the shape by Anonymous Coward · · Score: 0

    Essentially the reason this sparsity is a functional concept is that in a very large data set, noise appears more often than just once. The more sparse a sample is, the more interesting it is because the less likely it is just noise. So if you seek strange artifacts in your data that do not correspond to any other noise then you may have just found additional data captured by your equipment. Statistically, anyway. Essentially this technique reduces your uncertainty in your data by processing it in search of these unique events which are within the noise floor of the equipment.

  48. Oh yeah? by Anonymous Coward · · Score: 0

    Let them try get data from this:

    zzzsksksdS..c.zx.czx.czvvv....L.sssd asdaAszzss sskkkSkkk rrrsrH...rrwr..w.ere.r.rrrregewwwe.D ....rtyergsfrr rredddaOdecwrb bbfpppT.qwrrIrrdeeess ssksSeerrrrer eeAtrrtttttkkWggp rrroEpttrrdddd Seeerrrf cppphhtOwweerpp ppttttMweeeeccczz zzxxE!

  49. Re:You can't create something from nothing - can y by ceoyoyo · · Score: 1

    The key is that the image must be sparse (and almost all useful images are sparse). By definition, a sparse image contains less information than the pixels that make it up can store. Thus, it is compressible. So you're not creating data where it doesn't exist, you're just not sampling and storing the redundant parts.

    It's no more magic than gzip or jpeg compression.

  50. Chloe O'Brian has been able to do this for years while hiding in an improvised safe house with a computer array composed of old Vic-20s and acoustic modems.

  51. CuteOverload by Quiet_Desperation · · Score: 1

    Super Redonkulous Fluffhance!

  52. Controversy... by l00sr · · Score: 1

    [The inventor of CS, Emmanuel] Candès...

    The way I understand it, there is actually a bit of controversy over whether Candès or David Donoho "invented" compressed sensing. It seems to me that Donoho was actually first, but Candès ended up getting most of the credit.

  53. Image stacking by sbjornda · · Score: 3, Informative

    After cropping, I may end up with a 1-2 megapixel image (sometimes much lower)

    Try image stacking. A program I've used successfully for this is PhotoAcute. Provided your body+lens combo is in their database, you can stack multiple near-identical images (use Burst or Auto-bracket mode) and get "super resolution". Of course, this doesn't work so well if your subject is moving. If your body+lens combo isn't in their database, you can volunteer a couple hours of your time to make a set of ~ 100 specific images they can use to create a profile for your gear. If they accept it, they'll offer you a free license for the software. I have no connection with the company other than being a satisfied customer.

    --
    .nosig

    1. Re:Image stacking by gravis777 · · Score: 1

      Interesting, this may actually fix many of my issues as in the last couple of years, I have gone to taking photos in burst mode. I also have another thought that may work with this - might be able to take a second or two of video with a handheld camera, even of a person, export to like 30 seperate images, and use this program to get a bit better of a picture. Thanks. I am going to play with this program some when I get home. May not work on some of my oldest pictures, but I bet I can do something with this.

  54. Re:You can't create something from nothing - can y by YourExperiment · · Score: 1

    Sorry to be dense, but I don't understand where compression comes into this. You're not compressing anything, you're somehow discovering data that wasn't sampled in the first place. I don't see the relationship between the two concepts.

    Can you explain what I'm missing, in terms of my original example? If there's a dark spot on the image indicating a potential tumour, then that information is there in your data, and no clever processing is necessary. If the dark spot is not there, no amount of processing will make it appear. What am I missing?

  55. Yea.. Nothing New by carn1fex · · Score: 1

    This is an ENTIRE FIELD in the satellite remote sensing community.. Theres so many papers on improving limited satellite imagery its nauseating. Browse.. http://www.igarss09.org/Papers/RegularProgram_MS.asp

    --

    ---------

    No matter how thin you slice it, its still baloney.

  56. The headline is wrong by Anonymous Coward · · Score: 0

    CS as described in the article will NOT recover a signal from noise any better than 'conventional' techniques.

    What it seems to do spectacularly is enhance sparse data sets where the noise is low and the data bandwidth of the signal is relatively narrow.

    To detect frequency hopping signals, CS needs a good idea of the nature of the signal. It shouldn't be too difficult to create signals that defeat CS. It will do OK at detecting frequency hopping in a noise free environment but will perform poorly with noise present.

    The data bandwidth of the recovered signal depends on the signal bandwidth and the noise. Shannon's law still applies. In a channel with no noise, the data bandwidth is theoretically infinite. In such a system, the entire Encyclopedia Britannica could be encoded in a single symbol. That is about as sparse as a data set can be ;-)

  57. Previous art by gmuslera · · Score: 1

    Nostradamus predictions... each new researcher recover new data from that noise. (each word of this should be quoted, as almost none is what it mean).

    Is risky to "fill in the blanks" or give your own (i.e. following a set of rules) meaning to noise, it will show things as you think they should be, and the exceptions will be missed or discarded.

  58. Re:You can't create something from nothing - can y by Emb3rz · · Score: 1

    You're missing the scope of the sampling. It doesn't sample a 200x200 square and give you a 1024x768 image, it samples random pixels from the range you are looking to come out with in the end.</p>

    To put it in Javascript...

    for(rows=1; rows < maxrows; rows++){
    for(cols=1; cols < maxcols; cols++){
      if(Math.rand() < 0.2){ StorePixel(cols,rows) }
    }
    }

    And if taking an image of something that typically appears in the natural world, you will come out with a picture that is "not wrong." That means that it won't put something there that isn't supported by the data, data that is randomly sampled and likely to represent at least a portion of every significant aspect of the original object. In practice, they have used this to great efficacy, so the arguments of "it won't work" are invalid. It has, it does.

  59. Other potential uses? by wowwser · · Score: 1

    If they can do it for a picture can this same methodology be utilized for audio/data signals - then they can go through and reanalyze all the Seti@home data that has already been analyzed. It has often been said that if the aliens have any potential intelligence it would be indistinguishable from noise.

  60. Re:You can't create something from nothing - can y by YourExperiment · · Score: 1

    It doesn't sample a 200x200 square and give you a 1024x768 image, it samples random pixels from the range you are looking to come out with in the end.

    Can you explain how picking a pixel at random is better than sampling every 4th pixel? Surely the randomness just increases the chance that you'll miss some essential feature in the image?

    Say the size of a potential tumour in the image is 5 pixels wide. Sampling every 4 pixels would guarantee you catch the tumour (the number of pixels to sample is chosen on the basis of the smallest size tumour which it is necessary to catch). Sampling an identical number of random pixels, on the other hand, would mean there is a good chance you will not sample any data point within the tumour, resulting in it being totally missed.

    In practice, they have used this to great efficacy, so the arguments of "it won't work" are invalid. It has, it does.

    I'm not arguing that "it won't work". I have not done the research to support such a claim, and I suspect I do not have the requisite technical expertise to do said research within a reasonable period of time.

    What I am saying is that I've got no idea how it can possibly work. It goes against all common sense. I was hoping someone could explain it to me by pointing out the flaws in my logic. No-one's managed to do so yet.

  61. Re:You can't create something from nothing - can y by RadioElectric · · Score: 1

    Can you explain how picking a pixel at random is better than sampling every 4th pixel? Surely the randomness just increases the chance that you'll miss some essential feature in the image?

    I would imagine that it's something to do with the nature of the underlying statistics. One explanation I can think of is that this method works by looking for "patterns" in the underlying data. If you are sampling every 4th pixel then you could be systematically missing a pattern in the data. Worse than that, the method of sampling you describe could actually introduce spurious patterns!

  62. Re:You can't create something from nothing - can y by ceoyoyo · · Score: 1

    When you compress something you represent it in such a way that you can reconstruct the original based on less data. Effectively you're "discovering" data that wasn't sampled (stored) in the first place. Except, with lossless compression at least, you're not really doing this. The compression process discards only redundant data.

    Compressed sensing works in much the same way except that you effectively treat your acquisition and display process as you would your reading-from-disk-and-decompressing process. Instead of sampling everything you skip sampling points that are likely to be redundant.

    If you go too far then yes, you get image degradation. If you keep things reasonable (and reasonable depends to some extent on what kind of image you're acquiring), you can get a perfect reconstruction, just like you do when you reconstruct a gzip compressed image.

    Regarding your example: it's easier if you consider the process as it actually occurs in MR. The image is actually acquired in the Fourier domain so every point you acquire has information about every pixel in the image. So you've got a dark spot indicating a tumor. Yes, that information has to be in your acquired data but that doesn't mean you're going to be able to actually distinguish that tumor when you reconstruct the image. Noise and artifacts may obscure it.

    Compressed sensing effectively tells you what you need to sample in order to retain the information about that tumor in your reduced data set (with high likelihood), and how to reconstruct the data so that the tumor is actually evident in the image (mostly be reducing artifacts).

    Here's an example (sorry, I can't post an image with a tumor due to privacy).

    Image C is the original, where features are clearly visible. D is undersampled in a way you might do to make an MR scan faster. What looks like noise in the image isn't really noise, it's decoherent aliasing artifacts due to the undersampling. The information to reconstruct the image is still there, but the naive reconstruction technique can't reveal it. CS reconstruction (E) reveals it.

  63. Sparse sampling journals! by localoptimum · · Score: 1

    Here's an idea. Lets pretend that a rigorous bayesian method like maximum entropy doesn't exist. :P

    --
    This message was scanned by European governments and contains no terrorism.
  64. A correct interpretation by eric.tramel · · Score: 1

    The /. headline and the Wired article do tend to misrepresent Compressed Sensing as some kind of noise-remover, despeckler, or image enhancer. This is simply not the case. In Compressed Sensing, we are intentionally sampling a signal in an incoherent domain so that each measurement evaluates the entire image globally. In other words, each sample has as much weight as any other, so when we hold on to fewer of them, we may obtain more information about the original signal than if we sub-sampled the signal in the original domain. When we reconstruct the original image from our compressed/sub-sampled measurements in an incoherent domain, we are trying to find the most sparse signal that matches the measurements we observed (solving an ill-posed inverse problem via constrained optimization). The signal sparsity can be thought of the orderedness or "structured-ness" of the signal. In other words, the most ordered image that matches our compressed measurements is correct solution with high degree of probability. For a technical primer, check out this paper ( http://dsp.rice.edu/sites/dsp.rice.edu/files/cs/CSintro.pdf ).

    Okay, yes, that might be a little bit weighty if you aren't in the field, but I would suggest you check out Nuit Blanche ( http://nuit-blanche.blogspot.com/ ) for a description of what exactly CS is, how it works, and what it is useful for. Today's article is especially interesting in this regard.

  65. SETI by Anonymous Coward · · Score: 0

    Any potential application of this in the SETI program?

  66. Definition of fraud by Futurepower(R) · · Score: 1

    "It's not fraud, it's just some editor being as sensationalist..."

    Definition of fraud: A deliberate deception used to get an unfair result.

    The editor wanted to get more attention for the article than the article deserved.

    "This should have been obvious the second you saw the word "Wired" anyway."

    If Wired is routinely fraudulent, that does not diminish the fact that tricking people to get attention is fraud.

    The article is of interest only to mathematicians and those interested in smoothing data.

    See this comment below. Quote: "The idea that we could use this algorithm for medical diagnosis is just nonsense."

  67. Not for my MRI thank you. by Thanatiel · · Score: 1

    To clear-up and guess "details" in such a manner that a picture, wave, music, whatever can be seen or heard more easily by a human is very nice. Good for old pictures and sounds. I can even buy garbled culprit face reconstruction as long as it cannot be used as proof in a court. This sounds like a new, must-have, expensive, photoshop/gimp filter and congratulations.

    But ...

    Anybody doing anything serious would use a secure, ciphered, way of communication. Not clear text, clear waves, or screen fonts/colors easy to "measure" electromagnetically from afar. So the eavesdropping enemy communication does not, in my humble opinion, hold. (Maybe a century ago)

    And last but not least. The bigger issue is that it does not show the most important thing: reality.
    Nobody can create reality from a subset. You can be smart as a monkey* but you can only guess, presume, imagine what's missing.
    If an MRI is taken from any part of my body, I want ALL the REAL dots there. Even one missing dot could actually be something serious (Will it be guessed ? Not guessed ? Just my luck.). And a wrongly guessed one could make me panic enough to give me a serious heart condition. So no thank you.

    *:this sounds better in my native tongue

    --
    Irrelevant news and morons using moderation to mod down what they disagree on. 2018 resolution: so long.
  68. Single pixel cameras by Ambitwistor · · Score: 1

    Compressed sensing is the same mathematics behind the Rice single pixel camera covered on Slashdot a few years ago.

  69. Quick! by ThatsNotPudding · · Score: 1

    To the Zappruder film!
    /jk

  70. From a Lo-Res Capture... by Anonymous Coward · · Score: 0

    .. to a Hi-Res Fiction. If there's no data, there's no data.

    What if that black pixel over Obama's right shoulder that got "enhanced" to be a white pixel was actually an assassin with a high powered rifle standing 1000' in the background?

    What if that dot on the map that gets turned from white to brown was actually a missile silo and not dirt?

    I don't see much use for this other than in special cases, and maybe games, where you need stuff to look real, but not be real.

  71. That's kinda' easy, isn't it? by jonaskoelker · · Score: 1

    but given a photo of Barack Obama's face with half of it blacked out, you can estimate with great accuracy what was in the other half.

    It's rather easy to guess what's in the half that isn't blacked out, yeah? ;-)

  72. you have misinterpreted it by Chirs · · Score: 1

    The point of the concept is that there are many signals which do not actually contain as much information as they possibly could. For those signals, it's possible to analyze the samples in a different domain and reproduce the original signal.

    For instance...a pure sine wave audio signal could take a lot of space if encoded as a WAV file. However, it would be possible to reproduce it 100% accurately by simply encoding the frequency and duration. This would take much less space than the WAV file.

    What they're doing is analogous to sampling a musical signal at random and then working on the fourier transform to figure out the least complicated way of combining various frequencies to give the observed samples. It turns out that in many cases the least complicated solution accurately provides the non-sampled values as well.

    This is not making information out of nothing, but simply realizing that the original signal was constrained in some way. If the original signal was purely random or else contained the theoretical maximum amount of information, this technique wouldn't work.

    1. Re:you have misinterpreted it by MessyBlob · · Score: 1

      Thanks for the considered reply. TBH, it's usually quite difficult to express every thought that is involved in theses discussions, and it's a minefield of misinterpretation - solved by good writing, of course :o) You might be surprised to see that I agree with everything you wrote.

      My main point was that typical 'consumer-level' image processing applications use images that are a regular grid of data points, quite different from the sparse data points that this algorithm is suited to. Typical images contain a lot of noise, and distinguishing the signal from the noise in existing data is the problem that must be overcome, before this technique would be really useful. If an image was randomly reduced, and the algorithm applied, then the noise would contribute to the characteristic of the final image, but perhaps there could be some improvement from the analytical ideal result.

      For my understanding of the workings of the algorithm: I do appreciate the 'projection' and 'change of basis' aspects of FT when applied to higher dimensions, and how different power spectra can fit into a set of data points. FT theory tells us that complete time-domain (or space-domain) and complete frequency-domain signals contain the same amount of information, but here we exploit the fact that in the frequency domain, we can use a small amount of data to represent the important perceived aspects of the signal that can span the whole of the time (or space) domain.

      In CS, the small amount of space-domain data is used to infer the best minimal frequency-domain spectrum, which is then applied back to the space-domain with appropriate limits.

      I see the reverse technique being useful, for an image compression algorithm to choose minimal data points (or their FTs) that best represent the perceived characteristics of an image.

  73. you're missing something by Chirs · · Score: 1

    "Can you explain how picking a pixel at random is better than sampling every 4th pixel? Surely the randomness just increases the chance that you'll miss some essential feature in the image?"

    You're missing an element of complexity. They're not directly sampling pixels, but rather some other "basis".

    Take a look at the one-pixel camera described at "http://dsp.rice.edu/cscamera". Rather than actually sensing a single pixel at a time, they sense the whole image combined with random patterns. By taking multiple samples with different random patterns (but fewer than the number of pixels in the image) the resulting image can be regenerated with a good degree of accuracy.

    Ultimately it's similar to sampling a large number of pixels then compressing the image to a jpg--the difference is that they're doing it all in one step. This can be useful if you want low-powered sensors, for instance.

    1. Re:you're missing something by YourExperiment · · Score: 1

      Thank you! Finally someone explains the fundamental difference, which seems to have been missed by not only the Wired article, but also every other commenter so far. This blog post also helped.

      I still don't understand how this works, but at least now I understand why it might!

    2. Re:you're missing something by Emb3rz · · Score: 1

      Lest ye be totally misled: the original article states that the process that led to this discovery was applied in the image domain. That is, with graphical information (pixels?). The MRI is in the Fourier domain and thus benefits differently from this (this has been explained by other posters and frankly I don't clearly understand it), but you must consider that this all goes back to that one guiding principle under discussion: sparsity.

  74. Re:I am a bit worried about the "fill in the shape by daver00 · · Score: 1

    The algorithm does not work at all in the way that the wired article describes. In CS you make the assumption that your unknown data set is sparse, it is now known that a random sample of a sparse data set contains all the information about the sparsity of that data set. From here you seek the most sparse data set which agrees with your sample, and it will be the exact solution provided all your assumptions are true and your sampled data is perfect. If your assumptions are nearly true and your sampled data is nearly perfect, then you will recreate very nearly the exact data set.

    If you want to know the 'algorithm' used in CS is probably some variant of the simplex algorithm, or some interior point method for solving convex optimisation problems.