textureFeatures on 2D jpg/png

조회 수: 6 (최근 30일)
John Sal
John Sal 2024년 9월 21일
답변: John Sal 2024년 9월 23일
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.

답변 (2개)

Gayathri
Gayathri 2024년 9월 23일
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 2024년 9월 23일
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.

카테고리

Help CenterFile Exchange에서 Biomedical Imaging에 대해 자세히 알아보기

태그

제품


릴리스

R2024a

Community Treasure Hunt

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

Start Hunting!

Translated by