How to sperate a specific area marked using red lines from the background

I recently were diving into one kind of concer and got large sets of B-scan ultrasonography with target cell labled using red lines. However, the revelution and the quality of these pictures are not sufficient to make me seperate the nidus from the background using image binarization. I tried to find a function which could pick up the close area surrounded by the red lines. Due to the secrecy reason I just could offer a blur pic. Thank you for taking your time!
1

Did you try something?

…like using Google?

Yes I did. However, at that time I had no idea about it but later I figured it out using some simple mathematics calculations XD anyway, thank you for your reply :slight_smile:

发件人: kbarni via OpenCV opencv@discoursemail.com
日期: 2022年1月10日周一 20:39
收件人: howlandhuang@gmail.com
主 题: [OpenCV] [Python] How to sperate a specific area marked using red
lines from the background