Python Image Processing (8): edge detection, python Image Processing

Source: Internet
Author: User

Python Image Processing (8): edge detection, python Image Processing

Happy shrimp

Http://blog.csdn.net/lights_joy/

Reprinted, but keep the author information


We have obtained plant images for a single region. Next we should try to classify these regions. Recognizing plant types through shape and vein is obviously an intuitive approach. However, due to the existence of overlapping leaves and light conditions, the application of such methods is limited. However, we still want to see the effects of such methods. Similarly, this article does not mean to explain the theory, but just wants to understand the implementation methods of Python.


Try Edge Detection first.


This is the color image we obtained previously, but because Edge Detection only uses single-channel images, we first try the g component detection effect:


(B, g, r) = cv2.split (src) edge_g = cv2.kan (g, 30, 60) cv2.imshow ('edge ', edge_g)

The result is as follows:



Due to lack of knowledge, we are unable to further analyze this image. Well, continue!








Contact Us

The content source of this page is from Internet, which doesn't represent Alibaba Cloud's opinion; products and services mentioned on that page don't have any relationship with Alibaba Cloud. If the content of the page makes you feel confusing, please write us an email, we will handle the problem within 5 days after receiving your email.

If you find any instances of plagiarism from the community, please send an email to: info-contact@alibabacloud.com and provide relevant evidence. A staff member will contact you within 5 working days.

A Free Trial That Lets You Build Big!

Start building with 50+ products and up to 12 months usage for Elastic Compute Service

  • Sales Support

    1 on 1 presale consultation

  • After-Sales Support

    24/7 Technical Support 6 Free Tickets per Quarter Faster Response

  • Alibaba Cloud offers highly flexible support services tailored to meet your exact needs.