Particle Swarm Optimization for Picture Analysis 90
Roland Piquepaille writes "Particle swarm optimization (PSO) is a computer algorithm based on a mathematical model of the social interactions of swarms which was first described in 1995. Now, researchers in the UK and Jordan have carried this swarm approach to photography to 'intelligently boost contrast and detail in an image without distorting the underlying features.' This looks like a clever concept even if I haven't seen any results. The researchers have developed an iterative process where a swarm of images are created by a computer. These images are 'graded relative to each other, the fittest end up at the front of the swarm until a single individual that is the most effectively enhanced.'"
Wow (Score:5, Insightful)
Re:Wow (Score:4, Funny)
So, did you realize an optimized goatse fits your wish for a picture of "something...anything"?
Fear of the unknown is an amazing thing. (Score:2)
Re: (Score:2, Insightful)
Re:Wow (Score:4, Interesting)
Strikes me that what they are implying is that take a CCTV (MJPEG/MPEG) and correlating the differing images (frames/fields really). I dont think that manipulation of one CCTV image over and over will ever produce results like that seen on CSI!
It's not as magical or practical like they show on CSI, but there are cases where it can be done. Heck, Hollywood uses technology like that to slow down video like the bullet time effect in the Matrix. There's a lot you can do with motion vectors.
Evolutionary Algo (Score:2)
Re: (Score:2)
What do you think this is..
Re: (Score:1)
The only problem... (Score:5, Informative)
P.S. IAAAIR (I am an AI researcher, albeit not in computer vision)
Re:The only problem... (Score:4, Informative)
Actually I think the biggest problem with any of these techniques is finding an algorithmic definition of 'fittest' and 'effectively', the rest can be solved by throwing money at the computation.
Re:The only problem... (Score:4, Funny)
Re: (Score:2)
Re: (Score:2)
Re: (Score:2, Interesting)
Re: (Score:3, Informative)
Re:The only problem... (Score:4, Insightful)
Re: (Score:1)
Re: (Score:2)
This is *exactly* the problem with this branch of computational intelligence, stuff that you see at any CI/AI conference. PSO is a minor variation of stochastic hill-climbing -- it's a friggin heuristic. There is no guarantee that it will per
Re: (Score:1, Interesting)
Re: (Score:1)
There is an excellent treatise on a mathematical foundations of PSO in a book Fundamentals of Computational Swarm Intelligence by A.P. Engelbrecht.
Re: (Score:2)
Re: (Score:1)
Err...
Re: (Score:3, Informative)
Oh god, not another 'Bayesian methods for everything' guy..
Genetic algorithms have major advantages over other approaches. When designed well they are easy to code, and they can get tasks done
Re: (Score:3, Informative)
Mine first: you're right, GAs are easy to program, once you know the selection criteria. How do you have the computer select the best looking photo? Photoshop has for years had a feature where the computer will supply some altered images and let YOU pick the right one, but how do you give the computer a sense of esthetics?
Yours: GAs are great for finding finished products that you can then use. Both GAs
Re: (Score:3, Insightful)
Oh god, not another 'Bayesian methods for everything' guy..
I know the type, but...
I have a GA that can outperform a neural network on a particular task
Really? Sounds unlikely to me, because a NN is a function which maps inputs to outputs (sigmoid, sum, sigmoid, sum,...) and is often, but not always optimized with gradient descent. A GA on the other hand is an optimization algorithm. You could optimize an NN with a GA if you wished.
Either way, a mapping function (eg an NN) is not really comparable t
Re: (Score:2)
Re: (Score:2)
Re: (Score:2)
Just wondering (Score:2, Insightful)
Um... if the computer knew how to tell a good picture from a bad, couldn't it have just created a good picture in the first place? This all seems rather useless/confusing to me.
Re: (Score:3, Interesting)
Re: (Score:1)
Re:Just wondering (Score:5, Insightful)
Because the algorithm doesn't have that kind of knowledge. In AI-based search we don't know how to define absolute functions of quality, but we know how to define (several) relative dimensions of improvement. (Disclaimer - I do this for a living).
Intelligent search is based on iteratively improving one of those dimensions, just a little bit, one at a time. This goes on until we find a solution that is as good as we can get in all dimensions at once; but we simply don't know how to combine all dimensions to create a formula that maximizes all them, because their relative improvements interact with each other in complex, chaotic ways.
Re: (Score:3, Funny)
not a good idea (Score:2, Interesting)
No good heuristic (Score:2, Interesting)
yeah... (Score:2, Funny)
Hell, this needs no comment, it's funny on its own. Mod TFB +1, accidently funny.
Pics? (Score:1)
Not exactly comprehensive (Score:5, Informative)
Re: (Score:1)
Re: (Score:2)
Bayer interpolation works very well. There is no missing information.
Re: (Score:1)
Re: (Score:2)
If you're so dissatisfied then you should probably use film.
Simply not enough information (Score:2)
Tantalizing - but not enough to go on, so it is pretty much useless. I found the abstract here [metapress.com] but it does little to elucidate the article.
Nothing new to see here (Score:3, Informative)
They've reinvented genetic algorithms ?
Without seeing the details (read TFA but it's a summary and quite a bad one at that), I can't see why this would be better than a Bayesian optimisation with a photometric constraint. "The objective of the algorithm is to maximize the total number of pixels in the edges" sounds very, very simplified.
There are efficient ways of solving these things. Interesting that they invent an image processing algorithm but publish it in a non image processing journal - I wonder why that is ?
Re: (Score:1)
The choice of the objective function (for example, some kind of Bayesian posterior probability) is surely more important, and unless there is something very special in the structure of the optimization problem, I think that it's a bit
Actual information (Score:2)
Bullshit FTA (Score:4, Interesting)
Unless I am REALLY missing something, it is next to impossible to go from a blurry distorted image to pin-sharp. Really close to impossible. It is a matter of data. If you start from blurry, you cannot actually obtain the information required to unblur it. It does not exist. Therefore, any results are fundamentally speculative. Contrast Levels are not exactly the same thing, since you are only shifting data already there. Edge enhancement, sharpness, is not actually representative of what the objects actually looked like. There is a big difference between taking a blurry box and enhancing the edges and taking somebodies face and effectively "refocusing" the image so you can see facial features more clearly. You could say this is a step closer and certainly novel approach to the problem. To actually get to science fiction levels of performance may be not actually be possible though.
Not really useful at all. At least from an evidence point of view. Since you cannot really be sure if that is the individual in the picture, the best you can approximate is closer to one of those sketches they provide. I'm not being racist, but certain races do look similar. If you took 100 Chinese people for example, and started progressively blurring their pictures, you would start to get pictures that you could not make a distinction between them, much less a definitive identification. So there had better be some corroborating evidence, since it won't take too much of an expert witness to shoot that down. So it would be better to say it could help identify possible suspects, not individuals. Burden of proof, reasonable doubt, and so on.
Another thought, even more concerning, is that if you took those 100 pictures and showed them to a test group that saw before and after shots for each individual, how effectively could they make identifications? What about a test group showed only the after shots? My point being, is that if you are predisposed towards identifying a certain individual you are more likely to do so. In fact, people remember faces in a similar way be exaggerating facial features. I believe it is referred to as face perception. So it might be possible for the human brain to identify, incorrectly, an individual from one of those blurred images. All in all, not solid enough for legal purposes, which CCTV identifications of individuals and license plates are certainly used for.
I could be wrong, but until I see actual pictures, I will have to play the part of the skeptic.
Great idea, and certainly thinking outside of the box, so they deserve respect for their work.
Re: (Score:1)
Re: (Score:3)
Re: (Score:1)
Re: (Score:2)
All that article says is that you can make the image clearer. It even says that the zooming in that you see on the crime tv shows is not possible.
If you had a high enough resolution you might be able to apply a convolution matrix to the problem to 're-focus' it, but once you have the image in a digital form with a finite resolution, you can't do that much w
Re: (Score:1)
Unless I am REALLY missing something, it is next to impossible to go from a blurry distorted image to pin-sharp. Really close to impossible.
Actually, mathematically, it is completely impossible for most images. This is the same reason that any data compression algorithm must, at least some of the time, produce "compressed" files that are larger than the originals: if they didn't, there would be a many-to-one mapping, violating the pigeonhole principle [wikipedia.org].
Re: (Score:2, Informative)
Re: (Score:1)
You can potentially sharpen parts of an image (to a degree) if the information exists elsewhere in the image. For instance if there are repeated elements in the image (images of text, man made structures, etc...). Human faces are also mostly symmetric.
With CCTV you also have a series of other very similar images to get information from in order to sharpen a single frame.
Re: (Score:1)
Actually it is possible. It has been done to uncover blurred out credit card numbers, for instance. Also, in addition to the methods used in TFA, one can use fractal compression. This matches the 'shapes' in the image to individual fractals, and allows zooming in much further than originally possible without producing pixellation. This is used routinely in the publishing business with low-resol
Re: (Score:2)
What's not possible is sharpening up to frequencies above where the MTF is zero. Since your imaging system mul
Re: (Score:1)
CSI style surveillance camera enhancement is impossible, but you can get a surprising amount of additional detail out of a blurry photo with properly applied deconvolution.
I agree. Check out the deconvolution examples using the Gimp Plug-in Refocus-it [sourceforge.net] which is based on finding the minimum of the error function using Hopfield neural network, or Refocus [sourceforge.net] which is based on a modified form of the Wiener filter, called the FIR (Finite Input Response) Wiener filter. Refocus is conveniently available as a Digikam plugin [digikam.org] as well as a gimp plugin.
I've played with Refocus and have had some pretty good results with it, even better than unsharp mask, as the documentation states:
Re: (Score:2)
Deconvolution, on the other hand, is a direct high pass filter. With non-blind deconvolution techniques the filter is designed to counter the low pass filter that caused the blurring. With blind techniques you usually pick some likely blurring function (like a Gaussian) and then apply it iterati
FIR Wiener filter for deconvolution (Score:1)
The (nonlinear) threshold setting on a digital unsharp mask algorithm cause my high pass filter analog to break down, but otherwise it's valid. So ignore the threshold, for a moment, in the unsharp mask. The implementation of the unsharp mask is in the spatial domain as you said, but (without the threshold) it has a dual in the frequency domain. The unsharp mask uses a convolution of the image with a Gaussian for blurring, followed by linear additions and subtractions. Convo
Re: (Score:2)
On the other hand, FIR filters, I believe, have direct equivalent frequency domain filters, even if they are actually calculated in the spatial domain, no restrictions necessary. They're pure convolutions, without t
Re: (Score:1)
You clearly don't know anything about image processing, but hey, this is Slashdot.
Seeing pictures would not prove anything. A ground truth comparison is what is required.
No, respect for trying but it doesn't look like more than a small improvement, if that. We have to get hold of this paper and see if the results are presented in an appropriate scientific contex
Re: (Score:1)
Your right I don't know much about image processing other then a limited experience with Photoshop filters. However, this being Slashdot, I don't need to know what I am talking about right? Insult received.
I am not claiming I understood image processing either. I am approaching it from a logical, mathematical approach. Especially since they claim that this could be used for surveillance purposes to a legal end. Image
Re: (Score:1)
I think it helps to keep things on topic if you don't make a long post speculating about things you clearly don't know. If you know you don't know, then how is it an insult ?
I don't see any logical or mathematical argument in your post. Now you
Re: (Score:1)
Unless I am REALLY missing something, it is next to impossible to go from a blurry distorted image to pin-sharp. Really close to impossible. It is a matter of data. If you start from blurry, you cannot actually obtain the information required to unblur it. It does not exist.
But if you take another image of the same scene, you just captured some more information. An algorithm can attempt to combine this added information from two or more frames into a single image of the scene which has more information in it than a single frame.
I think the part you are missing is that this is about enhancing a scene using multiple images of the same scene.
This looks like a clever concept even ... (Score:2)
Can you say boids? (Score:2)
http://en.wikipedia.org/wiki/Boids [wikipedia.org]
What's really cool is that boids force you to re-think how you define intelligence, well, at least collective intelligence. It's like watching ants at work. Love it.
metaheuristic (Score:2)
re (Score:1)
Swarm Sci-Fi (Score:2)
Pics? (Score:1)