aspose file tools*
The moose likes Swing / AWT / SWT and the fly likes Edge Detection Big Moose Saloon
  Search | Java FAQ | Recent Topics | Flagged Topics | Hot Topics | Zero Replies
Register / Login
JavaRanch » Java Forums » Java » Swing / AWT / SWT
Bookmark "Edge Detection" Watch "Edge Detection" New topic
Author

Edge Detection

Rex Raleigh
Greenhorn

Joined: Dec 11, 2010
Posts: 9
any thoughts of implementing edge detection in java? i am fairly new about this topic and i need help on how this generally works in java.
Ulf Dittmer
Marshal

Joined: Mar 22, 2005
Posts: 42632
    
  65
For experimenting with advanced image processing (and then implementing it), I recommend the ImageJ library. It doubles as an image processing app, so you can try out things interactively. It has a built-in edge detector (in the Process menu), and at least one 3rd party plugin exists; the source code for both is available.

If you're looking for a general intro, Edge detection is a good start.


Ping & DNS - my free Android networking tools app
Rex Raleigh
Greenhorn

Joined: Dec 11, 2010
Posts: 9
thanks for the reply good sir. i've read the wiki article regarding edge detection and i think it's kinda tough to swallow for me in one reading. but i'll study it for the next few days or so.

the imagej was helpful, and it would help me more if i could take a look at it's source code. i currently have a project and it requires implementing edge detection on a given image input. knowing how it works in java would really be of great help to me.

on a side note, i can't seem to find the personal message button on your profile. i was hoping i could message you if it's alright.
Ulf Dittmer
Marshal

Joined: Mar 22, 2005
Posts: 42632
    
  65
the imagej was helpful, and it would help me more if i could take a look at it's source code.

The ImageJ source code is available from its download page. The 3rd party plugin source is available on the same page where you download the plugin.

i can't seem to find the personal message button on your profile. i was hoping i could message you if it's alright.

No, please UseTheForumNotEmail.
Rex Raleigh
Greenhorn

Joined: Dec 11, 2010
Posts: 9
i've taken a look at the source code of imagej and i find it quite hard to understand. would you know some tutorials or basic introduction regarding image processing using java? i'll take time to study it first so i could understand imagej a bit more.

sorry i'm just a beginner at using java so i'm having quite a hard time. thanks for understanding.
Ulf Dittmer
Marshal

Joined: Mar 22, 2005
Posts: 42632
    
  65
Well, the Wikipedia article I linked to has a section titled "Why edge detection is a non-trivial task" - that sums up nicely what's ahead of you There's some decidedly non-trivial math involved, for starters. If that article didn't make much sense (and I agree that it looks daunting), maybe one of the links found under introduction to edge detection is a better fit. Image processing points to some introductory material on more general image processing tasks.
Rex Raleigh
Greenhorn

Joined: Dec 11, 2010
Posts: 9
i've read some of those links that you've posted and i got the general idea behind the concept. i think implementing it in java (along with some basic image processing) is my next step, so i kinda need some help on how to start.

i've had a short experience with image processing using c++, but that was using my professor's own image processing libraries. (forgot most of it by now. that was years ago)
 
It is sorta covered in the JavaRanch Style Guide.
 
subject: Edge Detection