Well, if you already know the coordinates of the places you are interested in you can just slice out the portions of that image and copy them into another array. I'm not convinced find contours is quite the right tool though as I don't know if it lets you distinguish between which contours belong to which distinct shapes. I could be wrong however.
OpenCV, segment image
OpenCV, segment image
|
|
Messages In This Thread |
OpenCV, segment image - by Standard_user - Jan-01-2017, 02:19 PM
RE: OpenCV, segment image - by Mekire - Jan-01-2017, 06:37 PM
RE: OpenCV, segment image - by Standard_user - Jan-01-2017, 06:53 PM
RE: OpenCV, segment image - by Mekire - Jan-01-2017, 07:02 PM
RE: OpenCV, segment image - by Standard_user - Jan-01-2017, 07:15 PM
RE: OpenCV, segment image - by Mekire - Jan-01-2017, 08:07 PM
RE: OpenCV, segment image - by Standard_user - Jan-01-2017, 08:29 PM
|
Possibly Related Threads… | |||||
Thread | Author | Replies | Views | Last Post | |
Using OpenCV and image path is invalid | AudunNilsen | 5 | 692 |
Mar-18-2024, 05:28 PM Last Post: snippsat |
|
Python code a Max7219/7221 7 segment driver | Aggie64 | 11 | 3,325 |
Dec-01-2022, 02:24 AM Last Post: Larz60+ |
|
How to extract MSS (maximum size segment) from a pcap file ? | salwa17 | 0 | 1,732 |
Jun-29-2020, 09:06 AM Last Post: salwa17 |
|
how to detect horizontal dotted lines in an image using OpenCV | pframe | 0 | 4,960 |
Apr-15-2020, 08:53 PM Last Post: pframe |
|
Display the bottom image of the line and cut the upper image using Opencv | jenkins43 | 1 | 3,310 |
May-27-2019, 06:56 AM Last Post: heiner55 |
Users browsing this thread: 1 Guest(s)