Synopsis
HxImageRep HxNorm2Sqr (HxImageRep img)
Return value
HxImageRep
Description
The function HxNorm2Sqr takes the squared Euclidian norm of every pixel value in the input image and stores it in the corresponding pixel of the output image. The squared Euclidian norm of a scalar equals square of the scalar itself, while the squared Euclidian norm of a vector equals the sum of the squared values of the components of the vector. If the input is a vector image containing HxBytes, the output image is of the integer type.
Remarks
Keywords
Unary, Norm, Arithmetic,