HDK
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Friends Macros Groups Pages
(Maximum / minimum of channels)

Functions

ImageBuf OIIO_API ImageBufAlgo::maxchan (const ImageBuf &A, ROI roi={}, int nthreads=0)
 
bool OIIO_API ImageBufAlgo::maxchan (ImageBuf &dst, const ImageBuf &A, ROI roi={}, int nthreads=0)
 
ImageBuf OIIO_API ImageBufAlgo::minchan (const ImageBuf &src, ROI roi={}, int nthreads=0)
 
bool OIIO_API ImageBufAlgo::minchan (ImageBuf &dst, const ImageBuf &src, ROI roi={}, int nthreads=0)
 

Detailed Description

maxchan() computes a one-channel image that for each pixel, contains the maximum value of all channels of corresponding pixel of the source image. minchan() similarly computes the minimum value of all channels.

Version
2.3.10

Function Documentation

ImageBuf OIIO_API ImageBufAlgo::maxchan ( const ImageBuf A,
ROI  roi = {},
int  nthreads = 0 
)
bool OIIO_API ImageBufAlgo::maxchan ( ImageBuf dst,
const ImageBuf A,
ROI  roi = {},
int  nthreads = 0 
)
ImageBuf OIIO_API ImageBufAlgo::minchan ( const ImageBuf src,
ROI  roi = {},
int  nthreads = 0 
)
bool OIIO_API ImageBufAlgo::minchan ( ImageBuf dst,
const ImageBuf src,
ROI  roi = {},
int  nthreads = 0 
)