Synopsis
HxImageRep HxUnarySum (HxImageRep img)
Return value
HxImageRep
Description
The function HxUnarySum takes the unary sum of every pixel value in the input image and stores it in the corresponding pixel of the output image. The unary sum of a scalar equals the scalar itself, while the unary sum of a vector equals the sum of the components of the vector. If the input is a vector image containing HxBytes, the output image is of the integer type. If the input is a scalar image, this function returns the same image.
Remarks
Keywords
Unary, Arithmetic,