How to apply reconstruction on images?

1 view (last 30 days)
Ayesha ch
Ayesha ch on 18 Jun 2016
Edited: Walter Roberson on 27 Jun 2016
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');
  1 Comment
Image Analyst
Image Analyst on 26 Jun 2016
You'll need to attach the image, and the code you used to produce the blue_nuclei variable.

Sign in to comment.

Answers (0)

Community Treasure Hunt

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

Start Hunting!