Thread: Name that image process!

  1. #1
    Malum in se abachler's Avatar
    Join Date
    Apr 2007
    Posts
    3,195

    Name that image process!

    OK I have a few interestign (at least to me) image processing effects. Lets see if you guys can name the mathematical methods used to generate them

    Here is the first one, hint its not a simple negative -

  2. #2
    Registered User VirtualAce's Avatar
    Join Date
    Aug 2001
    Posts
    9,607
    Looks like a Sobel filter.

  3. #3
    Officially An Architect brewbuck's Avatar
    Join Date
    Mar 2007
    Location
    Portland, OR
    Posts
    7,396
    Well, that looks like the result of an edge filter, probably Sobel or Laplace, applied individually to each color channel. But knowing you, it's probably some weird neural network thing

    As far as what those operations actually are, Laplace is a simple convolution with a 3x3 kernel with coefficients [ 1 1 1 ][ 1 -8 1 ][ 1 1 1 ] and Sobel is a magnitude interpolation between a horizontal and vertical gradient approximation kernel, I believe for vertical it is [1 0 -1][-2 0 2][1 0 -1] and for horizontal [1 -2 1][0 0 0][-1 2 -1]

    Note that the "Laplace" kernel in image processing is not the true discrete Laplace kernel, as what would be used for physics simulations. That kernel is [0 1 0][1 -4 1][0 1 0]
    Code:
    //try
    //{
    	if (a) do { f( b); } while(1);
    	else   do { f(!b); } while(1);
    //}

  4. #4
    Registered User VirtualAce's Avatar
    Join Date
    Aug 2001
    Posts
    9,607
    I was taken aback by the posterized nature of the edges. It does seem as if a Sobel or some edge detect was done on the individual channels and then the merged into one image. However if the original photo had sharp color transitions then this could be produced by a simple Sobel filter or some other edge detection process.

    So to add to my guess he probably posterized the orgiinal image and then did an edge detect on it. But this question is almost like giving us some arbitrary number and asking us how he arrived at that number.

  5. #5
    Malum in se abachler's Avatar
    Join Date
    Apr 2007
    Posts
    3,195
    Well you know my contests, I never give you all the info, I like to see how crazy and outrageous people get with that noodle between their ear bones.

    Its actually much simpler than a sobel filter, it was actually designed for motion detection.

    I did a time lapse historical average, with full storage of the last 100 frames, then I XOR'd it with the current image. Areas that didnt change would have zero values, areas that did change would have non-zero values.

    Here is another one -
    Last edited by abachler; 09-04-2009 at 05:19 AM.

  6. #6
    ATH0 quzah's Avatar
    Join Date
    Oct 2001
    Posts
    14,826
    "Here's some random crap I did. Guess what random crap I did." ... doesn't seem like much of a contest.

    Quzah.
    Hope is the first step on the road to disappointment.

  7. #7
    Malum in se abachler's Avatar
    Join Date
    Apr 2007
    Posts
    3,195
    Quote Originally Posted by quzah View Post
    "Here's some random crap I did. Guess what random crap I did." ... doesn't seem like much of a contest.

    Quzah.
    Yeah here's some more crap you didn't do, Guess what random crap you didn't do.

  8. #8
    Devil's Advocate SlyMaelstrom's Avatar
    Join Date
    May 2004
    Location
    Out of scope
    Posts
    4,079
    Quote Originally Posted by abachler View Post
    Yeah here's some more crap you didn't do, Guess what random crap you didn't do.
    I gotta go with Quzah on this one... looks like you're just abstract the fact that you wanted to brag about your project by modestly wrapping a very obscure contest around it. Why you would do this, I don't know... people post their projects all of the time in either the Tech Board forum or the Projects & Job Recruitment forum and they get plenty of attention. Why don't you just make a post like that and tell us about what you did? I'd be interested in knowing about it.

    ... oh, and throw a shirt on while you're at it.
    Sent from my iPadŽ

  9. #9
    Registered User VirtualAce's Avatar
    Join Date
    Aug 2001
    Posts
    9,607
    Yeah abachler do you ever wear a shirt? Or are you hoping the ladies might take note on this board? Sorry to tell you but I don't think many frequent this board.

    One of those looks like an emboss filter or perhaps a bump map filter.

  10. #10
    Guest Sebastiani's Avatar
    Join Date
    Aug 2001
    Location
    Waterloo, Texas
    Posts
    5,708
    Quote Originally Posted by Bubba View Post
    Yeah abachler do you ever wear a shirt?
    Come to think of it, he might not be wearing any pants, either.
    Last edited by Sebastiani; 09-19-2009 at 09:49 PM.

  11. #11
    Malum in se abachler's Avatar
    Join Date
    Apr 2007
    Posts
    3,195
    Quote Originally Posted by SlyMaelstrom View Post
    ... oh, and throw a shirt on while you're at it.
    NO!!!

    If I do that whats next, a demand that I wear pants too?
    Last edited by abachler; 09-20-2009 at 03:22 AM.

  12. #12
    and the hat of copycat stevesmithx's Avatar
    Join Date
    Sep 2007
    Posts
    587
    For a second i thought i was seeing jack nicholson.
    Not everything that can be counted counts, and not everything that counts can be counted
    - Albert Einstein.


    No programming language is perfect. There is not even a single best language; there are only languages well suited or perhaps poorly suited for particular purposes.
    - Herbert Mayer

  13. #13
    Guest Sebastiani's Avatar
    Join Date
    Aug 2001
    Location
    Waterloo, Texas
    Posts
    5,708
    Quote Originally Posted by abachler View Post
    NO!!!

    If I do that whats next, a demand that I wear pants too?
    I don't see what a piece of fabric has to do with writing correct programs. It's completely immaterial, really (take that literally, if you like).

    Real programmers don't need clothes.

  14. #14
    Malum in se abachler's Avatar
    Join Date
    Apr 2007
    Posts
    3,195
    Changed it a bit and got better results

  15. #15
    Guest Sebastiani's Avatar
    Join Date
    Aug 2001
    Location
    Waterloo, Texas
    Posts
    5,708
    Wow, big diff. What's the process being used to generate the upper right-hand image? I really don't know a whole lot about what filters do what, so I can't even begin to guess (except that it's some sort of edge-detector). But yeah, whatever you did, it looks a lot better.

Popular pages Recent additions subscribe to a feed

Similar Threads

  1. Problem reading tiff image files?
    By compz in forum C++ Programming
    Replies: 9
    Last Post: 10-30-2009, 04:17 AM
  2. sequenceing or queueing multiple process
    By sv_joshi_pune in forum Windows Programming
    Replies: 1
    Last Post: 08-14-2009, 09:43 AM
  3. Replies: 3
    Last Post: 10-15-2008, 09:24 AM
  4. Problem with forking a process
    By Unitedroad in forum C Programming
    Replies: 10
    Last Post: 10-04-2007, 01:43 AM
  5. process programming
    By St0rM-MaN in forum Linux Programming
    Replies: 2
    Last Post: 09-15-2007, 07:53 AM