I am new to opencv but I need to analyze thermal images of mice (see example image). The idea is (1) to keep only one contour, e.g. the whole mouse (that works more or less well) and (2) separate this contour into the tail and the rest of the body to get two distinct contours. I have tried using thresholding, edge detection and watershed but the results are far from good. I thought about using the different shapes of tail vs body but I do not know how to accomplish that.
Is there a reliable way to do this that can also be generalized to similar images or even videos?
Thanks in advance