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