Info

This question is closed. Reopen it to edit or answer.

hi plz i wont to find Blobs .identify Blobs and dispay them for a single frame in dicom images i use the programme below

1 view (last 30 days)
L=bwlabeln(bw);
stats=regionprops(L,'Area','Centroid');
LL=L(:,:,1)+1;
cmap=hsv(length(stats));cmap=[1 1 1;cmap];
LL=cmap(LL,:);
LL=reshape(LL,[m n]);
figure(6),
imshow(reshapeddat); but i have erre:
??? Error using ==> reshape
To RESHAPE the number of elements must not change.
Error in ==> brainscan4 at 131 LL=reshape(LL,[m n]);

Answers (0)

Tags

Community Treasure Hunt

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

Start Hunting!