Error using coder.internal.errorIf (line 8) The size of I must be greater than 2*Radius.

2 ビュー (過去 30 日間)
Hafiz Wasim Arif
Hafiz Wasim Arif 2019 年 8 月 7 日
コメント済み: FRANCESCO GREGORI 2021 年 8 月 12 日
Hello, i am getting this error. Actually i am working on BRATS dataset for brain tumor segmentation. Firstly i make superpixels of each slice and for each superpixel i am calculating LBP features but at some superpixel or patch i am getting this error. kindly help me. sharing my code too.Image slice is 240 by 240
[L,N]=superpixels(imgSlice,400); %apply superpixel segmentation (SLIC Algorithm)
labelCounter=1;
for patch=1:N %N is the number of total superpixels/patches.
t = (L==patch);
if mean(t(:))>0.125
LBPfeatures=extractLBPFeatures(spixel);
end
end

回答 (0 件)

カテゴリ

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

Community Treasure Hunt

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

Start Hunting!

Translated by