[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: how to see images at original size
From: |
Michael Goffioul |
Subject: |
Re: how to see images at original size |
Date: |
Mon, 21 Jul 2008 13:19:54 +0200 |
What is your image size and what are X/Y limits after
the axis([...]) call? (use get(gca, 'xlim') and get(gca, 'ylim'))
Michael.
On Mon, Jul 21, 2008 at 11:34 AM, bharat pathak <address@hidden> wrote:
> both the ideas did not work.
>
> --------------------------------------------------
> From: "Michael Goffioul" <address@hidden>
> Sent: Monday, July 21, 2008 1:12 PM
> To: "bharat pathak" <address@hidden>
> Cc: <address@hidden>
> Subject: Re: how to see images at original size
>
>> On Mon, Jul 21, 2008 at 7:16 AM, bharat pathak <address@hidden> 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 due to the auto-scaling of the axis. Try to call
>> "axis image" (but I'm not sure it'll work as expected
>> in 3.0.1).
>>
>> Otherwise, if you know the size of your image, then
>> you can still call "axis([1 width 1 height])" to get more
>> or less the same effect.
>>
>> Michael.
>>
>>
>> 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
>>
>>
>>
>