Image.normalizeTo Method

Module: Image

Definition

Normalizes the image values to the specified range.

The function scales and shifts the image pixel values to fit within [low, high] range.

Values are clipped to this range using NORM_MINMAX normalization.

void normalizeTo(double low, double high, Image dstImage)

Parameters

low double
in Lower boundary of the output range.

high double
in Upper boundary of the output range.

dstImage Image
in The destination Image that receives the normalized image.

Exceptions

An error has occurred during Face Library execution.