How could get the texture of a flower in a plant with stdfilt() function in MATLAB?
Afficher commentaires plus anciens
Hello,
How stdfilt() should be used to get the texture of a part of an image?
For example the attached images.


10 commentaires
Walter Roberson
le 28 Oct 2018
Penny13
le 28 Oct 2018
Walter Roberson
le 28 Oct 2018
It is a related question that could probably have been merged with the other question; but it could also potentially stand alone.
However, any time you ask a question about image processing, it helps to include sample images. Your previous question that I linked to had samples of some of the images you need to process in connection with this newer question, so people can have a look there to get an idea of what your images look like.
Penny13
le 28 Oct 2018
Walter Roberson
le 28 Oct 2018
You asked the exact same question minutes apart but attached pictures to the newer one. I closed the older copy that did not have images and left the newer copy that did have images.
Penny13
le 28 Oct 2018
Walter Roberson
le 28 Oct 2018
In order to take advantage of texture, you need every similar image that needs to match to be on the same scale, unless you can find some way to match textures at different scales.
Your two sample images here are taken at fairly different scales: different enough that a simple foreground vs background coverage fraction would be enough to distinguish between the two cases if all of images of the same flower are at the same range.
Penny13
le 28 Oct 2018
Walter Roberson
le 28 Oct 2018
Remove the background. Do a detection for bright yellow: if you find it then it must be Yufeng. Otherwise detect green, and find the mean brightness: the Yufeng is notably darker.
Penny13
le 28 Oct 2018
Réponse acceptée
Plus de réponses (0)
Catégories
En savoir plus sur Language Support dans Centre d'aide et File Exchange
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!