Ask Your Question
0

How to separate objects wich have the same color

asked 2017-04-12 14:05:54 -0500

hellomati gravatar image

Hi , for an internship I need to detect some pigs. I can separate them to the background but not separate one to another when they are too close. I'm starting to learn image processing so maybe I'm doing bad. Do you have any advices for me ?

The first picture.http:// (image description) Without background http:// (image description) Outline with canny detector http:// (image description)

edit retag flag offensive close merge delete

Comments

For segmentation, this will always be an issue. That is why people invented object detection algorithms. Have a look at those.

StevenPuttemans gravatar imageStevenPuttemans ( 2017-04-14 07:28:36 -0500 )edit

1 answer

Sort by » oldest newest most voted
-3

answered 2017-04-12 14:24:33 -0500

ManuVISION gravatar image

Once you have detected both, check for aspect ratio. If its more then divide the detected image into half.

edit flag offensive delete link more

Comments

Thanks for your answer but as you can see here "https://i.stack.imgur.com/npek3.png." they can have différents shapes so i can't use the width to separate them.

hellomati gravatar imagehellomati ( 2017-04-12 14:32:17 -0500 )edit
Login/Signup to Answer

Question Tools

2 followers

Stats

Asked: 2017-04-12 14:05:54 -0500

Seen: 233 times

Last updated: Apr 12 '17