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

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

Respuestas (0)

Categorías

Más información sobre Neuroimaging en Centro de ayuda y File Exchange.

Preguntada:

el 7 de Ag. de 2019

Comentada:

el 12 de Ag. de 2021

Community Treasure Hunt

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

Start Hunting!

Translated by