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_diffusion_limited_aggregation◀  rep_mj_pseudorandom_noise    |    rep_blur_splinter  ▶

rep_diffusion_limited_aggregation

Arguments:

  • _attempts>1,_mode,0<=_spread_factor<=1,_stem_color={ 0=dark | 1=light },_border,_initial_point_mode={ 0=less_dense | 1=more_dense },_preserve_silhouette={ 0=maskless | 1=mask }

Description:

Generate Diffusion Limited Aggregation

(equivalent to shortcut command rep_dla).


 
_attempts defines how much attempts on filling the aggregation form before finishing.
_mode defines how particles aggregate on the aggregation form.
_spread_factor defines how much times a particle will be created upon appending. The algorithm for this may not be the correct implementation, but it works for what it describes.
_stem_color defines where the aggregation form will fill on.
_border is only applicable if there is a planting seed map. It is used to limit particles based on proximity away from existing structure.
_initial_point_mode defines whether to use less dense or more dense point coordinates map.
_preserve_silhouette is only applicable on images with variance.
 
Author: Reptorian.

Default values:

_attempts=100,_mode=0,_spread_factor=0,_stem_color=0,_border=0,_initial_point_mode=0,_preserve_silhouette=1

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.