How do I segment an image containing 4 animals lying close to each other into separate blobs?

조회 수: 2 (최근 30일)
I am working on a project where I need to segment an image containing various pigs lying very close to each other. I need to get each pig to become a separate object on the image (so that i can do some statistics on individual pigs). I have read about the watershed transform but it gives me very bad results. I was hoping that someone might tell me how to approach this issue using any technique (I'm not very experienced with MATLAB). I would be be very grateful for any kind of help. I have attached the grayscale, rgb and binary images for details.

답변 (2개)

Image Analyst
Image Analyst 2018년 6월 11일
Look into deep learning. Sorry, but it's not going to be some simple 50 line program.
  댓글 수: 6
chris oj
chris oj 2018년 6월 26일
편집: chris oj 2018년 6월 26일
Is there a way to use watershed segmentation to separate the area I circled in the above binary image? Please help me out with the code if there is. Thank you.

댓글을 달려면 로그인하십시오.


Image Analyst
Image Analyst 2018년 7월 9일
편집: Image Analyst 2018년 7월 9일
You might try this link
Detecting Mammals in UAV Images: Best Practices to address a substantially Imbalanced Dataset with Deep Learning
Knowledge over the number of animals in large wildlife reserves is a vital necessity for park rangers in their efforts to protect endangered species. Manual animal censuses are dangerous and expensive, hence Unmanned Aerial Vehicles (UAVs) with consumer level digital cameras are becoming a popular alternative tool to estimate livestock. Several works have been proposed that semi-automatically process UAV images to detect animals, of which some employ Convolutional Neural Networks (CNNs), a recent family of deep learning algorithms that proved very effective in object detection in large datasets from computer vision. However, the majority of works related to wildlife focuses only on small datasets (typically subsets of UAV campaigns), which might be detrimental when presented with the sheer scale of real study areas for large mammal census. Methods may yield thousands of false alarms in such cases. In this paper, we study how to scale CNNs to large wildlife census tasks and present a number of recommendations to train a CNN on a large UAV dataset. We further introduce novel evaluation protocols that are tailored to censuses and model suitability for subsequent human verification of detections. Using our recommendations, we are able to train a CNN reducing the number of false positives by an order of magnitude compared to previous state-of-the-art. Setting the requirements at 90% recall, our CNN allows to reduce the amount of data required for manual verification by three times, thus making it possible for rangers to screen all the data acquired efficiently and to detect almost all animals in the reserve automatically.

카테고리

Help CenterFile Exchange에서 Image Data Workflows에 대해 자세히 알아보기

제품


릴리스

R2014a

Community Treasure Hunt

Find the treasures in MATLAB Central and discover how the community can help you!

Start Hunting!

Translated by