简体   繁体   中英

Image segmentation python opencv

I want to ask for some advice about the procedure that I should implement for image segmentation working with opencv in python.

I have this kind of image图片 and my purpose is to detect the white fiber like here图2

Does anyone have a proposition of the steps of image processing that I should do?

Since I can notice that object's color is different than the background, I found this guide helpful. The concept is the following: 1.apply RGB filters to your image, 2.grab contours using OpenCV, then 3.apply some handcraft conditions to them so as to fit your desired output, and finally 4.produce the box.

If all of your images share the same color patterns, this should work.. If not, it will prove noisy..

The technical post webpages of this site follow the CC BY-SA 4.0 protocol. If you need to reprint, please indicate the site URL or the original address.Any question please contact:yoyou2525@163.com.

 
粤ICP备18138465号  © 2020-2024 STACKOOM.COM