Clear Filters
Clear Filters

Image with segments looks different after imread()

1 view (last 30 days)
Hello
I have a question concerning an image with my image segments. I am creating this image using an software for segmentation that exports the resulted images as png file format. The segments look quite good but when I am trying to read in the image in MATLAB using imread() and the use imshow() to display it many gaps in the edge are generated.
Do you know what can cause this problem ? Is it a way to overcome it ?
In the link below you can see an example of my images:
1. Image generated by the software
2. Image displayed using imshow() in MATLAB

Accepted Answer

Ryan
Ryan on 4 Jun 2012
Try zooming in in the figure window, the points are probably still there, just not visible when zoomed out due to resizing/resolution within the figure window.
  1 Comment
Dimitris M
Dimitris M on 4 Jun 2012
Yes, probably you are right ! Cause when I am displaying the image MATLAB console gives me a warning that image is too big to be fully displayed ! So I think the edges are there but not fully displayed in first sight.
Thank you very much Ryan !

Sign in to comment.

More Answers (0)

Community Treasure Hunt

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

Start Hunting!