Skip to content

Commit

Permalink
Update src/include/OpenImageIO/imagebufalgo.h
Browse files Browse the repository at this point in the history
Signed-off-by: Larry Gritz <[email protected]>
  • Loading branch information
lgritz authored Dec 1, 2024
1 parent b7eef84 commit bb7824f
Showing 1 changed file with 7 additions and 3 deletions.
10 changes: 7 additions & 3 deletions src/include/OpenImageIO/imagebufalgo.h
Original file line number Diff line number Diff line change
Expand Up @@ -953,10 +953,14 @@ ImageBuf OIIO_API abs (const ImageBuf &A, ROI roi={}, int nthreads=0);
bool OIIO_API abs (ImageBuf &dst, const ImageBuf &A, ROI roi={}, int nthreads=0);


/// Compute per-pixel product `A * B`, returning the result image.
/// Compute per-pixel product `A * B`, returning the result image. At least
/// one of `A` and `B` must be a single channel image, whose value is used to
/// scale all channels of the other image.
///
/// @param options
/// Optional ParamValue's that may control the reconstruction.
/// (Reserved for future expansion.)
///
/// All channels of one of the images get multiplied by the value in the only channel of the other image.
/// Either `A` or `B` must be a single channel image.
ImageBuf OIIO_API scale (const ImageBuf &A, const ImageBuf &B,
KWArgs options = {}, ROI roi={}, int nthreads=0);
/// Write to an existing image `dst` (allocating if it is uninitialized).
Expand Down

0 comments on commit bb7824f

Please sign in to comment.