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_random_rectangular_division◀  rep_mt_f32v_map    |    rep_custom_map  ▶

rep_random_rectangular_division

Arguments:

  • split>1,_additional_thickness>=0,_max_iter>=2,_probability[%]>0,_loop_limit>1,0<=_border[%]>=100%,_seed,_normalize,border_color,palette_mode

Description:

Generate random division of rectangle as in random number of division and varying thickness within rectangle.

_additional_thickness refers to the excess pixel thickness.
_max_iter limits the number of iterations per rectangle.
_probability determines the probability that a rectangle will be permitted to be utilized for further iteration.
_loop_limit limits the number of time the process of subdivision is done.
_seed generates the output based on defined parameter.

Default values:

_gen_thick=0,_max_iter=5,_probability[%]=95%,_loop_limit=5000,_border=0%,_seed=n/a

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.