bharat pathak wrote:
Hello all,
I am using octave 3.0.1 with jhandles as the graphics
backend.
a = imread('lena.bmp');
imshow(double (a )/256);
This does not show me the image with original scale.
It shows me with reduced size, maybe 60% of original
size.
How to see the image in octave at the same 100% size.
(without any scaling internally done).
This is because the axis is automatically scaled within the figure space.
This won't take into account the size of your monitor (which could make
the image hard to work with), but something like this should work
(untested, but probably close):
a = imread("lena.bmp");
imshow(double(a)/256);
s = size(a)(1:2);
set(gcf, "position", [50 50 s*1.1])
set(gca, "position", [.05 .05 .9 .9])
You may also need to toss in an "axis image", but I think that imshow
takes care of that.
Hopefully that helps.
Have a good day,
Bill
No virus found in this incoming message.
Checked by AVG - http://www.avg.com Version: 8.0.138 / Virus Database:
270.5.3/1563 - Release Date: 20-07-2008 12:59