textureFeatures on 2D jpg/png

6 vues (au cours des 30 derniers jours)
John Sal
John Sal le 21 Sep 2024
Hi,
I was looking on the textureFeatures from the Medical Imaging Toolbox and it seem it can calculate different texture features (GLCM, GLRLM, etc) but what I can not find is can it be used on a single 2D jpg/png image and not on a medicalVolume. Does someone as an idea if it is possible and how?
What I know is possible is using graycomatrix/graycoprops using the code below.
clc;
clear all;
jpgI = imread('https://www.mathworks.com/help/examples/medical/win64/ComputeTextureFeaturesForComputedTomographyCTImageExample_01.png');
glcm = graycomatrix(jpgI)
jpgStats = graycoprops(glcm)
Thanks a lot in advance.

Réponses (2)

Gayathri
Gayathri le 23 Sep 2024
Hello @John Sal,
I understand that you are interested in finding texture features for a single 2D image.
You can refer to the below link for computing “Gray Level Run Length Matrix”.
We can also extract texture features using “Local Binary Patterns” as shown below,
lbpFeatures = extractLBPFeatures(jpgI)
For more information on “LBP” feature extraction, please refer the below link.
Hope you find this information helpful.

John Sal
John Sal le 23 Sep 2024
Hi,
Thanks for the reply and the helpful information. I will look at them.
The main advantage of textureFeatures is that it can do GLCM, GLRLM, GLSZM, GLDZM, NGTDM and NGLDM in one run. This is why I find it unique and extremely good.

Catégories

En savoir plus sur Biomedical Imaging dans Help Center et File Exchange

Tags

Produits


Version

R2024a

Community Treasure Hunt

Find the treasures in MATLAB Central and discover how the community can help you!

Start Hunting!

Translated by