|
| From: | Pantxo Diribarne |
| Subject: | [Octave-bug-tracker] [bug #49137] some grayscale images are displayed badly |
| Date: | Tue, 20 Sep 2016 13:35:58 +0000 (UTC) |
| User-agent: | Mozilla/5.0 (X11; Ubuntu; Linux x86_64; rv:48.0) Gecko/20100101 Firefox/48.0 |
Update of bug #49137 (project octave):
Status: None => Confirmed
_______________________________________________________
Follow-up Comment #1:
Hi,
I think the very first issue is that the image data we get from GraphicsMagick
(imread) are not the original ones.
I tried to run "imfinfo" and "imread" in Octave and Matlab (R2016a on linux)
and the main differences are :
* imfinfo: the "ColorType" is "Grayscale" in Octave and "TrueColor" in Matlab
* imread: consequently returns no cmap in both cases but a 19-by-19 matrix in
Octave and a 19-by-19-by-3 Matlab
I think this problem has already been discussed by Carnë extensively (who I
am ccing). AFAIR it boils down to GraphicsMagick does not give access to the
actual original data.
Now a workaround for the first issue ("imshow (filename)") could be to treat
the image as grayscale when imfinfo tels to do so.
_______________________________________________________
Reply to this item at:
<http://savannah.gnu.org/bugs/?49137>
_______________________________________________
Message sent via/by Savannah
http://savannah.gnu.org/
| [Prev in Thread] | Current Thread | [Next in Thread] |