textureFeatures on 2D jpg/png

6 visualizaciones (últimos 30 días)
John Sal
John Sal el 21 de Sept. de 2024
Respondida: John Sal el 23 de Sept. de 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.

Respuestas (2)

Gayathri
Gayathri el 23 de Sept. de 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 el 23 de Sept. de 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.

Categorías

Más información sobre Biomedical Imaging en Help Center y File Exchange.

Etiquetas

Productos


Versión

R2024a

Community Treasure Hunt

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

Start Hunting!

Translated by