943,516 Members | Top Members by Rank

Ad:
  • C++ Discussion Thread
  • Marked Solved
  • Views: 8455
  • C++ RSS
You are currently viewing page 2 of this multi-page discussion thread; Jump to the first page
May 19th, 2009
0

Re: c++ library for image processing (edge detection)

Thanks for your advices!

Click to Expand / Collapse  Quote originally posted by niek_e ...
The reason that there are so few examples for Borland Builder, is that Builder is outdated and there are plenty free (and better) alternatives on the net. (like VS2008 and Code::blocks)
Your right, Builder is quite outdated and I consider switching to VS2008. The biggest advantage is that it's free from MSDNAA.
All .NET platform is interesting.


The library I finnaly use to edge detection is the DevIL library.
http://openil.sourceforge.net/
It's really good, regularly epdated and easy to use.
Reputation Points: 10
Solved Threads: 0
Newbie Poster
35nando is offline Offline
10 posts
since Dec 2008
Jun 28th, 2011
0
Re: c++ library for image processing (edge detection)
You could use a sobel filter, which is just a convolution with another small image (or matrix). This also goes for prewitt or whatever differentiator you find adequate.

These edge-detector's aren't very andvanced and typically need some preprocession, such as noisereduction. If you want to do a fast test, you could reduce noise by applying a gaussian (i.e. convolution with a Gaussian 'hat') if it needs to be better use a set-opening/closing (Two doctors on my university have something quite interresting: "A comparison of algorithms for connected set openings and closings", which preserves shape (gaussian doesn't, and shape is important if you detect edges I guess) see: http://www.cs.rug.nl/~michael/ ).

I have written a fft-convolution algorithm (for cimg, but it won't be included for a few months as I am still coding around it and it may slightly change) which is a bit faster then a normal convolution, but in your case where the kernel isn't too big I wouldn't really care

Another thing: edge detection can of course be seen as the amount of change between neighbor pixels.

enjoy your life!

foo-nix
Reputation Points: 10
Solved Threads: 0
Newbie Poster
foo-nix is offline Offline
1 posts
since Jun 2011

This thread is solved

Either the thread starter or a moderator has marked this thread as solved. You can most likely trust the responses and answers given. There is most likely no reason for any further responses to be posted here. If you have a related question, please start a new thread in this forum instead.

This thread is more than three months old

No one has posted to this discussion for at least three months. Please let old threads die and do not reply to them unless you feel you have something new and valuable to contribute that absolutely must be added to make the discussion complete. Otherwise, please start a new thread in this forum instead.
Message:
Previous Thread in C++ Forum Timeline: a very odd problem with drawing
Next Thread in C++ Forum Timeline: Memory layout of class





About Us | Contact Us | Advertise | Acceptable Use Policy
Forum Index | Build Custom RSS Feed


Follow us on Twitter


© 2011 DaniWeb® LLC