G'MIC - GREYC's Magic for Image Computing: A Full-Featured Open-Source Framework for Image Processing
GREYC CNRS ENSICAEN UNICAEN

A Full-Featured Open-Source Framework for Image Processing



Latest stable version: 3.4.3 (2024/10/11)

Reference

Table of Contents  ▸  List of Commands  ▸  Values Manipulation  ▸  rand_sum◀  rand    |    replace  ▶

rand_sum

Arguments:

Description:

Fill selected images with strictly positive, random, integer values, that sums to sum.

For each image, sum must be greater or equal than width*height*depth*spectrum.

Default values:

random_function=u.

Example of use:

100 rand_sum 1000

Command: 100 rand_sum 1000
G'MIC - GREYC's Magic for Image Computing: A Full-Featured Open-Source Framework for Image Processing

G'MIC is an open-source software distributed under the CeCILL free software licenses (LGPL-like and/or
GPL-compatible). Copyrights (C) Since July 2008, David Tschumperlé - GREYC UMR CNRS 6072, Image Team.