From: zhang on
The image size is m*n, there is a pixel with position (x, y) in this image.

Now I resize this image to 2m*2n. what's the corresponding pixel to (x, y) of the m*n image?

Thanks in advanced.
From: us on
"zhang " <xiaoc10(a)gmail.com> wrote in message <hre9jc$5c2$1(a)fred.mathworks.com>...
> The image size is m*n, there is a pixel with position (x, y) in this image.
>
> Now I resize this image to 2m*2n. what's the corresponding pixel to (x, y) of the m*n image?
>
> Thanks in advanced.

looks like 2*x and 2*y would be a good place to start with...

us
 | 
Pages: 1
Prev: Failure starting Matlab
Next: C Mex files