You'll need to attach the image, and the code you used to produce the blue_nuclei variable.
How to apply reconstruction on images?
2 次查看(过去 30 天)
显示 更早的评论
Hi, I'm trying to do reconstruction in my matlab code, it doesn't work the first time and gives a blank black image. Though it runs after the code is run two or three times. I have tried the clear all statement. Kindly help me how can I fix this glitch?
Any help would be appreciated.
% erosion
se = strel('ball',9,9);
e=imerode(blue_nuclei,se);
figure, imshow(e), title('erosion');
% reconstruction
IM = imreconstruct(e,segmented_images{2});
figure, imshow(IM), title('reconstructed2');
回答(0 个)
另请参阅
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!