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

A Full-Featured Open-Source Framework for Image Processing



Latest stable version: 4.0.4 (2026/08/19)

Reference
Table of Contents  ▸  List of Commands  ▸  Reptorian's Commands  ▸  rep_sum_permutations◀  rep_inc_combination_list2index    |    rep_sum_permutation_index2list  ▶

rep_sum_permutations

Arguments:

  • limit>=0,size>0,(_axis={x|y|z})

Description:

Create a image representing every possible fixed-size vector which sum of non-negative integers is up to integer limit.

Note: If _axis is not x,y,or z, then returns quantity only.
Author: Reptorian.
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.