How can I detect the tree rings? I'm looking for the way to detect the tree rings automatically in the wood dist image.
Using the matlab, I have removed the background, and binarized the image.

How can I detect the white and black boundaries?
I want to fill that white area.


Is there a way to detect the white and black boundaries?
I want to get rid of the black noise that exists in the white area.
is there any other way to make clearer binary image?
It has scratches which has caused by sandpaper machine, so morphological operation doesn't work well.. any other way..?


I would appreciate your help.
It looks like you could use a low pass filter or another noise reduction filter. Then maybe an edge detection filter.