From: ventus85 on
This is my file ImgMask:

img=imread(imgOR);
figure();
imshow(img);
pos=zeros(n,2);
pos=ginput(n)

imgOR is 2400x1800

My output is:

Warning: Image is too big to fit on screen; displaying at 42% scale.
> In truesize>Resize1 at 308
In truesize at 44
In imshow at 161
In ImgMask at 9

pos =

1.0e+003 *

0.4078 0.3855
1.4138 0.4529
0.6607 1.5151
1.4700 1.5207

But I need the true values, not the scaled values.
How can I do?
Thanks.
From: Oliver Woodford on
"ventus85 " <ventus85(a)katamail.com> wrote in message <hoe5i6$74r$1(a)fred.mathworks.com>...
> This is my file ImgMask:
>
> img=imread(imgOR);
> figure();
> imshow(img);
> pos=zeros(n,2);
> pos=ginput(n)
>
> imgOR is 2400x1800
>
> My output is:
>
> Warning: Image is too big to fit on screen; displaying at 42% scale.
> > In truesize>Resize1 at 308
> In truesize at 44
> In imshow at 161
> In ImgMask at 9
>
> pos =
>
> 1.0e+003 *
>
> 0.4078 0.3855
> 1.4138 0.4529
> 0.6607 1.5151
> 1.4700 1.5207
>
> But I need the true values, not the scaled values.
> How can I do?
> Thanks.

Use normalized units and multiply by the image size.
From: ventus85 on
> Use normalized units and multiply by the image size.

Where?
Thanks.
From: ventus85 on
I think I'v solved.
Thanks.
From: Rj Law on
"ventus85 " <ventus85(a)katamail.com> wrote in message <hofsm0$mas$1(a)fred.mathworks.com>...
> I think I'v solved.
> Thanks.

Care to fills us in on how to solve this issue?

Thanks
 | 
Pages: 1
Prev: Fitting data
Next: Exposing Variables to Callbacks