X
PrevPrev Go to previous topic
NextNext Go to next topic
Last Post 10 Aug 2015 10:48 AM by  anon
DOIT Routine for Rotating Images
 1 Replies
Sort:
You are not authorized to post a reply.
Author Messages

anon



New Member


Posts:
New Member


--
10 Aug 2015 10:48 AM
    Is there a 'doit' routine for rotating images by a specific angle? I know the capability exists through the 'Rotate/Flip Data' tool. (Basic Tools -> Rotate/Flip Data). This tool allows the user to input an angle that the image should be rotated. However, the 'ROTATE_DOIT' routine does not take an angle as an input. It looks like the only options for rotation here is to use the ROT_TYPE keyword which only allows for rotations that are multiples of 90 degrees, not any other angles. Is there another 'doit' that allows for this?

    Deleted User



    Basic Member


    Posts:228
    Basic Member


    --
    10 Aug 2015 05:39 PM
    I'm afraid that there is not another DOIT routine that allows users to specify any rotation angle. I also checked the newer ENVI API. DOIT routines are part of the ENVI Classic API and there is a newer API that uses the concept of ENVI Tasks instead of DOIT routines. But I don't see a routine in that API that allows for image rotation. - Peg Exelis VIS
    You are not authorized to post a reply.