Problems with ERODE and DILATE functions [message #73622] |
Tue, 16 November 2010 07:23 |
Oriol Güell Riera
Messages: 7 Registered: September 2010
|
Junior Member |
|
|
Hello,
I have a problem with the "erode" and "dilate" functions. I have a
program which tracks ellipses, and it uses these functions to improve
the images. However, if I try to run the program without using "erode"
and "dilate", the program crashes, it can't keep tracking the ellipses
(I have got a stack of images and the program stops tracking at some
point of the tracking). I don't know why it happens because if I
rewrite the functions to the routine, the program finishes the
tracking. The main problem is that "erode" and "dilate" modify
sometimes my images, they separate my ellipses sometimes, so I have to
erase the "erode" and "dilate" functions from the prorgam. In
principle, these functions should not interfere if I put them out of
the routine, but actually they do.
Thanks
Oriol
|
|
|