On 30 Jul., 01:16, "Terry Duell" <[email protected]> wrote: > On Fri, 29 Jul 2011 17:51:08 +1000, kfj <[email protected]> wrote:
> > Oops! Must be very blurred indeed. Do you have some images online > > somewhere to give me an idea? > > Still working on the problem that was subject of group discussion some > time back, I think posts would have had the following title; > <[hugin-ptx] Re: proto feature request : Motion Blur Correction> So you're talking about motion blur! Now that's quite a different matter. I thought you had ordinary blurred images, like out-of focus, which is similar to a gaussian blur and shouldn't bother the CPGs much. But motion blur isn't like that. No surprise you're getting such bad results. I suppose no set of parameters will really work for that. You may think of a motion-blurred picture as a set of superimposed images with different yaw and/or pitch and/or roll. Which of the images should the CPG refer to and how should it keep them apart? There's just no localizing the features precisely. Or, to put it differently, the motion-blurred features just don't lok anything like the unblurred ones, so there is no similar pattern to detect. You'll have to get the motion blur out before you feed them to the CPG. But if you artificially produce the motion blur, not by some clever FT or convolution, but simply by averaging, say, twenty images which are shifted by a bit (like about one pixel) along a similar direction, you know what you've done and you don't need CPs and you can take the de-blurring maths from there. I recommended back then to keep the maths as simple as possible. Using real-worls blurred images and trying to make sense of them is very heavy maths - since you don't know the parameters. Start with a simple model where you have total control. If you succeed there you may have a chance to model the missing parameters in a real-world-data situation. My suspicion is that your approach of fixing the problem with CPGs won't work. I have a hunch that you may find the data that describe the shift (if it isn't too complex) in the FT of the blurred signal. Or by analyzing autocorrelations within the blurred images (like, if you autocorrelate with a neighbouring pixel and it's on the blur's 'trajectory' you should get a higher value than with one that isn't). If you do have a rough fix to an unblurred image (and I know you'd love the CPs for that) you could also calculate cross-correlations for the blurred and unblurred images in a smallish (order of magnitude of the blur) area - where the blur has smeared the original image to, the cross-correlation should be larger. Bruno's recommendation to shrink the images until the blur is gone will be problematic with motion blur - if you have a blur 20 pixels wide, you might end up with very small images indeed ;-) Still it's well worth a try. Maybe it helps the CPGs. Your initial result of getting less points with --fullscale points that way. I wasn't for downscaling because I thought you had a case of ordinary blur. Happy calculations. Do you use mathmap? Kay -- You received this message because you are subscribed to the Google Groups "Hugin and other free panoramic software" group. A list of frequently asked questions is available at: http://wiki.panotools.org/Hugin_FAQ To post to this group, send email to [email protected] To unsubscribe from this group, send email to [email protected] For more options, visit this group at http://groups.google.com/group/hugin-ptx
