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!