لینک کوتاه : https://en.magicfile.ir/?p=2793
دانلود سورس و کد پردازش تصویر سی شارپ فیلترهای تشخیص لبه تصاویر
This is only an alternative algorithm for edge detection that we have put for you, dear users, to download.
Simple window form program to find lines of objects in the image. To run the published version of the program, you must have the version of Microsoft .Net Framework. 4.0 or higher is installed.
نمونه تصویر در زمان اجرا
کنترل های برنامه:
- Click on the main image (left image panel) a dialog will open to upload a new image
- Click on the resulting image (right image panel) a dialog will open to save the resulting image
- تغییر مقادیر حد برای روشنایی نقاط، به طور خودکار
پردازش جدید تصویر اصلی را شروع می کند
- با تغییر نوع نمایش تصویر پردازش شده،
پردازش جدید تصویر اصلی به طور خودکار شروع می شود.
معرفی
The program detects lines (edges) of objects in an image saved as a standard 24-bit RGB JPЕG or BMP format. Edge point detection is performed by an algorithm that represents a variation of the "difference edge detection" algorithm presented in the original paper.
"Difference edge detection" is based on the assumption that the contour (edge) of the object in the image is noticeable to the naked eye if there is a significant difference between the colors of pairs of opposite pixels located directly around the observed point. It belongs to the edge of the object. It refers to the pair of points that can form a straight line that passes through the observed point.
0 0 0 0 1 0 1 0 0 0 0 1 2 - نقطه مشاهده شده
1 2 1 0 2 0 0 2 0 0 2 0 1 - یک جفت نقطه مخالف
0 0 0 0 1 0 0 0 1 1 0 0
Basically, we need to find the maximum value of color difference between four pairs of opposite points, and if this value is different from a predefined value, we assign a different value for color to the observed point.
در تصویر حاصل این نقطه به نقطه لبه تبدیل می شود.
A change from the previous algorithm implemented in the program is the fact that instead of color, we observe the difference in the brightness value of the pair of opposite points in the image. If the maximum value of brightness difference is less than the lower limit of brightness, the dot will change its base color to black, and if it is greater than the value of the upper limit of brightness, the dot will change its base color to white.
برای شما کاربر عزیز پیشنهاد دانلود داده می شود.