RSS/Atom feed Twitter
Site is read-only, email is disabled

Motion blur algorithms

This discussion is connected to the gimp-developer-list.gnome.org mailing list which is provided by the GIMP developers and not related to gimpusers.com.

This is a read-only list on gimpusers.com so this discussion thread is read-only, too.

10 of 10 messages available
Toggle history

Please log in to manage your subscriptions.

Motion blur algorithms Calculemus 13 Jul 19:09
  Motion blur algorithms Guillermo Espertino (Gez) 13 Jul 20:44
  Motion blur algorithms Alexandre Prokoudine 13 Jul 20:49
  Motion blur algorithms gg 13 Jul 21:01
   Motion blur algorithms Calculemus 13 Jul 21:31
    Motion blur algorithms Calculemus 13 Jul 21:36
     Motion blur algorithms Partha Bagchi 13 Jul 21:45
    Motion blur algorithms gfxuser 13 Jul 21:46
    Motion blur algorithms Jon Nordby 14 Jul 12:13
     Motion blur algorithms Calculemus 15 Jul 21:21
Calculemus
2012-07-13 19:09:25 UTC (over 12 years ago)

Motion blur algorithms

I need to implement motion blur(linear, radial and zoom )algorithms for an app I work on, like yours in GIMP.

In the .c file for motion blur it is not stated which source is used for the math/algorithm.

Someone knows the source, paper, book or whatever that was used as reference for implementing the motion blur algorithms?

Thanks

Guillermo Espertino (Gez)
2012-07-13 20:44:13 UTC (over 12 years ago)

Motion blur algorithms

On 13/07/12 16:09, Calculemus wrote:

I need to implement motion blur(linear, radial and zoom )algorithms for an app I work on, like yours in GIMP.

Hi
Is your application free software?
Please keep in mind that if you plan to publish your application and you re-use code from GIMP you have to honor the GPL V3 license, publishing the source code along the distributed binaries.

Releasing source code isn't a requirement if you don't plan to distribute the application to the public and keep it for yourself.

Kind regards, Gez.

Alexandre Prokoudine
2012-07-13 20:49:24 UTC (over 12 years ago)

Motion blur algorithms

On Fri, Jul 13, 2012 at 11:09 PM, Calculemus wrote:

I need to implement motion blur(linear, radial and zoom )algorithms for an app I work on, like yours in GIMP.

In the .c file for motion blur it is not stated which source is used for the math/algorithm.

Someone knows the source, paper, book or whatever that was used as reference for implementing the motion blur algorithms?

Why do you necessarily want the algo from GIMP?

There are probably dozens of approaches. Finding a paper is not a problem :)

http://graphics.snu.ac.kr/publications/conference_proceedings/2007-dykim-egwnp.pdf + its references could be a start.

Alexandre Prokoudine http://libregraphicsworld.org

gg
2012-07-13 21:01:21 UTC (over 12 years ago)

Motion blur algorithms

On 07/13/12 21:09, Calculemus wrote:

I need to implement motion blur(linear, radial and zoom )algorithms for an app I work on, like yours in GIMP.

In the .c file for motion blur it is not stated which source is used for the math/algorithm.

Someone knows the source, paper, book or whatever that was used as reference for implementing the motion blur algorithms?

Thanks

Motion blur is convolution of the image with a straight line ; defocus blur with a filled circle. Deblurring is done by the inverse operation, deconvolution.

This can be done as multiplication in the freq domain using FFT or convolution with a simple kernel image.

/gg

Calculemus
2012-07-13 21:31:03 UTC (over 12 years ago)

Motion blur algorithms

Nope I am far from releasing :)

Why GIMP? It is the only open source for this kinda thing I know.

Easy to find papers, hmm? Ok, I am a student and need your advice on this. Let's say I want to find a paper on an algorithm which I know what it does, and that is all. Where do I search? I am member at acm.org but usually they have very advanced papers.

Calculemus
2012-07-13 21:36:48 UTC (over 12 years ago)

Motion blur algorithms

Alexandre, but that paper is for motion blur for animation sequences. I just need motion blur for 2D images. It has two parameters, angle and displacement.

Partha Bagchi
2012-07-13 21:45:00 UTC (over 12 years ago)

Motion blur algorithms

On Fri, Jul 13, 2012 at 5:36 PM, Calculemus wrote:

Alexandre, but that paper is for motion blur for animation sequences. I just need motion blur for 2D images. It has two parameters, angle and displacement.

_______________________________________________ gimp-developer-list mailing list
gimp-developer-list@gnome.org
https://mail.gnome.org/mailman/listinfo/gimp-developer-list

Hi,

I would think Wikipedia would be perfect for a student to start their research? :)

I just typed "motion blur algorithm" within en.wikipedia.org and got hundreds of hits.

Hope that helps.

Partha

gfxuser
2012-07-13 21:46:56 UTC (over 12 years ago)

Motion blur algorithms

Hi Calcemus,

Easy to find papers, hmm? Ok, I am a student and need your advice on this. Let's say I want to find a paper on an algorithm which I know what it does, and that is all. Where do I search? I am member at acm.org but usually they have very advanced papers.

nearly every scientific paper starts with a survey on existing papers and research.
You could also look at Google scholar for survey or introduction papers. Another way is to use www.metager.de (a meta search engine) and select some scientific search engines there. This should give you some hints or serve as starting point into a particular topic.

Best regards,

grafxuser

Jon Nordby
2012-07-14 12:13:34 UTC (over 12 years ago)

Motion blur algorithms

May I ask why you are not simply using GEGL as the backend for you application? It implements a large number of image processing operations (every one you've asked about so far) and is designed to be reusable.

If there are issues which prevent you from using it we would love to hear about it so we can improve the situation.

On 13/07/2012, Calculemus wrote:

Nope I am far from releasing :)

Why GIMP? It is the only open source for this kinda thing I know.

Easy to find papers, hmm? Ok, I am a student and need your advice on this. Let's say I want to find a paper on an algorithm which I know what it does, and that is all. Where do I search? I am member at acm.org but usually they have very advanced papers.

Calculemus
2012-07-15 21:21:01 UTC (over 12 years ago)

Motion blur algorithms

So if I understand right, motion blur is just a convolution with a mask?

For linear motion blur you create a line and maybe smooth it a bit.

For zoom motion blur you need to calculate a different mask for each pixel. So you need a line drawing algorithm to create masks with lines rotated appropriately to face the center of the zoom.

Not sure about radial blur.