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_square_rectangle_texture◀  rep_random_square_rectangle_artistic    |    rep_graduated_filter  ▶

rep_random_square_rectangle_texture

Arguments:

  • square_dimension>0,_rectangle_max_length_1>0,_rectangle_max_length_2>0,_frequency_of_rectangle>0,_erode,_output={ 0=none | 1=filled_gray | 2=filled_line | 3=labeled_filled_line },_reduce_nonrectangles={ 0=do_not_reduce_nonrectagles | 1=reduce_nonrectangles },_seed

Description:

Create a texture with aligned rectangle and squares.

(equivalent to shortcut command rep_rand_sqrrectex).


Note: _reduce_nonrectangles cannot be used to completely clear vectors of nonrectangle due to the algorithm provided, and no solution in context of vector exist as of now.

Default values:

_rectangle_max_length=1,_rectangle_max_length=2,_frequency_of_rectangle=1,_erode=0,_output=2,_reduce_nonrectangles,_seed=

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.