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

Home » Public Forums » archive » Is it possible to rotate a flipped image with cgImage?
Show: Today's Messages :: Show Polls :: Message Navigator
E-mail to friend 
Return to the default flat view Create a new topic Submit Reply
Re: Is it possible to rotate a flipped image with cgImage? [message #88850 is a reply to message #88847] Wed, 25 June 2014 07:11 Go to previous messageGo to previous message
Matthew Argall is currently offline  Matthew Argall
Messages: 286
Registered: October 2011
Senior Member
As Mats pointed out, I forgot one line before...

IDL> flipIm = reverse(im, 2)

The following requires a 2D image, but it will do what you want. For 3D images, it would probably be easiest to use the Image() function.

cgLoadCT, 13
cgshade_surf, bytarr(227,149), indgen(227), indgen(149), SHADES=bytscl(dist(227,149)), ROTZ=60, ROTX=90, XSTYLE=5, YSTYLE=5, ZSTYLE=5
[Message index]
 
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Previous Topic: Output matrix from Wavelet Toolkit 3D Wavelet Power Spectrum
Next Topic: A case for lookarounds in StRegEx()

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

Current Time: Fri Oct 10 20:42:49 PDT 2025

Total time taken to generate the page: 0.71646 seconds