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

2 次查看(过去 30 天)
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 CenterFile Exchange 中查找有关 Neuroimaging 的更多信息

Community Treasure Hunt

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

Start Hunting!

Translated by