Author Topic: [IMAGE PROCESSING] Median Filter  (Read 7371 times)

0 Members and 1 Guest are viewing this topic.

Offline Rbz

  • Founder Member
  • DBF Aficionado
  • ********
  • Posts: 2757
  • Karma: 493
    • View Profile
    • https://www.rbraz.com/
[IMAGE PROCESSING] Median Filter
« on: July 30, 2011 »
Here's my entry.

As the compo rules says "You only need to look through the list of photoshop filters for inspiration!" and so I did, I found median filter interesting and searched for more information on how it's done. You can find more info here and here.
During my tests, a bug turned into feature once more, instead of using a color buffer I used a grayscale buffer combined with color buffer to produce some sort of "painted image effect" which looked interesting to me so it was added here as an option.

The program will ask (console window) for how much passes the filter will run, which could be from 1 to 20, of course with more passes, more time it will take to render. Type "y" or "n" if you want to see the painter mode or normal median filter mode.

The program will only load BITMAP images, to load a new image just drag and drop a .bmp file on the executable file or type: "Median_Filter your_image.bmp"


« Last Edit: July 30, 2011 by rbz »
Challenge Trophies Won:

Offline Pixel_Outlaw

  • Pentium
  • *****
  • Posts: 1382
  • Karma: 83
    • View Profile
Re: [IMAGE PROCESSING] Median Filter
« Reply #1 on: July 30, 2011 »

Wow, what a nice effect. Looks a lot like a painting you might see on black velvet.
I think the bird was a nice choice to showcase it.
Challenge Trophies Won:

Offline Shockwave

  • good/evil
  • Founder Member
  • DBF Aficionado
  • ********
  • Posts: 17412
  • Karma: 498
  • evil/good
    • View Profile
    • My Homepage
Re: [IMAGE PROCESSING] Median Filter
« Reply #2 on: July 30, 2011 »
It gives a really cool cotton wool effect to the image :)

Great stuff RBZ.

Turns out that this comp will have generated some interesting tools!
Shockwave ^ Codigos
Challenge Trophies Won:

Offline ferris

  • Pentium
  • *****
  • Posts: 841
  • Karma: 84
    • View Profile
    • Youth Uprising Home
Re: [IMAGE PROCESSING] Median Filter
« Reply #3 on: July 30, 2011 »
Woah, great looking! Adapts well to new photos, also. Nice job!
http://iamferris.com/
http://youth-uprising.com/

Where the fun's at.
Challenge Trophies Won:

Offline Rbz

  • Founder Member
  • DBF Aficionado
  • ********
  • Posts: 2757
  • Karma: 493
    • View Profile
    • https://www.rbraz.com/
Re: [IMAGE PROCESSING] Median Filter
« Reply #4 on: July 30, 2011 »
Thanks all for your comments!

Added a screen shot on my first post.
Challenge Trophies Won:

Offline Kirl

  • Senior Member
  • Pentium
  • ********
  • Posts: 1217
  • Karma: 230
    • View Profile
    • Homepage
Re: [IMAGE PROCESSING] Median Filter
« Reply #5 on: July 30, 2011 »
Excellent effect!  :clap:

Would've liked an in program interface to try out values.
www.kirl.nl
Challenge Trophies Won:

Offline Rbz

  • Founder Member
  • DBF Aficionado
  • ********
  • Posts: 2757
  • Karma: 493
    • View Profile
    • https://www.rbraz.com/
Re: [IMAGE PROCESSING] Median Filter
« Reply #6 on: July 30, 2011 »
Thanks Kirl

Would've liked an in program interface to try out values.
Sorry, suddenly the deadline was very close for me ;)
Challenge Trophies Won:

Offline padman

  • Senior Member
  • Pentium
  • ********
  • Posts: 990
  • Karma: 260
    • View Profile
Re: [IMAGE PROCESSING] Median Filter
« Reply #7 on: July 30, 2011 »
Cool thing! And some Karma for the cars pic. My niece loves it!  ;)
« Last Edit: July 31, 2011 by padman »
Challenge Trophies Won:

Offline Raizor

  • Founder Member
  • Pentium
  • ********
  • Posts: 1154
  • Karma: 175
    • View Profile
Re: [IMAGE PROCESSING] Median Filter
« Reply #8 on: July 31, 2011 »
Nice little app rbz :) End effect looks very cool and the source image really shows the effect well.
raizor

Challenge Trophies Won:

Offline combatking0

  • JavaScript lives!
  • Senior Member
  • DBF Aficionado
  • ********
  • Posts: 4569
  • Karma: 235
  • Retroman!
    • View Profile
    • Combat King's Barcode Battler Home
Re: [IMAGE PROCESSING] Median Filter
« Reply #9 on: July 31, 2011 »
The brush stroke effect really brings out the feathery appearance of the parrot - and parrots are the coolest herbivorous birds around :clap:
You are our 9001st visitor.
Challenge Trophies Won:

Offline Rbz

  • Founder Member
  • DBF Aficionado
  • ********
  • Posts: 2757
  • Karma: 493
    • View Profile
    • https://www.rbraz.com/
Re: [IMAGE PROCESSING] Median Filter
« Reply #10 on: July 31, 2011 »
Thanks dudes!

Cool thing! And some Karma for the cars pic. My niece loves it!  ;)
It's nice movie indeed, some karma for your niece too :)

About the parrot (also called "papagaio" here), I found it on pouet, it was instant love :)
Challenge Trophies Won:

Offline rain_storm

  • Here comes the Rain
  • DBF Aficionado
  • ******
  • Posts: 3088
  • Karma: 182
  • Rain never hurt nobody
    • View Profile
    • org_100h
Re: [IMAGE PROCESSING] Median Filter
« Reply #11 on: August 01, 2011 »
Excellent, have no idea how that painter effect works but its looking great.

Challenge Trophies Won: