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_rde_combinations◀  rep_rde_permutation_list2index    |    rep_rde_combination_index2list  ▶

rep_rde_combinations

Arguments:

  • selected_count,item_0_count>=1,item_1_count>=1,...,(_axis={x|y|z})

Description:

Generates all possible combinations of repeated distinct elements of different counts, and the total number of elements is equal to the selected_count.

 
Note: If _axis is not a number of one of the following chars (x,y,z), then it returns product of items_counts.

Default values:

_axis=x

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.