comp.lang.idl-pvwave archive
Messages from Usenet group comp.lang.idl-pvwave, compiled by Paulo Penteado

Home » Public Forums » archive » shifting individual pixels within an image
Show: Today's Messages :: Show Polls :: Message Navigator
E-mail to friend 
Switch to threaded view of this topic Create a new topic Submit Reply
shifting individual pixels within an image [message #70740] Mon, 03 May 2010 00:56
barbis is currently offline  barbis
Messages: 2
Registered: May 2010
Junior Member
Hello all,

pleaseplease help me!
Quite new on idl and just wondering is there a simple way to move
individual pixels within an image?

For example a function

output = indishift(input, tx,ty)

where input,tx and ty are same size arrays and e.g if in pixel
location (30,30) tx has a value 5 and ty has a value 0, then output
has the same value on (30,30) as the input image PLUS the pixel value
from input image (35,30).

So tx contains the shifts in x direction and ty in y direction.

Thanks alot for any help!!!
  Switch to threaded view of this topic Create a new topic Submit Reply
Previous Topic: Re: Closing a widget nicely
Next Topic: How to reverse the axis

-=] Back to Top [=-
[ Syndicate this forum (XML) ] [ RSS ] [ PDF ]

Current Time: Wed Oct 08 13:56:45 PDT 2025

Total time taken to generate the page: 0.00368 seconds