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_compsel_perm◀  rep_rde_npr_permutation_list2index    |    rep_rde_compsel_perm_index2list  ▶

rep_rde_compsel_perm

Arguments:

  • total_selection,number_of_item,(_axis={x|y|z})    or
  • number_of_item,total_selection,(_axis={x|y|z})

Description:

Return all arrangements of total_selection items over number_of_item types

where each type appears at least once. By default, outputs an image.
Note: If _axis is not x,y,or z, then returns quantity only.
Code generated by ChatGPT and Claude, guided by Reptorian. Rigorously tested and works.
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.