HDK
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Friends Macros Groups Pages
(rotate in 90 degree increments)

Functions

ImageBuf OIIO_API ImageBufAlgo::rotate90 (const ImageBuf &src, ROI roi={}, int nthreads=0)
 
ImageBuf OIIO_API ImageBufAlgo::rotate180 (const ImageBuf &src, ROI roi={}, int nthreads=0)
 
ImageBuf OIIO_API ImageBufAlgo::rotate270 (const ImageBuf &src, ROI roi={}, int nthreads=0)
 
bool OIIO_API ImageBufAlgo::rotate90 (ImageBuf &dst, const ImageBuf &src, ROI roi={}, int nthreads=0)
 
bool OIIO_API ImageBufAlgo::rotate180 (ImageBuf &dst, const ImageBuf &src, ROI roi={}, int nthreads=0)
 
bool OIIO_API ImageBufAlgo::rotate270 (ImageBuf &dst, const ImageBuf &src, ROI roi={}, int nthreads=0)
 

Detailed Description

Return (or copy into dst) a rotated copy of the image pixels of src, in 90 degree increments. Pictorially:

 rotate90             rotate180            rotate270
-----------          -----------          -----------
AB  -->  CA          AB  -->  DC          AB  -->  BD
CD       DB          CD       BA          CD       AC

Function Documentation

ImageBuf OIIO_API ImageBufAlgo::rotate180 ( const ImageBuf src,
ROI  roi = {},
int  nthreads = 0 
)
bool OIIO_API ImageBufAlgo::rotate180 ( ImageBuf dst,
const ImageBuf src,
ROI  roi = {},
int  nthreads = 0 
)
ImageBuf OIIO_API ImageBufAlgo::rotate270 ( const ImageBuf src,
ROI  roi = {},
int  nthreads = 0 
)
bool OIIO_API ImageBufAlgo::rotate270 ( ImageBuf dst,
const ImageBuf src,
ROI  roi = {},
int  nthreads = 0 
)
ImageBuf OIIO_API ImageBufAlgo::rotate90 ( const ImageBuf src,
ROI  roi = {},
int  nthreads = 0 
)
bool OIIO_API ImageBufAlgo::rotate90 ( ImageBuf dst,
const ImageBuf src,
ROI  roi = {},
int  nthreads = 0 
)