Skip to content

Commit bb7824f

Browse files
authored
Update src/include/OpenImageIO/imagebufalgo.h
Signed-off-by: Larry Gritz <[email protected]>
1 parent b7eef84 commit bb7824f

File tree

1 file changed

+7
-3
lines changed

1 file changed

+7
-3
lines changed

src/include/OpenImageIO/imagebufalgo.h

Lines changed: 7 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -953,10 +953,14 @@ ImageBuf OIIO_API abs (const ImageBuf &A, ROI roi={}, int nthreads=0);
953953
bool OIIO_API abs (ImageBuf &dst, const ImageBuf &A, ROI roi={}, int nthreads=0);
954954

955955

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

0 commit comments

Comments
 (0)