|
General Details
|
|
C++
|
|
Posted 1.31 Year Ago
|
|
1,682 Views
|
|
Received 0 Ratings
|
|
Simple Edge detection - image processing
Description
From wikipedia:
Edge detection is a fundamental tool in image processing and computer vision, particularly in the areas of feature detection and feature extraction, which aim at identifying points in a digital image at which the image brightness changes sharply or, more formally, has discontinuities.
Technical
Don't forget to give width and height a value - they're globals. There are better ways to do this obviously, but this works quite well too.
In case it isn't self-explanatory, you give it a 2D Pixel array (width * height big) and it returns an 2D array of bools, whether each pixel is an edge or not.
Source Code
Comments
| Please login to post comments. |
More "C++" Source Codes By This Author
Recently Posted "C++" Source Codes
Recently Rated "C++" Source Codes
|