Image with segments looks different after imread()

1 visualizzazione (ultimi 30 giorni)
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

Risposta accettata

Ryan
Ryan il 4 Giu 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 Commento
Dimitris M
Dimitris M il 4 Giu 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 !

Accedi per commentare.

Più risposte (0)

Categorie

Scopri di più su Image Processing Toolbox in Help Center e File Exchange

Community Treasure Hunt

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

Start Hunting!

Translated by