• MOtion deblur

    From pdaraja@gmail.com@21:1/5 to All on Wed Oct 26 23:57:42 2016
    Hi all,
    I am dinesh, working on the restoration of the motion blur due to fast moving of object. i have one doubt, if i want to deblur a blurred image, why i need to add some additive noise to recover them.in addition to that why the deconvolution algorithm
    requires the simulating of motion blur to restore the deblurred image.
    please acknowledge me. thanks in advance.

    --- SoupGate-Win32 v1.05
    * Origin: fsxNet Usenet Gateway (21:1/5)
  • From Martin Leese@21:1/5 to pdaraja@gmail.com on Thu Oct 27 11:05:15 2016
    pdaraja@gmail.com wrote:
    Hi all,
    I am dinesh, working on the restoration of
    the motion blur due to fast moving of object.
    i have one doubt, if i want to deblur a
    blurred image, why i need to add some
    additive noise to recover them.

    You first need to understand how
    deconvolution works. Assume a model of the
    blurring process:
    Input(s) * Blur(s) = Output(s)
    where s is the space domain
    * is convolution
    and Input(s) is the original
    unblurred image

    Transform into the frequency domain
    Input(f) x Blur(f) = Output(f)
    where f is the frequency domain
    and x is simple multiplication

    Now rearrange:
    Input(f) = Output(f) / Blur(f)
    where / is simple division

    Note that where the denominator is zero, the
    division will introduce infinities.
    Infinities are bad, and represent lost
    information; there is no possible way to
    recover it.

    So, you have to introduce a "fiddle factor"
    to produce a usable result, be it one that
    contains artifacts. One way to do this is
    to introduce additive noise. There are
    other ways.

    in addition to that why the deconvolution
    algorithm requires the simulating of
    motion blur to restore the deblurred image.

    It does not. However, you do need to
    estimate the blurring function, Blur(s).
    For constant velocity blur typically this
    would be its direction and length.

    --
    Regards,
    Martin Leese
    E-mail: please@see.Web.for.e-mail.INVALID
    Web: http://members.tripod.com/martin_leese/

    --- SoupGate-Win32 v1.05
    * Origin: fsxNet Usenet Gateway (21:1/5)
  • From pdaraja@gmail.com@21:1/5 to Martin Leese on Sun Oct 30 22:40:17 2016
    On Thursday, October 27, 2016 at 10:35:22 PM UTC+5:30, Martin Leese wrote:
    pdaraja wrote:
    Hi all,
    I am dinesh, working on the restoration of
    the motion blur due to fast moving of object.
    i have one doubt, if i want to deblur a
    blurred image, why i need to add some
    additive noise to recover them.

    You first need to understand how
    deconvolution works. Assume a model of the
    blurring process:
    Input(s) * Blur(s) = Output(s)
    where s is the space domain
    * is convolution
    and Input(s) is the original
    unblurred image

    Transform into the frequency domain
    Input(f) x Blur(f) = Output(f)
    where f is the frequency domain
    and x is simple multiplication

    Now rearrange:
    Input(f) = Output(f) / Blur(f)
    where / is simple division

    Note that where the denominator is zero, the
    division will introduce infinities.
    Infinities are bad, and represent lost
    information; there is no possible way to
    recover it.

    So, you have to introduce a "fiddle factor"
    to produce a usable result, be it one that
    contains artifacts. One way to do this is
    to introduce additive noise. There are
    other ways.

    in addition to that why the deconvolution
    algorithm requires the simulating of
    motion blur to restore the deblurred image.

    It does not. However, you do need to
    estimate the blurring function, Blur(s).
    For constant velocity blur typically this
    would be its direction and length.

    --


    thank you so much martin.
    i have one big doubt, if i have a blurred image as a input, how can i determine blur kernel and how can i restore it as deblurred.

    --- SoupGate-Win32 v1.05
    * Origin: fsxNet Usenet Gateway (21:1/5)
  • From pdaraja@gmail.com@21:1/5 to All on Tue Nov 1 00:26:46 2016

    thank you so much martin. i am not getting the clarity on the below comments.

    "One way to do this is to
    examine what would have been point sources
    in the unblurred image. These are blurred
    to lines (with a length and direction)."

    please acknowledge me..

    --- SoupGate-Win32 v1.05
    * Origin: fsxNet Usenet Gateway (21:1/5)
  • From pdaraja@gmail.com@21:1/5 to Martin Leese on Tue Nov 1 00:25:16 2016
    On Monday, October 31, 2016 at 8:50:47 PM UTC+5:30, Martin Leese wrote:
    pdaraja wrote:
    On Thursday, October 27, 2016 at 10:35:22 PM UTC+5:30, Martin Leese wrote:
    pdaraja wrote:
    ...
    in addition to that why the deconvolution
    algorithm requires the simulating of
    motion blur to restore the deblurred image.

    It does not. However, you do need to
    estimate the blurring function, Blur(s).
    For constant velocity blur typically this
    would be its direction and length.

    thank you so much martin.
    i have one big doubt, if i have a blurred
    image as a input, how can i determine blur
    kernel and how can i restore it as
    deblurred.

    How you determine Blur(s) depends on the
    type of blur. If the motion is at constant
    velocity then you just need its direction
    and length. One way to do this is to
    examine what would have been point sources
    in the unblurred image. These are blurred
    to lines (with a length and direction).

    You can then restore the image by applying
    the deconvolution algorithm, making sure to
    do something about the infinities.

    --
    One way to do this is to
    examine what would have been point sources
    in the unblurred image. These are blurred
    to lines (with a length and direction).

    thank you so much martin. i am not getting the clarity on the above comments. please acknowledge me..

    --- SoupGate-Win32 v1.05
    * Origin: fsxNet Usenet Gateway (21:1/5)
  • From pdaraja@gmail.com@21:1/5 to All on Wed Nov 2 23:12:47 2016

    The blur function, Blur(s), is also called
    the point spread function. It is the result,
    in the space domain, of what would be
    produced from the blurring of a single point
    source in the centre of the image.

    For constant velocity motion, a point source
    is blurred to a straight line. So, in this
    case, the function Blur(s) is the image of a
    single straight line which begins in the
    centre of the image. A good way to estimate
    the length and direction of the required
    straight line is to examine what happens to
    naturally occurring point sources in the
    original unblurred image.


    thanks for your reply.
    i have tried wiener filter as well as blind deconvolution method to deblur the image.
    in the first case(wiener filter)i have given the artificial motion blurred image as a input. then i have assigned the point spread function as motion(length, direction). then there is a deconvolution output with the minimal accuracy.
    in second case, i have given the same input to blind deconvolution. but here we need to specify the initial size of PSF(blur kernel.."that i don't know how to assign the size of PSF in matlab"). then after the desired iteration, it will give the average
    result(not clear) .

    hence i have understood that PSF is very important factor to deblur any image. can you help me hoe to find the blur kernel of the blurred image(input)

    --- SoupGate-Win32 v1.05
    * Origin: fsxNet Usenet Gateway (21:1/5)
  • From Martin Leese@21:1/5 to pdaraja@gmail.com on Thu Nov 3 08:51:55 2016
    pdaraja@gmail.com wrote:
    The blur function, Blur(s), is also called
    the point spread function. It is the result,
    in the space domain, of what would be
    produced from the blurring of a single point
    source in the centre of the image.

    For constant velocity motion, a point source
    is blurred to a straight line. So, in this
    case, the function Blur(s) is the image of a
    single straight line which begins in the
    centre of the image. A good way to estimate
    the length and direction of the required
    straight line is to examine what happens to
    naturally occurring point sources in the
    original unblurred image.

    thanks for your reply.
    i have tried wiener filter as well as blind deconvolution method to deblur the image.
    in the first case(wiener filter)i have given the artificial motion blurred image as a input. then i have assigned the point spread function as motion(length, direction). then there is a deconvolution output with the minimal accuracy.
    in second case, i have given the same input to blind deconvolution. but here we need to specify the initial size of PSF(blur kernel.."that i don't know how to assign the size of PSF in matlab"). then after the desired iteration, it will give the
    average result(not clear) .

    hence i have understood that PSF is very important factor to deblur any image. can you help me hoe to find the blur kernel of the blurred image(input)

    It seems your problem is how to drive
    MATLAB's deconvolution function. I have
    never used MATLAB, so cannot help you
    further.

    --
    Regards,
    Martin Leese
    E-mail: please@see.Web.for.e-mail.INVALID
    Web: http://members.tripod.com/martin_leese/

    --- SoupGate-Win32 v1.05
    * Origin: fsxNet Usenet Gateway (21:1/5)
  • From Martin Leese@21:1/5 to pdaraja@gmail.com on Mon Oct 31 09:20:39 2016
    pdaraja@gmail.com wrote:
    On Thursday, October 27, 2016 at 10:35:22 PM UTC+5:30, Martin Leese wrote:
    pdaraja wrote:
    ...
    in addition to that why the deconvolution
    algorithm requires the simulating of
    motion blur to restore the deblurred image.

    It does not. However, you do need to
    estimate the blurring function, Blur(s).
    For constant velocity blur typically this
    would be its direction and length.

    thank you so much martin.
    i have one big doubt, if i have a blurred
    image as a input, how can i determine blur
    kernel and how can i restore it as
    deblurred.

    How you determine Blur(s) depends on the
    type of blur. If the motion is at constant
    velocity then you just need its direction
    and length. One way to do this is to
    examine what would have been point sources
    in the unblurred image. These are blurred
    to lines (with a length and direction).

    You can then restore the image by applying
    the deconvolution algorithm, making sure to
    do something about the infinities.

    --
    Regards,
    Martin Leese
    E-mail: please@see.Web.for.e-mail.INVALID
    Web: http://members.tripod.com/martin_leese/

    --- SoupGate-Win32 v1.05
    * Origin: fsxNet Usenet Gateway (21:1/5)
  • From Martin Leese@21:1/5 to pdaraja@gmail.com on Tue Nov 1 09:37:36 2016
    pdaraja@gmail.com wrote:

    On Monday, October 31, 2016 at 8:50:47 PM UTC+5:30, Martin Leese wrote:

    How you determine Blur(s) depends on the
    type of blur. If the motion is at constant
    velocity then you just need its direction
    and length. One way to do this is to
    examine what would have been point sources
    in the unblurred image. These are blurred
    to lines (with a length and direction).

    thank you so much martin. i am not getting
    the clarity on the above comments. please
    acknowledge me..

    The blur function, Blur(s), is also called
    the point spread function. It is the result,
    in the space domain, of what would be
    produced from the blurring of a single point
    source in the centre of the image.

    For constant velocity motion, a point source
    is blurred to a straight line. So, in this
    case, the function Blur(s) is the image of a
    single straight line which begins in the
    centre of the image. A good way to estimate
    the length and direction of the required
    straight line is to examine what happens to
    naturally occurring point sources in the
    original unblurred image.

    --
    Regards,
    Martin Leese
    E-mail: please@see.Web.for.e-mail.INVALID
    Web: http://members.tripod.com/martin_leese/

    --- SoupGate-Win32 v1.05
    * Origin: fsxNet Usenet Gateway (21:1/5)
  • From dale@21:1/5 to Martin Leese on Fri Nov 4 21:08:27 2016
    On 11/3/2016 10:51 AM, Martin Leese wrote:
    I have
    never used MATLAB

    comp.soft-sys.matlab
    comp.soft-sys.octave

    --
    dale | http://www.dalekelly.org

    --- SoupGate-Win32 v1.05
    * Origin: fsxNet Usenet Gateway (21:1/5)
  • From pdaraja@gmail.com@21:1/5 to All on Thu Nov 3 21:43:52 2016
    Thank you for your support

    --- SoupGate-Win32 v1.05
    * Origin: fsxNet Usenet Gateway (21:1/5)