Java Forums

Main Menu
Home
Today's Posts
FAQ
Search
Contact Us

Java Network
Linux Archive
Java Tips
Java Tips Blog

Sponsored Links





Welcome to the Java Forums.

You are currently viewing our boards as a guest which gives you limited access to view most discussions and access our other features. By joining our free community, you will:

  • have access to post topics
  • communicate privately with other members (PM)
  • not see advertisements between posts
  • have the possibility to earn one of our surprises if you are an active member
  • access many other special features that will be introduced later.

Registration is fast, simple and absolutely free so please, join our community today!

If you have any problems with the registration process or your account login, please contact us.

Reply
 
LinkBack Thread Tools Display Modes
  #1 (permalink)  
Old 09-07-2008, 05:28 PM
Member
 
Join Date: Sep 2008
Posts: 5
ranwolf is on a distinguished road
Edge detector
Hello all,

I want to find the external edge of an object.

I used Canny, but it finds me any edge (inside edges as well)

When I play with the thresholds somtimes it pass skip the external edge but finds an internal one.

Solution anyone?
Bookmark Post in Technorati
Reply With Quote
Sponsored Links
  #2 (permalink)  
Old 09-07-2008, 06:03 PM
Fubarable's Avatar
Senior Member
 
Join Date: Jun 2008
Posts: 898
Fubarable is on a distinguished road
cross-posted in the Swing forum.
Bookmark Post in Technorati
Reply With Quote
  #3 (permalink)  
Old 09-07-2008, 06:14 PM
Eranga's Avatar
Moderator
 
Join Date: Jul 2007
Location: Colombo, Sri Lanka
Posts: 4,609
Eranga has a spectacular aura aboutEranga has a spectacular aura about
Send a message via Yahoo to Eranga
Quote:
Originally Posted by ranwolf View Post
Hello all,

I want to find the external edge of an object.

I used Canny, but it finds me any edge (inside edges as well)

When I play with the thresholds somtimes it pass skip the external edge but finds an internal one.

Solution anyone?

What you mean the edge of a object, is that a swing control?
__________________
Use an appropriate Subject. "Help, urgent!" isn't one.
To view links or images in signatures your post count must be 10 or greater. You currently have 0 posts.

Has someone helped you? Then you can
To view links or images in signatures your post count must be 10 or greater. You currently have 0 posts.
their helpful post.

Want to make your IDE the best?
To view links or images in signatures your post count must be 10 or greater. You currently have 0 posts.

To view links or images in signatures your post count must be 10 or greater. You currently have 0 posts.

To view links or images in signatures your post count must be 10 or greater. You currently have 0 posts.
Bookmark Post in Technorati
Reply With Quote
  #4 (permalink)  
Old 09-07-2008, 06:16 PM
Member
 
Join Date: Sep 2008
Posts: 5
ranwolf is on a distinguished road
sorry..

I didn't know in which one to post, since canny can be used in both
awt and swt.


I forgot mentioning that the background is almost completely white so there are very few interruption
Bookmark Post in Technorati
Reply With Quote
  #5 (permalink)  
Old 09-07-2008, 06:28 PM
Eranga's Avatar
Moderator
 
Join Date: Jul 2007
Location: Colombo, Sri Lanka
Posts: 4,609
Eranga has a spectacular aura aboutEranga has a spectacular aura about
Send a message via Yahoo to Eranga
Can you more clear what are you talking about? I've no idea what you really wants to know.
__________________
Use an appropriate Subject. "Help, urgent!" isn't one.
To view links or images in signatures your post count must be 10 or greater. You currently have 0 posts.

Has someone helped you? Then you can
To view links or images in signatures your post count must be 10 or greater. You currently have 0 posts.
their helpful post.

Want to make your IDE the best?
To view links or images in signatures your post count must be 10 or greater. You currently have 0 posts.

To view links or images in signatures your post count must be 10 or greater. You currently have 0 posts.

To view links or images in signatures your post count must be 10 or greater. You currently have 0 posts.
Bookmark Post in Technorati
Reply With Quote
  #6 (permalink)  
Old 09-07-2008, 06:37 PM
Member
 
Join Date: Sep 2008
Posts: 5
ranwolf is on a distinguished road
Maybe I forgot to mention that I talking about an obect in a picture

I want to find his external edge (that surround the object),
but canny also returns internal edges (inside the object)
Bookmark Post in Technorati
Reply With Quote
  #7 (permalink)  
Old 09-07-2008, 06:51 PM
Norm's Avatar
Senior Member
 
Join Date: Jun 2008
Location: Heredia, Costa Rica
Posts: 2,223
Norm is on a distinguished road
Quote:
an obect in a picture
Are you looking at pixels in an image and trying to detect a change in color? The change in color being the "edge"?
What determines "internal" vs "external"?

What is Canny? Is it a free download from some site? Is it a java package?
Bookmark Post in Technorati
Reply With Quote
  #8 (permalink)  
Old 09-07-2008, 07:29 PM
Member
 
Join Date: Sep 2008
Posts: 5
ranwolf is on a distinguished road
Canny is free:
the site don't allow me to post links.....
"tomgibara dot com/computer-vision/canny-edge-detector"

Edge are indeed significant change in color.

If for example I have a picture of a zebra, running Canny on the image will also return the edges between every 2 stripe of the zebra ("inside her body").

But I only want her outline shape
Bookmark Post in Technorati
Reply With Quote
  #9 (permalink)  
Old 09-07-2008, 09:27 PM
Norm's Avatar
Senior Member
 
Join Date: Jun 2008
Location: Heredia, Costa Rica
Posts: 2,223
Norm is on a distinguished road
Does the API doc for Canny tell you how to use it?
Canny is not really java programming. What you are asking is how to use the package Canny. Best to read the doc.
Bookmark Post in Technorati
Reply With Quote
  #10 (permalink)  
Old 09-11-2008, 03:42 PM
Member
 
Join Date: Sep 2008
Posts: 5
ranwolf is on a distinguished road
I didn't found solution in the doc

I cross-posted this post in other sites:

forums dot sun dot com/thread.jspa?messageID=10419717
www dot daniweb dot com/forums/thread144453.html
But there is no solution yet
I was suggested to look for "active contour", I'll see if it helps
Bookmark Post in Technorati
Reply With Quote
Sponsored Links
Reply


Thread Tools
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

vB code is On
Smilies are On
[IMG] code is On
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are On


Similar Threads
Thread Thread Starter Forum Replies Last Post
Google Singleton Detector 0.7.2 levent Java Announcements 0 07-26-2007 10:12 PM


All times are GMT +3. The time now is 08:33 PM.


VBulletin, Copyright ©2000 - 2008, Jelsoft Enterprises Ltd.
Content Relevant URLs by vBSEO ©2007, Crawlability, Inc.
Copyright ©2006 - 2007, www.java-forums.org