Edge detection in cocoa

Discussion in 'Mac Programming' started by vibhor80, Feb 2, 2009.

  1. macrumors newbie

    Joined:
    Jan 31, 2009
    #1
    Hey everyone,

    There are plenty of examples on the web of how to process the image.
    I want to detect any object in image(such as hand, face etc). I am unable to detect the object.
    If anyone know how to code one help would be greatly appreciated.

    Vibhor Bhatnagar
    vibhor80@gmail.com:)
     
  2. macrumors member

    Joined:
    Jan 31, 2005
    Location:
    Sweden
    #2
    What do you mean by "detect"?

    There are a number of filters that you can apply that make objects, or the edges of objects, stand out more from the background. Once you've chosen a set of filters and applied them, you still have to apply an algorithm to find out where in the image your objects are located.

    Unfortunately this is not a trivial problem and you need quite a lot of a priori knowledge of the image to achieve good results.
     
  3. Guest

    Joined:
    Mar 6, 2007
    #3
    Any object? So, you are requesting for help on how to perform arbitrary object detection? Right. My first recommendation is to search for "arbitrary object detection algorithm" in Google and read. You may want to reconsider this goal -- this is not for the hobbyist.
     
  4. macrumors regular

    Joined:
    Oct 13, 2008
    Location:
    Achewood, CA
    #4
    If the phrase "convolution matrix" is not familiar to you, this is probably something you shouldn't be attempting.
     
  5. macrumors G5

    gnasher729

    Joined:
    Nov 25, 2005
    #5
    I guess instead of posting at MacRumors you should go to the nearest university library.
     
  6. thread starter macrumors newbie

    Joined:
    Jan 31, 2009
    #6
    Thanks, for your suggestion. If you have any sample example please forward to me or if you provide me small code snipped then its good for me.
     
  7. macrumors 6502a

    Joined:
    Oct 29, 2006
    Location:
    Virginia
    #7
    "small code"??

    What you've described is by no means a small or simple thing. That's what everyone is trying to tell you.
     
  8. macrumors regular

    MacRohde

    Joined:
    Jun 1, 2004
    Location:
    Copenhagen, Denmark
    #8
    What you are trying to do is something one might do as a thesis project - so asking us for code samples is ludicrous.

    Object recognition and segmentation is one of the big problems in image processing - not matter what you might see on TV it really is a very very hard task.

    So, if you really are interesting in it, you would have to learn a lot of image prcessing - for starters check out the chapter "Image Segmentation" in "Digital Image Processing" by Gonzalez & Woods.
     

Share This Page