textureFeatures on 2D jpg/png

6 visualizzazioni (ultimi 30 giorni)
John Sal
John Sal il 21 Set 2024
Risposto: John Sal il 23 Set 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.

Risposte (2)

Gayathri
Gayathri il 23 Set 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 il 23 Set 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.

Categorie

Scopri di più su Biomedical Imaging in Help Center e File Exchange

Tag

Prodotti


Release

R2024a

Community Treasure Hunt

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

Start Hunting!

Translated by