Welcome to the Java Programming Forums


The professional, friendly Java community. 21,500 members and growing!


The Java Programming Forums are a community of Java programmers from all around the World. Our members have a wide range of skills and they all have one thing in common: A passion to learn and code Java. We invite beginner Java programmers right through to Java professionals to post here and share your knowledge. Become a part of the community, help others, expand your knowledge of Java and enjoy talking with like minded people. Registration is quick and best of all free. We look forward to meeting you.


>> REGISTER NOW TO START POSTING


Members have full access to the forums. Advertisements are removed for registered users.

Results 1 to 4 of 4

Thread: Need help in image processing

  1. #1
    Junior Member
    Join Date
    Mar 2012
    Posts
    3
    Thanks
    1
    Thanked 0 Times in 0 Posts

    Default Need help in image processing

    I am sorry if this has been asked before, but this has been puzzling me for days now and starting to get annoying, I have searched all over but nothing that seems to work nicely.
    I am looking for canny edge detection code for pattern recognition.It would be very helpful if someone posts d code.
    Thank you in advance


  2. #2
    Crazy Cat Lady KevinWorkman's Avatar
    Join Date
    Oct 2010
    Location
    Washington, DC
    Posts
    5,424
    My Mood
    Hungover
    Thanks
    144
    Thanked 636 Times in 540 Posts

    Default Re: Need help in image processing

    Simply asking for code like that isn't going to work, and it's more than a little rude. What have you tried? Where are you stuck? When you say that nothing seems to work nicely, what exactly does that mean? Do you have anything that mostly works?

    You also might want to explain what exactly canny edge detection is. But really, for general questions like this, it's pretty hard to help you other than to point you to google.
    Useful links: How to Ask Questions the Smart Way | Use Code Tags | Java Tutorials
    Static Void Games - Play indie games, learn from game tutorials and source code, upload your own games!

  3. #3
    Junior Member
    Join Date
    Mar 2012
    Posts
    3
    Thanks
    1
    Thanked 0 Times in 0 Posts

    Default Re: Need help in image processing

    Quote Originally Posted by KevinWorkman View Post
    Simply asking for code like that isn't going to work, and it's more than a little rude. What have you tried? Where are you stuck? When you say that nothing seems to work nicely, what exactly does that mean? Do you have anything that mostly works?

    You also might want to explain what exactly canny edge detection is. But really, for general questions like this, it's pretty hard to help you other than to point you to google.
    i have implemented the code but stuck at one point.
    I am implimenting the canny's algorithm to detect the edges in an image.

    code line: edgedetector.setSourceImage(image);

    error: setSourceImage(Java.awt.Image) cannot be applied to image

    I am using buffered image.
    I have tried to replace the image variable with complete path as the image is on my hard drive.But it does not work.
    How do i rectify this error.

  4. #4
    Crazy Cat Lady KevinWorkman's Avatar
    Join Date
    Oct 2010
    Location
    Washington, DC
    Posts
    5,424
    My Mood
    Hungover
    Thanks
    144
    Thanked 636 Times in 540 Posts

    Default Re: Need help in image processing

    If you want help, you'll have to provide an SSCCE that demonstrates the problem- not your whole program, not just a code snippet, but an SSCCE. Don't forget the highlight tags.
    Useful links: How to Ask Questions the Smart Way | Use Code Tags | Java Tutorials
    Static Void Games - Play indie games, learn from game tutorials and source code, upload your own games!

Similar Threads

  1. Image Processing in Java
    By java_novice in forum Java Theory & Questions
    Replies: 6
    Last Post: April 1st, 2014, 11:23 PM
  2. Image processing tutorial
    By ChristopherLowe in forum File Input/Output Tutorials
    Replies: 8
    Last Post: December 19th, 2013, 11:19 PM
  3. Image processing tutorial
    By ChristopherLowe in forum Java Code Snippets and Tutorials
    Replies: 1
    Last Post: June 18th, 2011, 11:58 AM
  4. Image Processing
    By subash in forum File I/O & Other I/O Streams
    Replies: 4
    Last Post: June 8th, 2011, 08:40 AM