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

Home » Public Forums » archive » Re: Fractional SHIFT - Typo!
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
Re: Fractional SHIFT - Typo! [message #28347] Mon, 03 December 2001 15:50
Dick Jackson is currently offline  Dick Jackson
Messages: 347
Registered: August 1998
Senior Member
Sorry, folks, one little typo spoils the whole demo.

That should read:

=====

For fun, see an image scroll *very* smoothly around itself (1/10 of a pixel
per step) with:

file = FILEPATH('rose.jpg', SUBDIR=['examples', 'data'])
READ_JPEG, file, r ;<===== fixed
for i=0,100 do tv,/true,fracshift(r,[0,i*10/100.,i*10/100.])

... then for a strange spin through colour-space (which I dedicate to the
dear, late George Harrison), try:

for i=0,100 do tv,/true,fracshift(r,[i*3/100.,0,0])

(while watching this I was put in the mind of "Within You Without You" from
Sgt. Pepper)

=====

Cheers,
--
-Dick

Dick Jackson / dick@d-jackson.com
D-Jackson Software Consulting / http://www.d-jackson.com
Calgary, Alberta, Canada / +1-403-242-7398 / Fax: 241-7392
  Switch to threaded view of this topic Create a new topic Submit Reply
Previous Topic: IDL versus MATLAB : could you help me ?????
Next Topic: DICOM writer

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

Current Time: Wed Oct 08 19:17:35 PDT 2025

Total time taken to generate the page: 0.00566 seconds