|
|
|
|
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.
|
|

09-07-2008, 05:28 PM
|
|
Member
|
|
Join Date: Sep 2008
Posts: 5
|
|
|
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?
|
|

09-07-2008, 06:03 PM
|
 |
Senior Member
|
|
Join Date: Jun 2008
Posts: 898
|
|
|
cross-posted in the Swing forum.
|
|

09-07-2008, 06:14 PM
|
 |
Moderator
|
|
Join Date: Jul 2007
Location: Colombo, Sri Lanka
Posts: 4,609
|
|
Originally Posted by ranwolf
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.
|
|

09-07-2008, 06:16 PM
|
|
Member
|
|
Join Date: Sep 2008
Posts: 5
|
|
|
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
|
|

09-07-2008, 06:28 PM
|
 |
Moderator
|
|
Join Date: Jul 2007
Location: Colombo, Sri Lanka
Posts: 4,609
|
|
|
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.
|
|

09-07-2008, 06:37 PM
|
|
Member
|
|
Join Date: Sep 2008
Posts: 5
|
|
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)
|
|

09-07-2008, 06:51 PM
|
 |
Senior Member
|
|
Join Date: Jun 2008
Location: Heredia, Costa Rica
Posts: 2,223
|
|
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?
|
|

09-07-2008, 07:29 PM
|
|
Member
|
|
Join Date: Sep 2008
Posts: 5
|
|
|
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
|
|

09-07-2008, 09:27 PM
|
 |
Senior Member
|
|
Join Date: Jun 2008
Location: Heredia, Costa Rica
Posts: 2,223
|
|
|
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.
|
|

09-11-2008, 03:42 PM
|
|
Member
|
|
Join Date: Sep 2008
Posts: 5
|
|
|
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
|
|
| Thread Tools |
|
|
| Display Modes |
Linear Mode
|
Posting Rules
|
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts
HTML code is Off
|
|
|
|
|
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