# Image Shifting

**URL:** <https://psychtoolbox.discourse.group/t/image-shifting/1643>\
**Category:** Uncategorized\
**Created:** [June 13, 2006, 1:37am UTC](https://psychtoolbox.discourse.group/t/image-shifting/1643 "2006-06-13T01:37:24Z")\
**Posts on this page:** 3\
**Page:** 1

<div class="post-metadata">

**Author:** ![harshilshah83](https://avatars.discourse-cdn.com/v4/letter/h/898d66/32.png) [@harshilshah83](https://psychtoolbox.discourse.group/u/harshilshah83)\
**Post date:** [June 13, 2006, 1:37am UTC](https://psychtoolbox.discourse.group/t/image-shifting/1643/1 "2006-06-13T01:37:24Z")

</div>

Hey guys,

&nbsp;

&nbsp;

I am using Matlab 6.5, OS-Windows.

I want to shift one image continuously from left to right.and this image shift I want to se through a onscreen window. How can I create a transparent window using Screen command and also how can I shift the image continuosly....

Plzz someone help me abt this problem.

&nbsp;

Thanks,

Harshil

\_\_\_\_\_\_\_\_\_\_\_\_\_\_\_\_\_\_\_\_\_\_\_\_\_\_\_\_\_\_\_\_\_\_\_\_\_\_\_\_\_\_\_\_\_\_\_\_\_\_  
Do You Yahoo!?  
Tired of spam? Yahoo! Mail has the best spam protection around   
http://mail.yahoo.com

---

<div class="post-metadata">

**Author:** ![Allen\_Ingling](https://avatars.discourse-cdn.com/v4/letter/a/a183cd/32.png) [@Allen\_Ingling](https://psychtoolbox.discourse.group/u/Allen_Ingling)\
**Post date:** [June 14, 2006, 8:25am UTC](https://psychtoolbox.discourse.group/t/image-shifting/1643/2 "2006-06-14T08:25:14Z")

</div>

Hi,  
  
I once made something that does a similar thing. Modified it a bit   
for you and I put it here:  
  
[http://www.ronaldvdberg.nl/temp/movingim.zip](http://www.ronaldvdberg.nl/temp/movingim.zip)  
  
It can be optimized in several ways, but i think this does more or   
less what you want.  
  
Regards,  
Ronald vd Berg  
  
--- In [psychtoolbox@yahoogroups.com](mailto:psychtoolbox@yahoogroups.com), harshil shah   
\<harshilshah83@...\> wrote:  

> \>  
> \> Hey guys,  
> \>   
> \>   
> \> I am using Matlab 6.5, OS-Windows.  
> \> I want to shift one image continuously from left to right.and

this image shift I want to se through a onscreen window. How can I   
create a transparent window using Screen command and also how can I   
shift the image continuosly....  

> \> Plzz someone help me abt this problem.  
> \>   
> \> Thanks,  
> \> Harshil  
> \>   
> \> \_\_\_\_\_\_\_\_\_\_\_\_\_\_\_\_\_\_\_\_\_\_\_\_\_\_\_\_\_\_\_\_\_\_\_\_\_\_\_\_\_\_\_\_\_\_\_\_\_\_  
> \> Do You Yahoo!?  
> \> Tired of spam? Yahoo! Mail has the best spam protection around   
> \> [http://mail.yahoo.com](http://mail.yahoo.com)  
> \>

---

<div class="post-metadata">

**Author:** ![harshilshah83](https://avatars.discourse-cdn.com/v4/letter/h/898d66/32.png) [@harshilshah83](https://psychtoolbox.discourse.group/u/harshilshah83)\
**Post date:** [June 14, 2006, 2:52pm UTC](https://psychtoolbox.discourse.group/t/image-shifting/1643/3 "2006-06-14T14:52:49Z")

</div>

Thanks Ronald..I really appreciate you work...but if I want to include a window on the screen such that I can see the object passing through that window or a slit so that I can see part of image at a time.

&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; I just wonder how can I impose a scrren on top such tht its has a transparent window from which I can see the image moving..

&nbsp;

---Harshil  
  
**_rnldvndnbrg \<rnldvndnbrg@...\>_** wrote:

> > Hi,  
> >   
> > I once made something that does a similar thing. Modified it a bit   
> > for you and I put it here:  
> >   
> > [http://www.ronaldvd berg.nl/temp/ movingim. zip](http://www.ronaldvdberg.nl/temp/movingim.zip)  
> >   
> > It can be optimized in several ways, but i think this does more or   
> > less what you want.  
> >   
> > Regards,  
> > Ronald vd Berg  
> >   
> > --- In [psychtoolbox@ yahoogroups. com](mailto:psychtoolbox%40yahoogroups.com), harshil shah   
> > \<harshilshah83@ ...\> wrote:  
> > \>  
> > \> Hey guys,  
> > \>   
> > \>   
> > \> I am using Matlab 6.5, OS-Windows.  
> > \> I want to shift one image continuously from left to right.and   
> > this image shift I want to se through a onscreen window. How can I   
> > create a transparent window using Screen command and also how can I   
> > shift the image continuosly. ...  
> > \> Plzz someone help me abt this problem.  
> > \>   
> > \> Thanks,  
> > \> Harshil  
> > \>   
> > \> \_\_\_\_\_\_\_\_\_\_\_\_ \_\_\_\_\_\_\_\_\_ \_\_\_\_\_\_\_\_\_ \_\_\_\_\_\_\_\_\_ \_\_\_\_\_\_\_\_\_ \_\_  
> > \> Do You Yahoo!?  
> > \> Tired of spam? Yahoo! Mail has the best spam protection around   
> > \> [http://mail. yahoo.com](http://mail.yahoo.com/)  
> > \>
> 
>   
> 
> \_\_\_\_\_\_\_\_\_\_\_\_\_\_\_\_\_\_\_\_\_\_\_\_\_\_\_\_\_\_\_\_\_\_\_\_\_\_\_\_\_\_\_\_\_\_\_\_\_\_  
> Do You Yahoo!?  
> Tired of spam? Yahoo! Mail has the best spam protection around   
> http://mail.yahoo.com
