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_mj_pseudorandom_noise◀  rep_hsx_poster_index    |    rep_diffusion_limited_aggregation  ▶

rep_mj_pseudorandom_noise

Arguments:

  • _k1,_k2,_internal_shift,_ang,_px_size,_cx,_cy,_color_output,_kmode,_grid,_gridcol,_axis_thickness

Description:

Render regular noise. Filter is a extended version of MadJik's Regular Noise PDN plugin and based off MadJik's code. The G'MIC version has been extended.

(equivalent to shortcut command rep_mj_prn).


_k1 defines value for k-1
_k2 defines value for k-2
_internal_shift shift rows based on this value. The more, the more distortion there will be.
_ang defines the color/shade angle.
_px_size defines how big the pixels are.
_cx refers to the x-position of center based on world coordinate of -1,1
_cy refers to the y-position of center based on world coordinate of -1,1
_color_output is the function used to color the output.
_kmode defines how the noise will be processed.
_grid option is used to whether to output a grid.
_gridcol defines the value of grid. Only gray color is supported.
_axis_thickness defines whether the axis has 2 pixel instead of 1.

Default values:

_k1=8,_k2=2,_internal_shift=1,_ang=0,_px_size=1,_cx=0,_cy=0,_coloroutput=1,_grid=0,_gridcol=0,'_axis_thickness=0'

Author: Reptorian.

Examples of use:

• Example #1

512,512 rep_mj_pseudorandom_noise 8,2,1,95,4,0,0,1,0,,,0

Command: 512,512 rep_mj_pseudorandom_noise 8,2,1,95,4,0,0,1,0,,,0

• Example #2

1024,1024 rep_mj_pseudorandom_noise 34,2,30,95,4,0,0,2

Command: 1024,1024 rep_mj_pseudorandom_noise 34,2,30,95,4,0,0,2
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.