Jump to content


Photo

Free Fusion Plugin: Median Filter 1.0


  • Please log in to reply
25 replies to this topic

#1 hulan

hulan

    Flying Pig

  • Adv Members
  • PipPipPipPipPip
  • 82 posts

Posted 30 September 2008 - 12:47 PM

Updated 16-01-09 Multi Filter 1.003 Attached File  multi_filter_1.003.zip   26.1KB   183 downloads
Heya.

Multi filter is a temporal filter that samples each pixel from a specified amount of frames and then outputs a pixel based on a choosen formula.
The filter works best on a stabilsed shot where the objects that is desired to be filtered is the only thing that is moving, you can however supply the filter with tracking data which it can use to compensate for moving shots. Multi filter can be used to create cleanplates, do wire removal or remove any object that is moving in a locked off or stabilsed shot. Formulas avalible is Median, Min, Max, Average and Random.

The plugin is multi-threaded and compiled for 32bit/x86.
Make sure you run atleast Fusion 5.3.55 with this one. : )

Good luck!
Christoffer Hulusj÷
christoffer (at) hulusjo.se
http://christoffer.hulusjo.se

v.003
- Formulas avalible is Median, Min, Max, Average and Random
- Supply tracking data and the plugin will compensate for that when processing
- Higher limit of samples. (250 frames in each direction)

Give it a try and let me know if you have any suggestions or feedback.

Posted Image

Posted Image

#2 SecondMan

SecondMan

    Flying Pig

  • Adv Members
  • PipPipPipPipPip
  • 1,797 posts

Posted 30 September 2008 - 01:42 PM

Downloading now, will give this a good look!

Thanks, very kind of you to share!

Cheers,
Pieter.

#3 Gringo

Gringo

    Associate Administrator

  • Adv Members
  • PipPipPipPipPip
  • 1,455 posts

Posted 30 September 2008 - 01:52 PM

Hi Christoffer!

Thank you! I will try this tool on green screen footages shortly!

Very kind indeed!

#4 jonangelo

jonangelo

    Flying Pig

  • Adv Members
  • PipPipPipPipPip
  • 54 posts

Posted 30 September 2008 - 04:03 PM

Thanks Christoffer sweet and productive to skip an export round trip to photoshop to do this kind of thing.

Super nice of you to share

Spoiler


/Jon Angelo Gjetting

#5 SecondMan

SecondMan

    Flying Pig

  • Adv Members
  • PipPipPipPipPip
  • 1,797 posts

Posted 01 October 2008 - 03:34 AM

Hi Christoffer,

Interesting plugin, but I am getting some unexpected results here, mainly runtime errors. This is on 5.3b66 running on XP64. I find it highly unstable on my system.

Also, the plugin outputs horizontal lines in the alpha channel (using dpx files with no alpha channel as a test source), it would be nice if that could be avoided.

#6 hulan

hulan

    Flying Pig

  • Adv Members
  • PipPipPipPipPip
  • 82 posts

Posted 01 October 2008 - 04:51 AM

Hey SecondMan.
Yeah it is a bit unstable right now, more a proof of concept then a production ready tool.. : )
Here's a quick fix for the horizontal lines in the alpha.

Gonna make it stable now and optimize it, should be much faster in the next version.

Thanks all for your comments and for trying it out!

#7 SecondMan

SecondMan

    Flying Pig

  • Adv Members
  • PipPipPipPipPip
  • 1,797 posts

Posted 01 October 2008 - 04:59 AM

Sounds good! Thanks!

#8 bfloch

bfloch

    Flying Pig

  • Adv Members
  • PipPipPipPipPip
  • 960 posts

Posted 01 October 2008 - 09:19 AM

I am just wondering: isn't that like a frame average tool?

Cheers
Blazej

#9 SecondMan

SecondMan

    Flying Pig

  • Adv Members
  • PipPipPipPipPip
  • 1,797 posts

Posted 01 October 2008 - 09:39 AM

Not exactly;

"The median is the value which divides the sequence in half, when a set of values are arranged in ascending order. eg. if the numbers were 1,1,2,3,4,5,6,7,7,7,7 the median would be 5, whereas the average is 4.54"

(found that on the web)

Also, I compared with Krokodove's Average node and the results are quite different.

#10 theotheo

theotheo

    Flying Pig

  • Adv Members
  • PipPipPipPipPip
  • 281 posts

Posted 01 October 2008 - 10:03 AM

Wicked stuff as usual Chris, this is going to be quite handy. Looking forward to the new version, I've heard its teh lick!

-theo

#11 ChadCapeland

ChadCapeland

    Flying Pig

  • Adv Members
  • PipPipPipPipPip
  • 1,975 posts

Posted 01 October 2008 - 10:21 AM

Not exactly;

"The median is the value which divides the sequence in half, when a set of values are arranged in ascending order. eg. if the numbers were 1,1,2,3,4,5,6,7,7,7,7 the median would be 5, whereas the average is 4.54"


Also, a Median will not introduce a new value. The result will be one of the values in the array, provided the array contains an odd number of members.

- Chad

#12 hulan

hulan

    Flying Pig

  • Adv Members
  • PipPipPipPipPip
  • 82 posts

Posted 01 October 2008 - 05:05 PM

A frame average is a much simpler filter, it doesn't need to temp store the pixel values and arange them in order as a median function is requiered to do.

Here is by the way todays build with some new features, 1.002. (grab it from first post in thread)

-Big speed increase, no longer "time = log(nFrames)."
-Mask support, only computes mask area. (IMPORTANT: Make sure mask is same size as input image, it's not a "effectmask" input which would auto sets mask to correct size)
-Should be much more stable

Give it a try and let me know if you have any suggestions or feedback.

#13 marvin

marvin

    Member Pig

  • Adv Members
  • PipPip
  • 24 posts

Posted 02 October 2008 - 05:04 AM

Very kind of you to share this! I'll definatly try it with my next wire removal shot :)
Thanks!

#14 redoddity

redoddity

    Flying Pig

  • Adv Members
  • PipPipPipPipPip
  • 190 posts

Posted 02 October 2008 - 05:30 PM

Very very cool, ideal for creating those '28 days later' type empty street shots, thank you very much, going to give this a whirl tomorrow.

#15 hulan

hulan

    Flying Pig

  • Adv Members
  • PipPipPipPipPip
  • 82 posts

Posted 16 January 2009 - 06:50 AM

Added some new features to the plugin..

v.003
- Formulas avalible is Median, Min, Max, Average and Random
- Supply tracking data and the plugin will compensate for that when processing
- Higher limit of samples. (250 frames in each direction)




0 user(s) are reading this topic

0 members, 0 guests, 0 anonymous users