1 | initial version |
Try smoothing the image before applying the canny operator. The main idea is to keep the abrupt changes (high frequency) between the different objects, and at the same time smoothing the changes within the same object (low frequency). I think you can use a median filter or a bilateral filter (slower) for this.
Referencia: link text
I hope it helps you