I work with the segmentation of simulated rock pile images. My input image is a depth image(given below). I tried to apply the canny edge but it doesn't give promising results - rock pile areas which are clustered together are detected as a single large rock, edges abruptly end.
Since a depth image of a rock pile has low changes in intensity, am I right in saying that the canny edge is not appropriate for this purpose?
I have applied the adaptive thresholding operation, it seems to show better results because it does not really work with the gradient but with average intensity values of the neighborhood. The image is given below.
The actual simulated scene
The depth image
The result of canny edge
Adaptive thresholding result