DIPlib Documentation - ©1995-2017 Quantitative Imaging Group, Delft University of Technology.

NormaliseSum

Normalise the sum of the pixel values

SYNOPSIS

#include "dip_manipulation.h"

dip_Error dip_NormaliseSum ( in, out, newSum )

DATA TYPES

binary, integer, float

FUNCTION

This function normalizes the sum of the pixel values in in to newSum, and puts the result in out.

ARGUMENTS

Data typeNameDescription
dip_ImageinInput image
dip_ImageoutOutput image
dip_floatnewSumNew sum