Answer the question
In order to leave comments, you need to log in
Computer Vision: Counting Tree Rings from a Photograph of a Tree Cut
Hello. The question arose of counting annual rings from a photograph of a tree cut.
Initial data example:
After some thought, I came up with the following algorithm (without details):
Answer the question
In order to leave comments, you need to log in
I would not translate into contrasting black and white, but would use greyscale. For any section of such a curve, a curve with humps will be obtained. We select the hump height threshold, which is taken into account and quite easily get the amount.
It is also worth playing around with the channels, perhaps one of the channels will have consistently higher contrast than the others (for example, the saturation channel). Then you can not even translate into black and white, but simply work with the channel.
It is also necessary to draw diameters at different angles, count the values and average the indicators.
Take a couple of images and play around with tools like CVIPTools, applying various filters. If you pick up a good filter, then the rest will not be difficult. You need to choose among filters that improve edge detection.
Here's what I came up with in a hurry after applying 2 filters
Didn't find what you were looking for?
Ask your questionAsk a Question
731 491 924 answers to any question