フィルターのクリア

Feature extraction of texture, irregularity

1 回表示 (過去 30 日間)
ali
ali 2016 年 5 月 3 日
編集済み: Anjali Acharya 2018 年 8 月 10 日
Is there any opinion about how can calculate these kind of texture's regularity metric. You see there is difference because of directionality,particle shape, size, placement etc. Is there any code for this. regards

採用された回答

Image Analyst
Image Analyst 2016 年 5 月 3 日
Try functions like stdfilt(), graycomatrix(), graycoprops(), regionprops(), etc. There are a lot of things you could potentially measure so the algorithm depends on exactly what you're interested in characterizing.
  3 件のコメント
Image Analyst
Image Analyst 2016 年 5 月 3 日
If you use regionprops() you can get the centroid of all the blobs. Then you can use pdist2() in the stats toolbox to find the distance of every centroid to every other centroid. Sometimes people look at the mean distance of the 5 or 10 closest blobs.
Anjali Acharya
Anjali Acharya 2018 年 8 月 10 日
編集済み: Anjali Acharya 2018 年 8 月 10 日
How can we use GLCM features to obtain fractal dimension?

サインインしてコメントする。

その他の回答 (4 件)

Image Analyst
Image Analyst 2016 年 5 月 3 日
  4 件のコメント
Image Analyst
Image Analyst 2016 年 5 月 8 日
You're calling pdist2() incorrectly. You have to pass it two arrays of x,y coordinates. In your case they will be the same array. So you should do
distances = pdist2(centroids, centroids, 'euclidean');

サインインしてコメントする。


ali
ali 2016 年 5 月 5 日
編集済み: ali 2016 年 5 月 5 日
s = regionprops(newBW2,'centroid'); % calculate the remaining objects centers. centroids = cat(1, s.Centroid);
D = pdist2(centroids(:,1),centroids(:,2),'euclidean');
the result just Centroid: [949.2040 788.5083], why i cant take all distances if blobs big then calculate but for this figure the particles small then just one centroid. What is wrong? So the value i use for irregularity always zero because std(D)=0 and mean(D)=0 because of the D is just one value. How can i solve this
  8 件のコメント
ali
ali 2016 年 5 月 9 日
編集済み: ali 2016 年 5 月 9 日
size(centroids)
answer 1 2
ali
ali 2016 年 5 月 10 日
waiting for this suggestion you ImageAnalyst

サインインしてコメントする。


ali
ali 2016 年 5 月 9 日
編集済み: ali 2016 年 5 月 9 日
Actually I want to look at for this images dispersion level. The white cells dispersion is high(regular) or not on the surface image that is the reason why i want to measure this. Like homogeneus dispersion but GLCM not give significant so i want to design new feature. Like your suggestion i cant take dimension what is wrong my code? Fractal analysis can be use or not?
  2 件のコメント
Image Analyst
Image Analyst 2016 年 5 月 9 日
This is not an answer to the original question. Was it a comment to me, or a comment on your other "answer"?
ali
ali 2016 年 5 月 10 日
This is an another idea that comes my mind. I m waiting for your suggestion another centroid question

サインインしてコメントする。


ali
ali 2016 年 5 月 10 日
And image analyst do you have any suggestion for calculation distance for this D = pdist2(centroids,centroids,'euclidean'); for mathematical formula and other suggestions from you for centroid question

カテゴリ

Help Center および File ExchangeAgriculture についてさらに検索

Community Treasure Hunt

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

Start Hunting!

Translated by