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 Center および File ExchangeBiomedical Imaging についてさらに検索

タグ

製品


リリース

R2024a

Community Treasure Hunt

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

Start Hunting!

Translated by