Is there a fix for truesize?
1 vue (au cours des 30 derniers jours)
Afficher commentaires plus anciens
truesize stopped working a couple weeks ago in 2014b the same day I did a Java Update. Upgrading to 2015a did not fix it. This on Mac OS 10.10.2, Java 8 update 45. Here is code:
>> a = randn(256);
>> imagesc(a)
>> truesize
Undefined variable "images" or class "images.internal.initSize".
Error in truesize (line 48)
images.internal.initSize(imHandle, 1, isBorderTight);
>>
Anyone know of a fix? Or should I try to downgrade Java?
0 commentaires
Réponses (2)
Image Analyst
le 21 Avr 2015
I never have gotten that to work. For example, in the following code, nothing at all happens to the displayed image when you call truesize.
grayImage = imread('concordorthophoto.png');
imshow(grayImage);
truesize
grayImage = imread('cameraman.tif');
imshow(grayImage);
truesize
I brought this up to the Mathworks team and they told me to use a scrollpanel if I wanted to show an image pixel-for-pixel. See attached demo.
2 commentaires
Image Analyst
le 22 Avr 2015
I don't know about any of that. Since you have a version of MATLAB within a year old, you should still have tech support so call them. But before that, just try downloading R2015a. It now has imshow() built in to base MATLAB, though it should have worked with R2014b since you have the Image Processing Toolbox.
Voir également
Catégories
En savoir plus sur Image Processing Toolbox dans Help Center et File Exchange
Produits
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!